generator.pb.go 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.35.1
  4. // protoc v6.32.1
  5. // source: providers/v2/common/proto/generator/generator.proto
  6. package generator
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. // GeneratorRef references a generator custom resource.
  20. type GeneratorRef struct {
  21. state protoimpl.MessageState
  22. sizeCache protoimpl.SizeCache
  23. unknownFields protoimpl.UnknownFields
  24. // Specify the apiVersion of the generator resource
  25. ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
  26. // Specify the Kind of the generator resource
  27. Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
  28. // Specify the name of the generator resource
  29. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
  30. // Namespace of the generator resource (optional for cluster-scoped generators)
  31. Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"`
  32. }
  33. func (x *GeneratorRef) Reset() {
  34. *x = GeneratorRef{}
  35. mi := &file_providers_v2_common_proto_generator_generator_proto_msgTypes[0]
  36. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  37. ms.StoreMessageInfo(mi)
  38. }
  39. func (x *GeneratorRef) String() string {
  40. return protoimpl.X.MessageStringOf(x)
  41. }
  42. func (*GeneratorRef) ProtoMessage() {}
  43. func (x *GeneratorRef) ProtoReflect() protoreflect.Message {
  44. mi := &file_providers_v2_common_proto_generator_generator_proto_msgTypes[0]
  45. if x != nil {
  46. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  47. if ms.LoadMessageInfo() == nil {
  48. ms.StoreMessageInfo(mi)
  49. }
  50. return ms
  51. }
  52. return mi.MessageOf(x)
  53. }
  54. // Deprecated: Use GeneratorRef.ProtoReflect.Descriptor instead.
  55. func (*GeneratorRef) Descriptor() ([]byte, []int) {
  56. return file_providers_v2_common_proto_generator_generator_proto_rawDescGZIP(), []int{0}
  57. }
  58. func (x *GeneratorRef) GetApiVersion() string {
  59. if x != nil {
  60. return x.ApiVersion
  61. }
  62. return ""
  63. }
  64. func (x *GeneratorRef) GetKind() string {
  65. if x != nil {
  66. return x.Kind
  67. }
  68. return ""
  69. }
  70. func (x *GeneratorRef) GetName() string {
  71. if x != nil {
  72. return x.Name
  73. }
  74. return ""
  75. }
  76. func (x *GeneratorRef) GetNamespace() string {
  77. if x != nil {
  78. return x.Namespace
  79. }
  80. return ""
  81. }
  82. // GenerateRequest contains the information needed to generate secrets
  83. type GenerateRequest struct {
  84. state protoimpl.MessageState
  85. sizeCache protoimpl.SizeCache
  86. unknownFields protoimpl.UnknownFields
  87. // Reference to the generator resource
  88. GeneratorRef *GeneratorRef `protobuf:"bytes,1,opt,name=generator_ref,json=generatorRef,proto3" json:"generator_ref,omitempty"`
  89. // Namespace of the ExternalSecret making the request (for validation)
  90. SourceNamespace string `protobuf:"bytes,2,opt,name=source_namespace,json=sourceNamespace,proto3" json:"source_namespace,omitempty"`
  91. }
  92. func (x *GenerateRequest) Reset() {
  93. *x = GenerateRequest{}
  94. mi := &file_providers_v2_common_proto_generator_generator_proto_msgTypes[1]
  95. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  96. ms.StoreMessageInfo(mi)
  97. }
  98. func (x *GenerateRequest) String() string {
  99. return protoimpl.X.MessageStringOf(x)
  100. }
  101. func (*GenerateRequest) ProtoMessage() {}
  102. func (x *GenerateRequest) ProtoReflect() protoreflect.Message {
  103. mi := &file_providers_v2_common_proto_generator_generator_proto_msgTypes[1]
  104. if x != nil {
  105. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  106. if ms.LoadMessageInfo() == nil {
  107. ms.StoreMessageInfo(mi)
  108. }
  109. return ms
  110. }
  111. return mi.MessageOf(x)
  112. }
  113. // Deprecated: Use GenerateRequest.ProtoReflect.Descriptor instead.
  114. func (*GenerateRequest) Descriptor() ([]byte, []int) {
  115. return file_providers_v2_common_proto_generator_generator_proto_rawDescGZIP(), []int{1}
  116. }
  117. func (x *GenerateRequest) GetGeneratorRef() *GeneratorRef {
  118. if x != nil {
  119. return x.GeneratorRef
  120. }
  121. return nil
  122. }
  123. func (x *GenerateRequest) GetSourceNamespace() string {
  124. if x != nil {
  125. return x.SourceNamespace
  126. }
  127. return ""
  128. }
  129. // GenerateResponse contains the generated secrets and optional state
  130. type GenerateResponse struct {
  131. state protoimpl.MessageState
  132. sizeCache protoimpl.SizeCache
  133. unknownFields protoimpl.UnknownFields
  134. // Map of secret keys to their values
  135. Secrets map[string][]byte `protobuf:"bytes,1,rep,name=secrets,proto3" json:"secrets,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  136. // Optional state that can be used during cleanup
  137. // This is provider-specific and opaque to the controller
  138. State []byte `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
  139. }
  140. func (x *GenerateResponse) Reset() {
  141. *x = GenerateResponse{}
  142. mi := &file_providers_v2_common_proto_generator_generator_proto_msgTypes[2]
  143. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  144. ms.StoreMessageInfo(mi)
  145. }
  146. func (x *GenerateResponse) String() string {
  147. return protoimpl.X.MessageStringOf(x)
  148. }
  149. func (*GenerateResponse) ProtoMessage() {}
  150. func (x *GenerateResponse) ProtoReflect() protoreflect.Message {
  151. mi := &file_providers_v2_common_proto_generator_generator_proto_msgTypes[2]
  152. if x != nil {
  153. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  154. if ms.LoadMessageInfo() == nil {
  155. ms.StoreMessageInfo(mi)
  156. }
  157. return ms
  158. }
  159. return mi.MessageOf(x)
  160. }
  161. // Deprecated: Use GenerateResponse.ProtoReflect.Descriptor instead.
  162. func (*GenerateResponse) Descriptor() ([]byte, []int) {
  163. return file_providers_v2_common_proto_generator_generator_proto_rawDescGZIP(), []int{2}
  164. }
  165. func (x *GenerateResponse) GetSecrets() map[string][]byte {
  166. if x != nil {
  167. return x.Secrets
  168. }
  169. return nil
  170. }
  171. func (x *GenerateResponse) GetState() []byte {
  172. if x != nil {
  173. return x.State
  174. }
  175. return nil
  176. }
  177. // CleanupRequest contains the information needed to cleanup resources
  178. type CleanupRequest struct {
  179. state protoimpl.MessageState
  180. sizeCache protoimpl.SizeCache
  181. unknownFields protoimpl.UnknownFields
  182. // Reference to the generator resource
  183. GeneratorRef *GeneratorRef `protobuf:"bytes,1,opt,name=generator_ref,json=generatorRef,proto3" json:"generator_ref,omitempty"`
  184. // State returned from the Generate call
  185. State []byte `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
  186. // Namespace of the ExternalSecret making the request (for validation)
  187. SourceNamespace string `protobuf:"bytes,3,opt,name=source_namespace,json=sourceNamespace,proto3" json:"source_namespace,omitempty"`
  188. }
  189. func (x *CleanupRequest) Reset() {
  190. *x = CleanupRequest{}
  191. mi := &file_providers_v2_common_proto_generator_generator_proto_msgTypes[3]
  192. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  193. ms.StoreMessageInfo(mi)
  194. }
  195. func (x *CleanupRequest) String() string {
  196. return protoimpl.X.MessageStringOf(x)
  197. }
  198. func (*CleanupRequest) ProtoMessage() {}
  199. func (x *CleanupRequest) ProtoReflect() protoreflect.Message {
  200. mi := &file_providers_v2_common_proto_generator_generator_proto_msgTypes[3]
  201. if x != nil {
  202. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  203. if ms.LoadMessageInfo() == nil {
  204. ms.StoreMessageInfo(mi)
  205. }
  206. return ms
  207. }
  208. return mi.MessageOf(x)
  209. }
  210. // Deprecated: Use CleanupRequest.ProtoReflect.Descriptor instead.
  211. func (*CleanupRequest) Descriptor() ([]byte, []int) {
  212. return file_providers_v2_common_proto_generator_generator_proto_rawDescGZIP(), []int{3}
  213. }
  214. func (x *CleanupRequest) GetGeneratorRef() *GeneratorRef {
  215. if x != nil {
  216. return x.GeneratorRef
  217. }
  218. return nil
  219. }
  220. func (x *CleanupRequest) GetState() []byte {
  221. if x != nil {
  222. return x.State
  223. }
  224. return nil
  225. }
  226. func (x *CleanupRequest) GetSourceNamespace() string {
  227. if x != nil {
  228. return x.SourceNamespace
  229. }
  230. return ""
  231. }
  232. // CleanupResponse is the response from cleanup
  233. type CleanupResponse struct {
  234. state protoimpl.MessageState
  235. sizeCache protoimpl.SizeCache
  236. unknownFields protoimpl.UnknownFields
  237. }
  238. func (x *CleanupResponse) Reset() {
  239. *x = CleanupResponse{}
  240. mi := &file_providers_v2_common_proto_generator_generator_proto_msgTypes[4]
  241. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  242. ms.StoreMessageInfo(mi)
  243. }
  244. func (x *CleanupResponse) String() string {
  245. return protoimpl.X.MessageStringOf(x)
  246. }
  247. func (*CleanupResponse) ProtoMessage() {}
  248. func (x *CleanupResponse) ProtoReflect() protoreflect.Message {
  249. mi := &file_providers_v2_common_proto_generator_generator_proto_msgTypes[4]
  250. if x != nil {
  251. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  252. if ms.LoadMessageInfo() == nil {
  253. ms.StoreMessageInfo(mi)
  254. }
  255. return ms
  256. }
  257. return mi.MessageOf(x)
  258. }
  259. // Deprecated: Use CleanupResponse.ProtoReflect.Descriptor instead.
  260. func (*CleanupResponse) Descriptor() ([]byte, []int) {
  261. return file_providers_v2_common_proto_generator_generator_proto_rawDescGZIP(), []int{4}
  262. }
  263. var File_providers_v2_common_proto_generator_generator_proto protoreflect.FileDescriptor
  264. var file_providers_v2_common_proto_generator_generator_proto_rawDesc = []byte{
  265. 0x0a, 0x33, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x63,
  266. 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x65,
  267. 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e,
  268. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72,
  269. 0x2e, 0x76, 0x31, 0x22, 0x75, 0x0a, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72,
  270. 0x52, 0x65, 0x66, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x70, 0x69, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69,
  271. 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72,
  272. 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01,
  273. 0x28, 0x09, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  274. 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09,
  275. 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
  276. 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x7d, 0x0a, 0x0f, 0x47, 0x65,
  277. 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a,
  278. 0x0d, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x01,
  279. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72,
  280. 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x66,
  281. 0x52, 0x0c, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x66, 0x12, 0x29,
  282. 0x0a, 0x10, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61,
  283. 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
  284. 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0xab, 0x01, 0x0a, 0x10, 0x47, 0x65,
  285. 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45,
  286. 0x0a, 0x07, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
  287. 0x2b, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x47,
  288. 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e,
  289. 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x73, 0x65,
  290. 0x63, 0x72, 0x65, 0x74, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02,
  291. 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x1a, 0x3a, 0x0a, 0x0c, 0x53,
  292. 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
  293. 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
  294. 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61,
  295. 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x92, 0x01, 0x0a, 0x0e, 0x43, 0x6c, 0x65, 0x61,
  296. 0x6e, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x0d, 0x67, 0x65,
  297. 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28,
  298. 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31,
  299. 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x66, 0x52, 0x0c, 0x67,
  300. 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x66, 0x12, 0x14, 0x0a, 0x05, 0x73,
  301. 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74,
  302. 0x65, 0x12, 0x29, 0x0a, 0x10, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
  303. 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x6f, 0x75,
  304. 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x11, 0x0a, 0x0f,
  305. 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32,
  306. 0xa6, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f,
  307. 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x49, 0x0a, 0x08, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74,
  308. 0x65, 0x12, 0x1d, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31,
  309. 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  310. 0x1a, 0x1e, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x2e,
  311. 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  312. 0x12, 0x46, 0x0a, 0x07, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x12, 0x1c, 0x2e, 0x67, 0x65,
  313. 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x6e,
  314. 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x65, 0x6e, 0x65,
  315. 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70,
  316. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x48, 0x5a, 0x46, 0x67, 0x69, 0x74, 0x68,
  317. 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2d,
  318. 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c,
  319. 0x2d, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67,
  320. 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x3b, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74,
  321. 0x6f, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  322. }
  323. var (
  324. file_providers_v2_common_proto_generator_generator_proto_rawDescOnce sync.Once
  325. file_providers_v2_common_proto_generator_generator_proto_rawDescData = file_providers_v2_common_proto_generator_generator_proto_rawDesc
  326. )
  327. func file_providers_v2_common_proto_generator_generator_proto_rawDescGZIP() []byte {
  328. file_providers_v2_common_proto_generator_generator_proto_rawDescOnce.Do(func() {
  329. file_providers_v2_common_proto_generator_generator_proto_rawDescData = protoimpl.X.CompressGZIP(file_providers_v2_common_proto_generator_generator_proto_rawDescData)
  330. })
  331. return file_providers_v2_common_proto_generator_generator_proto_rawDescData
  332. }
  333. var file_providers_v2_common_proto_generator_generator_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
  334. var file_providers_v2_common_proto_generator_generator_proto_goTypes = []any{
  335. (*GeneratorRef)(nil), // 0: generator.v1.GeneratorRef
  336. (*GenerateRequest)(nil), // 1: generator.v1.GenerateRequest
  337. (*GenerateResponse)(nil), // 2: generator.v1.GenerateResponse
  338. (*CleanupRequest)(nil), // 3: generator.v1.CleanupRequest
  339. (*CleanupResponse)(nil), // 4: generator.v1.CleanupResponse
  340. nil, // 5: generator.v1.GenerateResponse.SecretsEntry
  341. }
  342. var file_providers_v2_common_proto_generator_generator_proto_depIdxs = []int32{
  343. 0, // 0: generator.v1.GenerateRequest.generator_ref:type_name -> generator.v1.GeneratorRef
  344. 5, // 1: generator.v1.GenerateResponse.secrets:type_name -> generator.v1.GenerateResponse.SecretsEntry
  345. 0, // 2: generator.v1.CleanupRequest.generator_ref:type_name -> generator.v1.GeneratorRef
  346. 1, // 3: generator.v1.GeneratorProvider.Generate:input_type -> generator.v1.GenerateRequest
  347. 3, // 4: generator.v1.GeneratorProvider.Cleanup:input_type -> generator.v1.CleanupRequest
  348. 2, // 5: generator.v1.GeneratorProvider.Generate:output_type -> generator.v1.GenerateResponse
  349. 4, // 6: generator.v1.GeneratorProvider.Cleanup:output_type -> generator.v1.CleanupResponse
  350. 5, // [5:7] is the sub-list for method output_type
  351. 3, // [3:5] is the sub-list for method input_type
  352. 3, // [3:3] is the sub-list for extension type_name
  353. 3, // [3:3] is the sub-list for extension extendee
  354. 0, // [0:3] is the sub-list for field type_name
  355. }
  356. func init() { file_providers_v2_common_proto_generator_generator_proto_init() }
  357. func file_providers_v2_common_proto_generator_generator_proto_init() {
  358. if File_providers_v2_common_proto_generator_generator_proto != nil {
  359. return
  360. }
  361. type x struct{}
  362. out := protoimpl.TypeBuilder{
  363. File: protoimpl.DescBuilder{
  364. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  365. RawDescriptor: file_providers_v2_common_proto_generator_generator_proto_rawDesc,
  366. NumEnums: 0,
  367. NumMessages: 6,
  368. NumExtensions: 0,
  369. NumServices: 1,
  370. },
  371. GoTypes: file_providers_v2_common_proto_generator_generator_proto_goTypes,
  372. DependencyIndexes: file_providers_v2_common_proto_generator_generator_proto_depIdxs,
  373. MessageInfos: file_providers_v2_common_proto_generator_generator_proto_msgTypes,
  374. }.Build()
  375. File_providers_v2_common_proto_generator_generator_proto = out.File
  376. file_providers_v2_common_proto_generator_generator_proto_rawDesc = nil
  377. file_providers_v2_common_proto_generator_generator_proto_goTypes = nil
  378. file_providers_v2_common_proto_generator_generator_proto_depIdxs = nil
  379. }