Evan Boyle
f50fd69c10
Define merge behavior for go resource options ( #4316 )
2020-04-07 14:19:33 -07:00
Evan Boyle
ab659aa0c1
Reimplement getRequiredPlugins for go sdk ( #4297 )
2020-04-06 12:30:40 -07:00
Luke Hoban
9e37741916
[Go] Ensure Apply handles nil
output values ( #4268 )
...
Fixes #4247 .
2020-04-01 17:39:01 -07:00
Evan Boyle
8a8f424628
disable go plugin acquisition ( #4257 )
2020-03-31 23:00:35 -07:00
Luke Hoban
dd9ed3c938
Support grpc-js plugin servers ( #4253 )
...
In order to support grpc-js gRPC servers, we need to slightly loosen
our checks on plugin readiness. This change was already in the 2.x
branch, but porting back so that 1.x CLIs can also be compatible.
Fixes #4252 .
2020-03-31 14:18:09 -07:00
stack72
a1af9289c3
Move BuildUtil class to sdk
...
This was still in pkg and wasn't accessible from the scripts location.
This code should be in the go/common location of sdk so that it can be
accessed from within our build scripts
Without this change, we were not able to get access to the Version number
for Python and none of our Python builds have been publishing binaries
2020-03-31 12:07:24 +01:00
Justin Van Patten
e6be38e285
PaC: Add initial config support for policy packs ( #4233 )
...
The initial config represents any config that was specified programmatically to the Policy Pack, for Policy Packs that support programmatic configuration like AWSGuard.
2020-03-30 12:52:05 -07:00
Tasia Halim
4afaf37b3a
fixed bug
2020-03-27 10:25:06 -07:00
Evan Boyle
80f1989600
Removing the need for vendoring ( #4167 )
2020-03-25 15:57:46 -07:00
Evan Boyle
2408d34c71
Add missing builtin MapArray to the Go SDK ( #4144 )
2020-03-20 16:51:33 -07:00
Evan Boyle
c28c602247
capture std err when getting required plugins for go ( #4141 )
...
* capture std err when getting required plugins for go
2020-03-20 14:59:12 -07:00
evanboyle
163444bce6
disable logging test
2020-03-19 14:45:03 -07:00
evanboyle
fa47d867fd
fix go sdk makefile to run tests
2020-03-19 14:10:48 -07:00
evanboyle
a2b368827f
fix internal logging usage
2020-03-19 11:45:10 -07:00
evanboyle
31d8f79f35
fix klog initialization
2020-03-19 10:01:10 -07:00
evanboyle
4e44854308
replace glog with klog
2020-03-19 08:56:44 -07:00
evanboyle
ec686bbaf6
Merge branch 'master' of https://github.com/pulumi/pulumi into evan/gomod
2020-03-18 17:57:58 -07:00
evanboyle
29dfd65632
fix resource test data path
2020-03-18 17:36:28 -07:00
evanboyle
bc4e5bf31c
run common tests as a part of go sdk make
2020-03-18 17:32:27 -07:00
evanboyle
d3f5bbce48
go fmt
2020-03-18 17:27:02 -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
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
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
Evan Boyle
8b46e71887
Go plugin acquisition ( #4060 )
...
These changes implement `GetRequiredPlugins` for Go using a registry
mechanism and an alternate entry point for `pulumi.Run`. Packages that
require plugins are expected to register themselves with the Pulumi SDK.
When `pulumi.Run` is used and the `PULUMI_PLUGINS` envvar is truthy, the
program will dump a JSON-encoded description of its required plugins to
stdout. The language host then uses this description to respond to
2020-03-18 12:41:45 -07: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
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
Tasia Halim
b6e5d2737d
Update Go logging to use LogArgs ( #4078 )
2020-03-13 13:30:05 -07:00
Tasia Halim
ef6f0d4de4
Expose engine logging to Go SDK ( #4069 )
...
* expose engine logging to Go SDK
* added comments
2020-03-12 16:00:59 -07:00