pulumi/sdk/proto/go
Fraser Waters a0e0208dd1
Change parameterization to be bytes based (#16606)
Making this change has a couple of benefits.

Firstly (and honestly the main one) is it make codegen much simpler. We
just to emit a base64 string and/or other embedded byte array to the
generated SDK. Currently we need emit a full `proto.Value` expression
for each language, and that's not hard but it's also not trivial and
means more combinations of things per test per language.

Secondly it will allow providers to use more efficient encodings of
their parameter than JSON if there is one. I imagine some providers
might make the parameter value a protobuf message and parse that
(similar to what we do for transform functions), but they can easily
fallback to just treating the bytes as a JSON string if they want.

The only downside to this is the value is obfuscated in the generated
SDK and in the state file. Neither of those are really expected to be
viewed by users, so this feels like a minor loss.
2024-07-10 11:15:35 +00:00
..
codegen Clean up unused import warnings (#15581) 2024-03-04 13:01:25 +00:00
testing Add SupportPack to schemas to write out in the new style (#15713) 2024-03-22 09:25:46 +00:00
alias.pb.go Support subdirectories in proto 2023-03-05 16:05:58 +00:00
analyzer.pb.go Plumb Remote, Component, and LogicalName into the import plugin system (#15199) 2024-01-24 17:15:30 +00:00
analyzer_grpc.pb.go Plumb Remote, Component, and LogicalName into the import plugin system (#15199) 2024-01-24 17:15:30 +00:00
callback.pb.go Clean up unused import warnings (#15581) 2024-03-04 13:01:25 +00:00
callback_grpc.pb.go Engine support for remote transforms (#15290) 2024-02-21 16:30:46 +00:00
converter.pb.go Clean up unused import warnings (#15581) 2024-03-04 13:01:25 +00:00
converter_grpc.pb.go Add converter plugin 2023-03-09 22:16:21 +00:00
engine.pb.go Plumb Remote, Component, and LogicalName into the import plugin system (#15199) 2024-01-24 17:15:30 +00:00
engine_grpc.pb.go Plumb Remote, Component, and LogicalName into the import plugin system (#15199) 2024-01-24 17:15:30 +00:00
errors.pb.go Support subdirectories in proto 2023-03-05 16:05:58 +00:00
language.pb.go Add not-found markers to missing executables for packagemanagers (#16488) 2024-06-28 23:21:55 +00:00
language_grpc.pb.go Query language runtime for options during “pulumi new” (#16346) 2024-06-17 17:10:55 +00:00
plugin.pb.go Allow language plugins to return plugin checksums (#13776) 2023-08-25 15:26:25 +00:00
provider.pb.go Change parameterization to be bytes based (#16606) 2024-07-10 11:15:35 +00:00
provider_grpc.pb.go Add Paramaterize to provider interface (#16174) 2024-05-15 16:22:39 +00:00
resource.pb.go Change parameterization to be bytes based (#16606) 2024-07-10 11:15:35 +00:00
resource_grpc.pb.go Keep package refs separate from providers (#16458) 2024-06-24 14:59:18 +00:00
source.pb.go [engine] Add support for source positions 2023-07-10 14:35:40 -07:00