evanboyle
1fa50398e2
update go.mods to pin to correct version of pb
2020-03-18 17:25:42 -07:00
evanboyle
71926f1af8
update go.mod after moving the language hosts back to /sdk
2020-03-18 17:16:16 -07:00
evanboyle
67f6b72caa
Revert "move sdk/go/pulumi-language-go -> pkg/cmd/pulumi-language-go"
...
This reverts commit 7ea547a14d
.
2020-03-18 17:14:41 -07:00
evanboyle
56c1dd7012
Revert "move sdk/dotnet/cmd/pulumi-language-dotnet -> pkg/cmd/pulumi-language-dotnet"
...
This reverts commit b7ea8198de
.
2020-03-18 17:13:46 -07:00
evanboyle
d93017dbde
Revert "move sdk/nodejs/cmd/pulumi-language-nodejs -> pkg/cmd/pulumi-language-nodejs"
...
This reverts commit a73044247e
.
2020-03-18 17:12:55 -07:00
evanboyle
48250176a1
Revert "move sdk/python/cmd/pulumi-language-python -> pkg/cmd/pulumi-language-python"
...
This reverts commit e2ee46fb23
.
2020-03-18 17:11:56 -07:00
evanboyle
d65c65122f
update builds to handle new go mod layout
2020-03-18 16:41:23 -07:00
evanboyle
5f3af2d71d
dont update go.mod when running get-py-version
2020-03-18 16:32:21 -07:00
evanboyle
be4b523e55
create go.mod for top level packages pkg sdk examples tests
2020-03-18 16:30:44 -07:00
evanboyle
6933745342
move pkg/tools -> sdk/go/common/tools
2020-03-18 15:56:58 -07:00
evanboyle
a4ec3ec81b
move pkg/testing -> sdk/go/common/testing, leave behind pkg/testing/integration
2020-03-18 15:55:41 -07:00
evanboyle
0e9c5989bb
move pkg/util/gitutil -> sdk/go/common/util/gitutil
2020-03-18 15:52:09 -07:00
evanboyle
df722e974a
move pkg/util/archive -> sdk/go/common/util/archive
2020-03-18 15:50:04 -07:00
evanboyle
30e1a5917e
move pkg/util/fsutil -> sdk/go/common/util/fsutil
2020-03-18 15:48:38 -07:00
evanboyle
33e23bdf0c
move pkg/util/retry -> sdk/go/common/util/retry
2020-03-18 15:47:01 -07:00
evanboyle
c1440e48d4
move pkg/util/result -> sdk/go/common/util
2020-03-18 15:45:42 -07:00
evanboyle
fa348ceb1b
move pkg/util/ciutil -> sdk/go/common/util/ciutil
2020-03-18 15:43:31 -07:00
evanboyle
c1d3a8524b
move pkg/util/cmdutil -> sdk/go/common/util/cmdutil
2020-03-18 15:39:00 -07:00
evanboyle
7ff46cb4fa
move pkg/util/rpcutil -> sdk/go/common/util/rpcutil
2020-03-18 15:37:13 -07:00
evanboyle
c3f6ae2451
move pkg/util/logging -> sdk/go/common/util/logging
2020-03-18 15:34:58 -07:00
evanboyle
cdfb8608c9
move pkg/encoding -> sdk/go/common/encoding
2020-03-18 15:28:19 -07:00
evanboyle
30df499838
move pkg/version -> sdk/go/common/version
2020-03-18 15:25:25 -07:00
evanboyle
8df534a71e
move pkg/diag -> sdk/go/common/diag
2020-03-18 15:09:29 -07:00
evanboyle
f754b486b8
move pkg/resource/config -> sdk/go/common/resource/config
2020-03-18 15:03:37 -07:00
evanboyle
67cb405c93
move pkg/apitype -> sdk/common/apitype
2020-03-18 15:00:30 -07:00
evanboyle
70f386a967
move pkg/tokens -> sdk/go/common/tokens
2020-03-18 14:49:56 -07:00
evanboyle
4fe4d48ec5
move pkg/util/mapper -> sdk/go/common/util/mapper
2020-03-18 14:47:37 -07:00
evanboyle
8a87090068
move pkg/util/httputil -> sdk/go/common/util/httputil
2020-03-18 14:45:00 -07:00
evanboyle
fccf301d14
move pkg/util/contract -> sdk/go/common/util/contract
2020-03-18 14:40:07 -07:00
evanboyle
8fb3f428b0
move pkg/workspace -> sdk/go/common/workspace
2020-03-18 14:35:53 -07:00
evanboyle
dfab571aac
move pkg/resource/plugin -> sdk/go/common/resource/plugin
2020-03-18 14:26:24 -07:00
evanboyle
50c72e194c
remove reference to ./cmd/... in build scripts
2020-03-18 13:37:35 -07:00
evanboyle
fba783caf9
move pkg/resource -> sdk/go/common/resource, but leave nested resource packages
2020-03-18 13:36:19 -07:00
evanboyle
7ea547a14d
move sdk/go/pulumi-language-go -> pkg/cmd/pulumi-language-go
2020-03-18 12:49:56 -07:00
evanboyle
b7ea8198de
move sdk/dotnet/cmd/pulumi-language-dotnet -> pkg/cmd/pulumi-language-dotnet
2020-03-18 12:45:33 -07:00
evanboyle
6552df7139
fix python sdk Makefile, use common pkg/version.go
2020-03-18 12:33:18 -07:00
evanboyle
a73044247e
move sdk/nodejs/cmd/pulumi-language-nodejs -> pkg/cmd/pulumi-language-nodejs
2020-03-18 12:25:07 -07:00
evanboyle
e2ee46fb23
move sdk/python/cmd/pulumi-language-python -> pkg/cmd/pulumi-language-python
2020-03-18 10:19:22 -07:00
evanboyle
a2085dc303
move cmd -> pkg/cmd
2020-03-18 09:03:00 -07:00
Praneet Loke
cfcfad2f3c
Fixes for resource docs generator ( #4085 )
...
* Generate the constructor params for Python along with other languages.
* Remove redundant py_function_param nested template. Declare a new type for defining property characteristics rather than using inlining formal params. Generate the Lookup functions for all languages similar to the constructor params with linking enabled.
* Fix bug with generating the input arg type name for Functions in Go.
* Add prefix for args param of a Go-based Resource Function.
* Input args for Go-based Functions use Lookup*Args and not Get*Args.
* Turns out that args for Go-based Functions use a different prefix based on whether the function is a package-level or module-level Function.
* Update the Python list and dictionary type names for the resource doc generator.
* Add a separate function for Python doc helper return a type string representing dictionaries that are simple maps and don't have a known nested element type.
2020-03-17 13:37:40 -07:00
Levi Blackstone
655839009a
Update Go SDK generator to support k8s ( #4096 )
...
- Add GoInfo struct to improve control of package imports and names
- Fix import recursion bug
- Add support for aliased imports
2020-03-17 14:09:43 -06:00
Levi Blackstone
66126b544e
Test PR 3893 ( #4090 )
...
Upgrade to helm 3 in the docker image
Co-authored-by: Harrison Heck <harrison.heck@gmail.com>
2020-03-17 13:35:33 -06:00
Levi Blackstone
ee62f38ab9
Add ArrayMap builtin types to Go SDK ( #4086 )
...
Add support for maps of arrays of builtin types.
These types are of the form map[string][]builtin.
2020-03-16 20:41:08 -06:00
Levi Blackstone
a2cbd6ea9c
Disable staticcheck linting to work around OOM errors ( #4091 )
2020-03-16 17:41:06 -06:00
Levi Blackstone
ad1c884aad
Fix lint issue ( #4088 )
...
Linter was complaining about possibly nil dereferences,
but these are already checked with an assertion.
2020-03-16 16:45:02 -06:00
Mikhail Shilkov
dbe365376d
Add Stack Transformations to .NET SDK ( #4008 )
...
Stack transformations and integration tests
2020-03-16 17:40:52 +01:00
Luke Hoban
fdd9a57ff8
Implement GetSchema in dynamic providers ( #4083 )
...
It's not entirely clear why gRPC doesn't already report these cleanly as unimplemented, but for now we'll explicitly implement them to avoid any spurious warnings.
Fixes #4028 .
2020-03-15 15:36:08 -07:00
Tasia Halim
b6e5d2737d
Update Go logging to use LogArgs ( #4078 )
2020-03-13 13:30:05 -07:00
Pat Gavlin
8111d33438
Shorten Python package descriptions. ( #4068 )
...
These descriptions should only be one line, and should not contain markdown.
2020-03-12 21:43:54 -07:00
Luke Hoban
9da774e180
Fix Python mocks ( #4074 )
...
The original version of this code caused inconsistencies in the event
loop associated with a given thread. These changes elimintate the event
loop shenanigans the mocks were trying to play by updating _sync_await
to create an event loop if none exists in the current thread.
It's possible that this will cause problems if the tests run on a
different thread than the original program, as the tests are likely to
end up waiting on outputs created by the program, which is not supported
in Python.
Also adds test coverage of the mocking/testing support in Python.
2020-03-12 21:09:47 -07:00