pulumi-language-ruby 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +39 -0
  4. data/Rakefile +8 -0
  5. data/exe/pulumi-language-ruby +39 -0
  6. data/lib/ruby_pulumi/generated/pulumi/alias_pb.rb +16 -0
  7. data/lib/ruby_pulumi/generated/pulumi/analyzer_pb.rb +43 -0
  8. data/lib/ruby_pulumi/generated/pulumi/analyzer_services_pb.rb +69 -0
  9. data/lib/ruby_pulumi/generated/pulumi/callback_pb.rb +17 -0
  10. data/lib/ruby_pulumi/generated/pulumi/callback_services_pb.rb +39 -0
  11. data/lib/ruby_pulumi/generated/pulumi/codegen/hcl_pb.rb +20 -0
  12. data/lib/ruby_pulumi/generated/pulumi/codegen/loader_pb.rb +17 -0
  13. data/lib/ruby_pulumi/generated/pulumi/codegen/loader_services_pb.rb +40 -0
  14. data/lib/ruby_pulumi/generated/pulumi/codegen/mapper_pb.rb +17 -0
  15. data/lib/ruby_pulumi/generated/pulumi/codegen/mapper_services_pb.rb +50 -0
  16. data/lib/ruby_pulumi/generated/pulumi/converter_pb.rb +21 -0
  17. data/lib/ruby_pulumi/generated/pulumi/converter_services_pb.rb +42 -0
  18. data/lib/ruby_pulumi/generated/pulumi/engine_pb.rb +26 -0
  19. data/lib/ruby_pulumi/generated/pulumi/engine_services_pb.rb +51 -0
  20. data/lib/ruby_pulumi/generated/pulumi/errors_pb.rb +17 -0
  21. data/lib/ruby_pulumi/generated/pulumi/events_pb.rb +17 -0
  22. data/lib/ruby_pulumi/generated/pulumi/events_services_pb.rb +45 -0
  23. data/lib/ruby_pulumi/generated/pulumi/language_pb.rb +55 -0
  24. data/lib/ruby_pulumi/generated/pulumi/language_services_pb.rb +121 -0
  25. data/lib/ruby_pulumi/generated/pulumi/plugin_pb.rb +19 -0
  26. data/lib/ruby_pulumi/generated/pulumi/provider_pb.rb +66 -0
  27. data/lib/ruby_pulumi/generated/pulumi/provider_services_pb.rb +232 -0
  28. data/lib/ruby_pulumi/generated/pulumi/resource_pb.rb +51 -0
  29. data/lib/ruby_pulumi/generated/pulumi/resource_services_pb.rb +64 -0
  30. data/lib/ruby_pulumi/generated/pulumi/resource_status_pb.rb +23 -0
  31. data/lib/ruby_pulumi/generated/pulumi/resource_status_services_pb.rb +44 -0
  32. data/lib/ruby_pulumi/generated/pulumi/source_pb.rb +17 -0
  33. data/lib/ruby_pulumi/generated/pulumi/testing/language_pb.rb +24 -0
  34. data/lib/ruby_pulumi/generated/pulumi/testing/language_services_pb.rb +47 -0
  35. data/lib/ruby_pulumi/language_host.rb +46 -0
  36. data/lib/ruby_pulumi/pulumi.rb +2 -0
  37. data/lib/ruby_pulumi/resource.rb +24 -0
  38. data/lib/ruby_pulumi/runtime.rb +7 -0
  39. data/pulumi/alias.proto +38 -0
  40. data/pulumi/analyzer.proto +293 -0
  41. data/pulumi/callback.proto +44 -0
  42. data/pulumi/codegen/hcl.proto +89 -0
  43. data/pulumi/codegen/loader.proto +51 -0
  44. data/pulumi/codegen/mapper.proto +74 -0
  45. data/pulumi/converter.proto +94 -0
  46. data/pulumi/engine.proto +113 -0
  47. data/pulumi/errors.proto +38 -0
  48. data/pulumi/events.proto +39 -0
  49. data/pulumi/language.proto +653 -0
  50. data/pulumi/plugin.proto +66 -0
  51. data/pulumi/provider.proto +1227 -0
  52. data/pulumi/resource.proto +394 -0
  53. data/pulumi/resource_status.proto +172 -0
  54. data/pulumi/source.proto +36 -0
  55. data/pulumi/testing/language.proto +106 -0
  56. data/sig/pulumi/language/ruby.rbs +8 -0
  57. metadata +125 -0
@@ -0,0 +1,66 @@
1
+ // Copyright 2016-2018, Pulumi Corporation.
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ syntax = "proto3";
16
+
17
+ package pulumirpc;
18
+
19
+ option go_package = "github.com/pulumi/pulumi/sdk/v3/proto/go;pulumirpc";
20
+
21
+ // PluginInfo is meta-information about a plugin that is used by the system.
22
+ message PluginInfo {
23
+ string version = 1; // the semver for this plugin.
24
+ }
25
+
26
+ // PluginDependency is information about a plugin that a program may depend upon.
27
+ message PluginDependency {
28
+ string name = 1; // the name of the plugin.
29
+ string kind = 2; // the kind of plugin (e.g., language, etc).
30
+ string version = 3; // the semver for this plugin.
31
+ string server = 4; // the URL of a server that can be used to download this plugin, if needed.
32
+
33
+ // a map of the checksums for the plugin, will be empty from old language runtimes. The keys should match
34
+ // the os and architecture names used in pulumi releases, e.g. "darwin-amd64", "windows-arm64".
35
+ map<string, bytes> checksums = 5;
36
+ }
37
+
38
+ // PluginAttach is used to attach an already running plugin to the engine.
39
+ //
40
+ // Normally the engine starts the plugin process itself and passes the engine address as the first argumnent.
41
+ // But when debugging it can be useful to have an already running provider that the engine instead attaches
42
+ // to, this message is used so the provider can still be passed the engine address to communicate with.
43
+ message PluginAttach {
44
+ string address = 1; // the grpc address for the engine
45
+ }
46
+
47
+ message PackageParameterization {
48
+ string name = 1; // the parameterized package name.
49
+ string version = 2; // the parameterized package version.
50
+ bytes value = 3; // the parameter value for the parameterized package.
51
+ }
52
+
53
+ // PackageDependency is information about a package that a program may depend upon.
54
+ message PackageDependency {
55
+ string name = 1; // the name of the plugin.
56
+ string kind = 2; // the kind of plugin (e.g., language, etc).
57
+ string version = 3; // the semver for this plugin.
58
+ string server = 4; // the URL of a server that can be used to download this plugin, if needed.
59
+
60
+ // a map of the checksums for the plugin, will be empty from old language runtimes. The keys should match
61
+ // the os and architecture names used in pulumi releases, e.g. "darwin-amd64", "windows-arm64".
62
+ map<string, bytes> checksums = 5;
63
+
64
+ // The optional parameterization for this package.
65
+ PackageParameterization parameterization = 6;
66
+ }