provisioner.pb.go 38 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.27.1
  4. // protoc v3.19.3
  5. // source: provisioner/pb/provisioner.proto
  6. package pb
  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. type TerraformEvent int32
  20. const (
  21. TerraformEvent_PLANNED_CHANGE TerraformEvent = 0
  22. TerraformEvent_CHANGE_SUMMARY TerraformEvent = 1
  23. TerraformEvent_APPLY_START TerraformEvent = 2
  24. TerraformEvent_APPLY_PROGRESS TerraformEvent = 3
  25. TerraformEvent_APPLY_ERRORED TerraformEvent = 4
  26. TerraformEvent_APPLY_COMPLETE TerraformEvent = 5
  27. TerraformEvent_DIAGNOSTIC TerraformEvent = 6
  28. )
  29. // Enum value maps for TerraformEvent.
  30. var (
  31. TerraformEvent_name = map[int32]string{
  32. 0: "PLANNED_CHANGE",
  33. 1: "CHANGE_SUMMARY",
  34. 2: "APPLY_START",
  35. 3: "APPLY_PROGRESS",
  36. 4: "APPLY_ERRORED",
  37. 5: "APPLY_COMPLETE",
  38. 6: "DIAGNOSTIC",
  39. }
  40. TerraformEvent_value = map[string]int32{
  41. "PLANNED_CHANGE": 0,
  42. "CHANGE_SUMMARY": 1,
  43. "APPLY_START": 2,
  44. "APPLY_PROGRESS": 3,
  45. "APPLY_ERRORED": 4,
  46. "APPLY_COMPLETE": 5,
  47. "DIAGNOSTIC": 6,
  48. }
  49. )
  50. func (x TerraformEvent) Enum() *TerraformEvent {
  51. p := new(TerraformEvent)
  52. *p = x
  53. return p
  54. }
  55. func (x TerraformEvent) String() string {
  56. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  57. }
  58. func (TerraformEvent) Descriptor() protoreflect.EnumDescriptor {
  59. return file_provisioner_pb_provisioner_proto_enumTypes[0].Descriptor()
  60. }
  61. func (TerraformEvent) Type() protoreflect.EnumType {
  62. return &file_provisioner_pb_provisioner_proto_enumTypes[0]
  63. }
  64. func (x TerraformEvent) Number() protoreflect.EnumNumber {
  65. return protoreflect.EnumNumber(x)
  66. }
  67. // Deprecated: Use TerraformEvent.Descriptor instead.
  68. func (TerraformEvent) EnumDescriptor() ([]byte, []int) {
  69. return file_provisioner_pb_provisioner_proto_rawDescGZIP(), []int{0}
  70. }
  71. type TerraformStateMeta struct {
  72. state protoimpl.MessageState
  73. sizeCache protoimpl.SizeCache
  74. unknownFields protoimpl.UnknownFields
  75. }
  76. func (x *TerraformStateMeta) Reset() {
  77. *x = TerraformStateMeta{}
  78. if protoimpl.UnsafeEnabled {
  79. mi := &file_provisioner_pb_provisioner_proto_msgTypes[0]
  80. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  81. ms.StoreMessageInfo(mi)
  82. }
  83. }
  84. func (x *TerraformStateMeta) String() string {
  85. return protoimpl.X.MessageStringOf(x)
  86. }
  87. func (*TerraformStateMeta) ProtoMessage() {}
  88. func (x *TerraformStateMeta) ProtoReflect() protoreflect.Message {
  89. mi := &file_provisioner_pb_provisioner_proto_msgTypes[0]
  90. if protoimpl.UnsafeEnabled && x != nil {
  91. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  92. if ms.LoadMessageInfo() == nil {
  93. ms.StoreMessageInfo(mi)
  94. }
  95. return ms
  96. }
  97. return mi.MessageOf(x)
  98. }
  99. // Deprecated: Use TerraformStateMeta.ProtoReflect.Descriptor instead.
  100. func (*TerraformStateMeta) Descriptor() ([]byte, []int) {
  101. return file_provisioner_pb_provisioner_proto_rawDescGZIP(), []int{0}
  102. }
  103. type Workspace struct {
  104. state protoimpl.MessageState
  105. sizeCache protoimpl.SizeCache
  106. unknownFields protoimpl.UnknownFields
  107. Workspace string `protobuf:"bytes,1,opt,name=workspace,proto3" json:"workspace,omitempty"`
  108. }
  109. func (x *Workspace) Reset() {
  110. *x = Workspace{}
  111. if protoimpl.UnsafeEnabled {
  112. mi := &file_provisioner_pb_provisioner_proto_msgTypes[1]
  113. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  114. ms.StoreMessageInfo(mi)
  115. }
  116. }
  117. func (x *Workspace) String() string {
  118. return protoimpl.X.MessageStringOf(x)
  119. }
  120. func (*Workspace) ProtoMessage() {}
  121. func (x *Workspace) ProtoReflect() protoreflect.Message {
  122. mi := &file_provisioner_pb_provisioner_proto_msgTypes[1]
  123. if protoimpl.UnsafeEnabled && x != nil {
  124. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  125. if ms.LoadMessageInfo() == nil {
  126. ms.StoreMessageInfo(mi)
  127. }
  128. return ms
  129. }
  130. return mi.MessageOf(x)
  131. }
  132. // Deprecated: Use Workspace.ProtoReflect.Descriptor instead.
  133. func (*Workspace) Descriptor() ([]byte, []int) {
  134. return file_provisioner_pb_provisioner_proto_rawDescGZIP(), []int{1}
  135. }
  136. func (x *Workspace) GetWorkspace() string {
  137. if x != nil {
  138. return x.Workspace
  139. }
  140. return ""
  141. }
  142. type LogString struct {
  143. state protoimpl.MessageState
  144. sizeCache protoimpl.SizeCache
  145. unknownFields protoimpl.UnknownFields
  146. Log string `protobuf:"bytes,1,opt,name=log,proto3" json:"log,omitempty"`
  147. }
  148. func (x *LogString) Reset() {
  149. *x = LogString{}
  150. if protoimpl.UnsafeEnabled {
  151. mi := &file_provisioner_pb_provisioner_proto_msgTypes[2]
  152. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  153. ms.StoreMessageInfo(mi)
  154. }
  155. }
  156. func (x *LogString) String() string {
  157. return protoimpl.X.MessageStringOf(x)
  158. }
  159. func (*LogString) ProtoMessage() {}
  160. func (x *LogString) ProtoReflect() protoreflect.Message {
  161. mi := &file_provisioner_pb_provisioner_proto_msgTypes[2]
  162. if protoimpl.UnsafeEnabled && x != nil {
  163. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  164. if ms.LoadMessageInfo() == nil {
  165. ms.StoreMessageInfo(mi)
  166. }
  167. return ms
  168. }
  169. return mi.MessageOf(x)
  170. }
  171. // Deprecated: Use LogString.ProtoReflect.Descriptor instead.
  172. func (*LogString) Descriptor() ([]byte, []int) {
  173. return file_provisioner_pb_provisioner_proto_rawDescGZIP(), []int{2}
  174. }
  175. func (x *LogString) GetLog() string {
  176. if x != nil {
  177. return x.Log
  178. }
  179. return ""
  180. }
  181. type Infra struct {
  182. state protoimpl.MessageState
  183. sizeCache protoimpl.SizeCache
  184. unknownFields protoimpl.UnknownFields
  185. ProjectId int64 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
  186. Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
  187. Suffix string `protobuf:"bytes,3,opt,name=suffix,proto3" json:"suffix,omitempty"`
  188. }
  189. func (x *Infra) Reset() {
  190. *x = Infra{}
  191. if protoimpl.UnsafeEnabled {
  192. mi := &file_provisioner_pb_provisioner_proto_msgTypes[3]
  193. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  194. ms.StoreMessageInfo(mi)
  195. }
  196. }
  197. func (x *Infra) String() string {
  198. return protoimpl.X.MessageStringOf(x)
  199. }
  200. func (*Infra) ProtoMessage() {}
  201. func (x *Infra) ProtoReflect() protoreflect.Message {
  202. mi := &file_provisioner_pb_provisioner_proto_msgTypes[3]
  203. if protoimpl.UnsafeEnabled && x != nil {
  204. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  205. if ms.LoadMessageInfo() == nil {
  206. ms.StoreMessageInfo(mi)
  207. }
  208. return ms
  209. }
  210. return mi.MessageOf(x)
  211. }
  212. // Deprecated: Use Infra.ProtoReflect.Descriptor instead.
  213. func (*Infra) Descriptor() ([]byte, []int) {
  214. return file_provisioner_pb_provisioner_proto_rawDescGZIP(), []int{3}
  215. }
  216. func (x *Infra) GetProjectId() int64 {
  217. if x != nil {
  218. return x.ProjectId
  219. }
  220. return 0
  221. }
  222. func (x *Infra) GetId() int64 {
  223. if x != nil {
  224. return x.Id
  225. }
  226. return 0
  227. }
  228. func (x *Infra) GetSuffix() string {
  229. if x != nil {
  230. return x.Suffix
  231. }
  232. return ""
  233. }
  234. type StateUpdate struct {
  235. state protoimpl.MessageState
  236. sizeCache protoimpl.SizeCache
  237. unknownFields protoimpl.UnknownFields
  238. ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
  239. Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
  240. Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
  241. }
  242. func (x *StateUpdate) Reset() {
  243. *x = StateUpdate{}
  244. if protoimpl.UnsafeEnabled {
  245. mi := &file_provisioner_pb_provisioner_proto_msgTypes[4]
  246. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  247. ms.StoreMessageInfo(mi)
  248. }
  249. }
  250. func (x *StateUpdate) String() string {
  251. return protoimpl.X.MessageStringOf(x)
  252. }
  253. func (*StateUpdate) ProtoMessage() {}
  254. func (x *StateUpdate) ProtoReflect() protoreflect.Message {
  255. mi := &file_provisioner_pb_provisioner_proto_msgTypes[4]
  256. if protoimpl.UnsafeEnabled && x != nil {
  257. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  258. if ms.LoadMessageInfo() == nil {
  259. ms.StoreMessageInfo(mi)
  260. }
  261. return ms
  262. }
  263. return mi.MessageOf(x)
  264. }
  265. // Deprecated: Use StateUpdate.ProtoReflect.Descriptor instead.
  266. func (*StateUpdate) Descriptor() ([]byte, []int) {
  267. return file_provisioner_pb_provisioner_proto_rawDescGZIP(), []int{4}
  268. }
  269. func (x *StateUpdate) GetResourceId() string {
  270. if x != nil {
  271. return x.ResourceId
  272. }
  273. return ""
  274. }
  275. func (x *StateUpdate) GetStatus() string {
  276. if x != nil {
  277. return x.Status
  278. }
  279. return ""
  280. }
  281. func (x *StateUpdate) GetError() string {
  282. if x != nil {
  283. return x.Error
  284. }
  285. return ""
  286. }
  287. type TerraformResource struct {
  288. state protoimpl.MessageState
  289. sizeCache protoimpl.SizeCache
  290. unknownFields protoimpl.UnknownFields
  291. Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
  292. Resource string `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
  293. ResourceType string `protobuf:"bytes,3,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
  294. ResourceName string `protobuf:"bytes,4,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
  295. Provider string `protobuf:"bytes,5,opt,name=provider,proto3" json:"provider,omitempty"`
  296. Errored *TerraformErrored `protobuf:"bytes,6,opt,name=errored,proto3" json:"errored,omitempty"`
  297. }
  298. func (x *TerraformResource) Reset() {
  299. *x = TerraformResource{}
  300. if protoimpl.UnsafeEnabled {
  301. mi := &file_provisioner_pb_provisioner_proto_msgTypes[5]
  302. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  303. ms.StoreMessageInfo(mi)
  304. }
  305. }
  306. func (x *TerraformResource) String() string {
  307. return protoimpl.X.MessageStringOf(x)
  308. }
  309. func (*TerraformResource) ProtoMessage() {}
  310. func (x *TerraformResource) ProtoReflect() protoreflect.Message {
  311. mi := &file_provisioner_pb_provisioner_proto_msgTypes[5]
  312. if protoimpl.UnsafeEnabled && x != nil {
  313. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  314. if ms.LoadMessageInfo() == nil {
  315. ms.StoreMessageInfo(mi)
  316. }
  317. return ms
  318. }
  319. return mi.MessageOf(x)
  320. }
  321. // Deprecated: Use TerraformResource.ProtoReflect.Descriptor instead.
  322. func (*TerraformResource) Descriptor() ([]byte, []int) {
  323. return file_provisioner_pb_provisioner_proto_rawDescGZIP(), []int{5}
  324. }
  325. func (x *TerraformResource) GetAddr() string {
  326. if x != nil {
  327. return x.Addr
  328. }
  329. return ""
  330. }
  331. func (x *TerraformResource) GetResource() string {
  332. if x != nil {
  333. return x.Resource
  334. }
  335. return ""
  336. }
  337. func (x *TerraformResource) GetResourceType() string {
  338. if x != nil {
  339. return x.ResourceType
  340. }
  341. return ""
  342. }
  343. func (x *TerraformResource) GetResourceName() string {
  344. if x != nil {
  345. return x.ResourceName
  346. }
  347. return ""
  348. }
  349. func (x *TerraformResource) GetProvider() string {
  350. if x != nil {
  351. return x.Provider
  352. }
  353. return ""
  354. }
  355. func (x *TerraformResource) GetErrored() *TerraformErrored {
  356. if x != nil {
  357. return x.Errored
  358. }
  359. return nil
  360. }
  361. type TerraformErrored struct {
  362. state protoimpl.MessageState
  363. sizeCache protoimpl.SizeCache
  364. unknownFields protoimpl.UnknownFields
  365. ErroredOut bool `protobuf:"varint,1,opt,name=errored_out,json=erroredOut,proto3" json:"errored_out,omitempty"`
  366. ErrorSummary string `protobuf:"bytes,2,opt,name=error_summary,json=errorSummary,proto3" json:"error_summary,omitempty"`
  367. }
  368. func (x *TerraformErrored) Reset() {
  369. *x = TerraformErrored{}
  370. if protoimpl.UnsafeEnabled {
  371. mi := &file_provisioner_pb_provisioner_proto_msgTypes[6]
  372. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  373. ms.StoreMessageInfo(mi)
  374. }
  375. }
  376. func (x *TerraformErrored) String() string {
  377. return protoimpl.X.MessageStringOf(x)
  378. }
  379. func (*TerraformErrored) ProtoMessage() {}
  380. func (x *TerraformErrored) ProtoReflect() protoreflect.Message {
  381. mi := &file_provisioner_pb_provisioner_proto_msgTypes[6]
  382. if protoimpl.UnsafeEnabled && x != nil {
  383. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  384. if ms.LoadMessageInfo() == nil {
  385. ms.StoreMessageInfo(mi)
  386. }
  387. return ms
  388. }
  389. return mi.MessageOf(x)
  390. }
  391. // Deprecated: Use TerraformErrored.ProtoReflect.Descriptor instead.
  392. func (*TerraformErrored) Descriptor() ([]byte, []int) {
  393. return file_provisioner_pb_provisioner_proto_rawDescGZIP(), []int{6}
  394. }
  395. func (x *TerraformErrored) GetErroredOut() bool {
  396. if x != nil {
  397. return x.ErroredOut
  398. }
  399. return false
  400. }
  401. func (x *TerraformErrored) GetErrorSummary() string {
  402. if x != nil {
  403. return x.ErrorSummary
  404. }
  405. return ""
  406. }
  407. type TerraformHook struct {
  408. state protoimpl.MessageState
  409. sizeCache protoimpl.SizeCache
  410. unknownFields protoimpl.UnknownFields
  411. Resource *TerraformResource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
  412. Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
  413. }
  414. func (x *TerraformHook) Reset() {
  415. *x = TerraformHook{}
  416. if protoimpl.UnsafeEnabled {
  417. mi := &file_provisioner_pb_provisioner_proto_msgTypes[7]
  418. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  419. ms.StoreMessageInfo(mi)
  420. }
  421. }
  422. func (x *TerraformHook) String() string {
  423. return protoimpl.X.MessageStringOf(x)
  424. }
  425. func (*TerraformHook) ProtoMessage() {}
  426. func (x *TerraformHook) ProtoReflect() protoreflect.Message {
  427. mi := &file_provisioner_pb_provisioner_proto_msgTypes[7]
  428. if protoimpl.UnsafeEnabled && x != nil {
  429. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  430. if ms.LoadMessageInfo() == nil {
  431. ms.StoreMessageInfo(mi)
  432. }
  433. return ms
  434. }
  435. return mi.MessageOf(x)
  436. }
  437. // Deprecated: Use TerraformHook.ProtoReflect.Descriptor instead.
  438. func (*TerraformHook) Descriptor() ([]byte, []int) {
  439. return file_provisioner_pb_provisioner_proto_rawDescGZIP(), []int{7}
  440. }
  441. func (x *TerraformHook) GetResource() *TerraformResource {
  442. if x != nil {
  443. return x.Resource
  444. }
  445. return nil
  446. }
  447. func (x *TerraformHook) GetAction() string {
  448. if x != nil {
  449. return x.Action
  450. }
  451. return ""
  452. }
  453. type TerraformChange struct {
  454. state protoimpl.MessageState
  455. sizeCache protoimpl.SizeCache
  456. unknownFields protoimpl.UnknownFields
  457. Resource *TerraformResource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
  458. Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
  459. }
  460. func (x *TerraformChange) Reset() {
  461. *x = TerraformChange{}
  462. if protoimpl.UnsafeEnabled {
  463. mi := &file_provisioner_pb_provisioner_proto_msgTypes[8]
  464. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  465. ms.StoreMessageInfo(mi)
  466. }
  467. }
  468. func (x *TerraformChange) String() string {
  469. return protoimpl.X.MessageStringOf(x)
  470. }
  471. func (*TerraformChange) ProtoMessage() {}
  472. func (x *TerraformChange) ProtoReflect() protoreflect.Message {
  473. mi := &file_provisioner_pb_provisioner_proto_msgTypes[8]
  474. if protoimpl.UnsafeEnabled && x != nil {
  475. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  476. if ms.LoadMessageInfo() == nil {
  477. ms.StoreMessageInfo(mi)
  478. }
  479. return ms
  480. }
  481. return mi.MessageOf(x)
  482. }
  483. // Deprecated: Use TerraformChange.ProtoReflect.Descriptor instead.
  484. func (*TerraformChange) Descriptor() ([]byte, []int) {
  485. return file_provisioner_pb_provisioner_proto_rawDescGZIP(), []int{8}
  486. }
  487. func (x *TerraformChange) GetResource() *TerraformResource {
  488. if x != nil {
  489. return x.Resource
  490. }
  491. return nil
  492. }
  493. func (x *TerraformChange) GetAction() string {
  494. if x != nil {
  495. return x.Action
  496. }
  497. return ""
  498. }
  499. type TerraformChanges struct {
  500. state protoimpl.MessageState
  501. sizeCache protoimpl.SizeCache
  502. unknownFields protoimpl.UnknownFields
  503. Add int64 `protobuf:"varint,1,opt,name=add,proto3" json:"add,omitempty"`
  504. Change int64 `protobuf:"varint,2,opt,name=change,proto3" json:"change,omitempty"`
  505. Remove int64 `protobuf:"varint,3,opt,name=remove,proto3" json:"remove,omitempty"`
  506. Operation string `protobuf:"bytes,4,opt,name=operation,proto3" json:"operation,omitempty"`
  507. }
  508. func (x *TerraformChanges) Reset() {
  509. *x = TerraformChanges{}
  510. if protoimpl.UnsafeEnabled {
  511. mi := &file_provisioner_pb_provisioner_proto_msgTypes[9]
  512. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  513. ms.StoreMessageInfo(mi)
  514. }
  515. }
  516. func (x *TerraformChanges) String() string {
  517. return protoimpl.X.MessageStringOf(x)
  518. }
  519. func (*TerraformChanges) ProtoMessage() {}
  520. func (x *TerraformChanges) ProtoReflect() protoreflect.Message {
  521. mi := &file_provisioner_pb_provisioner_proto_msgTypes[9]
  522. if protoimpl.UnsafeEnabled && x != nil {
  523. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  524. if ms.LoadMessageInfo() == nil {
  525. ms.StoreMessageInfo(mi)
  526. }
  527. return ms
  528. }
  529. return mi.MessageOf(x)
  530. }
  531. // Deprecated: Use TerraformChanges.ProtoReflect.Descriptor instead.
  532. func (*TerraformChanges) Descriptor() ([]byte, []int) {
  533. return file_provisioner_pb_provisioner_proto_rawDescGZIP(), []int{9}
  534. }
  535. func (x *TerraformChanges) GetAdd() int64 {
  536. if x != nil {
  537. return x.Add
  538. }
  539. return 0
  540. }
  541. func (x *TerraformChanges) GetChange() int64 {
  542. if x != nil {
  543. return x.Change
  544. }
  545. return 0
  546. }
  547. func (x *TerraformChanges) GetRemove() int64 {
  548. if x != nil {
  549. return x.Remove
  550. }
  551. return 0
  552. }
  553. func (x *TerraformChanges) GetOperation() string {
  554. if x != nil {
  555. return x.Operation
  556. }
  557. return ""
  558. }
  559. type DiagnosticDetail struct {
  560. state protoimpl.MessageState
  561. sizeCache protoimpl.SizeCache
  562. unknownFields protoimpl.UnknownFields
  563. Severity string `protobuf:"bytes,1,opt,name=severity,proto3" json:"severity,omitempty"`
  564. Summary string `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"`
  565. Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
  566. Detail string `protobuf:"bytes,4,opt,name=detail,proto3" json:"detail,omitempty"`
  567. }
  568. func (x *DiagnosticDetail) Reset() {
  569. *x = DiagnosticDetail{}
  570. if protoimpl.UnsafeEnabled {
  571. mi := &file_provisioner_pb_provisioner_proto_msgTypes[10]
  572. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  573. ms.StoreMessageInfo(mi)
  574. }
  575. }
  576. func (x *DiagnosticDetail) String() string {
  577. return protoimpl.X.MessageStringOf(x)
  578. }
  579. func (*DiagnosticDetail) ProtoMessage() {}
  580. func (x *DiagnosticDetail) ProtoReflect() protoreflect.Message {
  581. mi := &file_provisioner_pb_provisioner_proto_msgTypes[10]
  582. if protoimpl.UnsafeEnabled && x != nil {
  583. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  584. if ms.LoadMessageInfo() == nil {
  585. ms.StoreMessageInfo(mi)
  586. }
  587. return ms
  588. }
  589. return mi.MessageOf(x)
  590. }
  591. // Deprecated: Use DiagnosticDetail.ProtoReflect.Descriptor instead.
  592. func (*DiagnosticDetail) Descriptor() ([]byte, []int) {
  593. return file_provisioner_pb_provisioner_proto_rawDescGZIP(), []int{10}
  594. }
  595. func (x *DiagnosticDetail) GetSeverity() string {
  596. if x != nil {
  597. return x.Severity
  598. }
  599. return ""
  600. }
  601. func (x *DiagnosticDetail) GetSummary() string {
  602. if x != nil {
  603. return x.Summary
  604. }
  605. return ""
  606. }
  607. func (x *DiagnosticDetail) GetAddress() string {
  608. if x != nil {
  609. return x.Address
  610. }
  611. return ""
  612. }
  613. func (x *DiagnosticDetail) GetDetail() string {
  614. if x != nil {
  615. return x.Detail
  616. }
  617. return ""
  618. }
  619. type TerraformLog struct {
  620. state protoimpl.MessageState
  621. sizeCache protoimpl.SizeCache
  622. unknownFields protoimpl.UnknownFields
  623. Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"`
  624. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
  625. Timestamp string `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
  626. Type TerraformEvent `protobuf:"varint,4,opt,name=type,proto3,enum=TerraformEvent" json:"type,omitempty"`
  627. Hook *TerraformHook `protobuf:"bytes,5,opt,name=hook,proto3" json:"hook,omitempty"`
  628. Change *TerraformChange `protobuf:"bytes,6,opt,name=change,proto3" json:"change,omitempty"`
  629. Changes *TerraformChanges `protobuf:"bytes,7,opt,name=changes,proto3" json:"changes,omitempty"`
  630. Diagnostic *DiagnosticDetail `protobuf:"bytes,8,opt,name=diagnostic,proto3" json:"diagnostic,omitempty"`
  631. }
  632. func (x *TerraformLog) Reset() {
  633. *x = TerraformLog{}
  634. if protoimpl.UnsafeEnabled {
  635. mi := &file_provisioner_pb_provisioner_proto_msgTypes[11]
  636. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  637. ms.StoreMessageInfo(mi)
  638. }
  639. }
  640. func (x *TerraformLog) String() string {
  641. return protoimpl.X.MessageStringOf(x)
  642. }
  643. func (*TerraformLog) ProtoMessage() {}
  644. func (x *TerraformLog) ProtoReflect() protoreflect.Message {
  645. mi := &file_provisioner_pb_provisioner_proto_msgTypes[11]
  646. if protoimpl.UnsafeEnabled && x != nil {
  647. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  648. if ms.LoadMessageInfo() == nil {
  649. ms.StoreMessageInfo(mi)
  650. }
  651. return ms
  652. }
  653. return mi.MessageOf(x)
  654. }
  655. // Deprecated: Use TerraformLog.ProtoReflect.Descriptor instead.
  656. func (*TerraformLog) Descriptor() ([]byte, []int) {
  657. return file_provisioner_pb_provisioner_proto_rawDescGZIP(), []int{11}
  658. }
  659. func (x *TerraformLog) GetLevel() string {
  660. if x != nil {
  661. return x.Level
  662. }
  663. return ""
  664. }
  665. func (x *TerraformLog) GetMessage() string {
  666. if x != nil {
  667. return x.Message
  668. }
  669. return ""
  670. }
  671. func (x *TerraformLog) GetTimestamp() string {
  672. if x != nil {
  673. return x.Timestamp
  674. }
  675. return ""
  676. }
  677. func (x *TerraformLog) GetType() TerraformEvent {
  678. if x != nil {
  679. return x.Type
  680. }
  681. return TerraformEvent_PLANNED_CHANGE
  682. }
  683. func (x *TerraformLog) GetHook() *TerraformHook {
  684. if x != nil {
  685. return x.Hook
  686. }
  687. return nil
  688. }
  689. func (x *TerraformLog) GetChange() *TerraformChange {
  690. if x != nil {
  691. return x.Change
  692. }
  693. return nil
  694. }
  695. func (x *TerraformLog) GetChanges() *TerraformChanges {
  696. if x != nil {
  697. return x.Changes
  698. }
  699. return nil
  700. }
  701. func (x *TerraformLog) GetDiagnostic() *DiagnosticDetail {
  702. if x != nil {
  703. return x.Diagnostic
  704. }
  705. return nil
  706. }
  707. var File_provisioner_pb_provisioner_proto protoreflect.FileDescriptor
  708. var file_provisioner_pb_provisioner_proto_rawDesc = []byte{
  709. 0x0a, 0x20, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x2f, 0x70, 0x62,
  710. 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f,
  711. 0x74, 0x6f, 0x22, 0x14, 0x0a, 0x12, 0x54, 0x65, 0x72, 0x72, 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x53,
  712. 0x74, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x22, 0x29, 0x0a, 0x09, 0x57, 0x6f, 0x72, 0x6b,
  713. 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61,
  714. 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70,
  715. 0x61, 0x63, 0x65, 0x22, 0x1d, 0x0a, 0x09, 0x4c, 0x6f, 0x67, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
  716. 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x6f, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6c,
  717. 0x6f, 0x67, 0x22, 0x4e, 0x0a, 0x05, 0x49, 0x6e, 0x66, 0x72, 0x61, 0x12, 0x1d, 0x0a, 0x0a, 0x70,
  718. 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
  719. 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
  720. 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x75,
  721. 0x66, 0x66, 0x69, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x75, 0x66, 0x66,
  722. 0x69, 0x78, 0x22, 0x5c, 0x0a, 0x0b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74,
  723. 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64,
  724. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
  725. 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01,
  726. 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72,
  727. 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72,
  728. 0x22, 0xd6, 0x01, 0x0a, 0x11, 0x54, 0x65, 0x72, 0x72, 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x52, 0x65,
  729. 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x01,
  730. 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x64, 0x64, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65,
  731. 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65,
  732. 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
  733. 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72,
  734. 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72,
  735. 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01,
  736. 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65,
  737. 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01,
  738. 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x2b, 0x0a, 0x07,
  739. 0x65, 0x72, 0x72, 0x6f, 0x72, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e,
  740. 0x54, 0x65, 0x72, 0x72, 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x65, 0x64,
  741. 0x52, 0x07, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x65, 0x64, 0x22, 0x58, 0x0a, 0x10, 0x54, 0x65, 0x72,
  742. 0x72, 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x65, 0x64, 0x12, 0x1f, 0x0a,
  743. 0x0b, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x65, 0x64, 0x5f, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01,
  744. 0x28, 0x08, 0x52, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x65, 0x64, 0x4f, 0x75, 0x74, 0x12, 0x23,
  745. 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18,
  746. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x53, 0x75, 0x6d, 0x6d,
  747. 0x61, 0x72, 0x79, 0x22, 0x57, 0x0a, 0x0d, 0x54, 0x65, 0x72, 0x72, 0x61, 0x66, 0x6f, 0x72, 0x6d,
  748. 0x48, 0x6f, 0x6f, 0x6b, 0x12, 0x2e, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
  749. 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x54, 0x65, 0x72, 0x72, 0x61, 0x66, 0x6f,
  750. 0x72, 0x6d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f,
  751. 0x75, 0x72, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02,
  752. 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x59, 0x0a, 0x0f,
  753. 0x54, 0x65, 0x72, 0x72, 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12,
  754. 0x2e, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
  755. 0x0b, 0x32, 0x12, 0x2e, 0x54, 0x65, 0x72, 0x72, 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x52, 0x65, 0x73,
  756. 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12,
  757. 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  758. 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x72, 0x0a, 0x10, 0x54, 0x65, 0x72, 0x72, 0x61,
  759. 0x66, 0x6f, 0x72, 0x6d, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x61,
  760. 0x64, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x61, 0x64, 0x64, 0x12, 0x16, 0x0a,
  761. 0x06, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63,
  762. 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x18,
  763. 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x12, 0x1c, 0x0a,
  764. 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
  765. 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x7a, 0x0a, 0x10, 0x44,
  766. 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12,
  767. 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
  768. 0x09, 0x52, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x73,
  769. 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75,
  770. 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
  771. 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12,
  772. 0x16, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
  773. 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x22, 0xaf, 0x02, 0x0a, 0x0c, 0x54, 0x65, 0x72, 0x72,
  774. 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x4c, 0x6f, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65,
  775. 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x18,
  776. 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  777. 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65,
  778. 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x69, 0x6d,
  779. 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x23, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04,
  780. 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x54, 0x65, 0x72, 0x72, 0x61, 0x66, 0x6f, 0x72, 0x6d,
  781. 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a, 0x04, 0x68,
  782. 0x6f, 0x6f, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x54, 0x65, 0x72, 0x72,
  783. 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x04, 0x68, 0x6f, 0x6f, 0x6b, 0x12,
  784. 0x28, 0x0a, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
  785. 0x10, 0x2e, 0x54, 0x65, 0x72, 0x72, 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x43, 0x68, 0x61, 0x6e, 0x67,
  786. 0x65, 0x52, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x2b, 0x0a, 0x07, 0x63, 0x68, 0x61,
  787. 0x6e, 0x67, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x54, 0x65, 0x72,
  788. 0x72, 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x52, 0x07, 0x63,
  789. 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x31, 0x0a, 0x0a, 0x64, 0x69, 0x61, 0x67, 0x6e, 0x6f,
  790. 0x73, 0x74, 0x69, 0x63, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x44, 0x69, 0x61,
  791. 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x0a, 0x64,
  792. 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x2a, 0x94, 0x01, 0x0a, 0x0e, 0x54, 0x65,
  793. 0x72, 0x72, 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x0e,
  794. 0x50, 0x4c, 0x41, 0x4e, 0x4e, 0x45, 0x44, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x00,
  795. 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x53, 0x55, 0x4d, 0x4d, 0x41,
  796. 0x52, 0x59, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x41, 0x50, 0x50, 0x4c, 0x59, 0x5f, 0x53, 0x54,
  797. 0x41, 0x52, 0x54, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x41, 0x50, 0x50, 0x4c, 0x59, 0x5f, 0x50,
  798. 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x41, 0x50, 0x50,
  799. 0x4c, 0x59, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x45, 0x44, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e,
  800. 0x41, 0x50, 0x50, 0x4c, 0x59, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x05,
  801. 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x49, 0x41, 0x47, 0x4e, 0x4f, 0x53, 0x54, 0x49, 0x43, 0x10, 0x06,
  802. 0x32, 0x8f, 0x01, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72,
  803. 0x12, 0x2a, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x55, 0x70, 0x64, 0x61,
  804. 0x74, 0x65, 0x12, 0x06, 0x2e, 0x49, 0x6e, 0x66, 0x72, 0x61, 0x1a, 0x0c, 0x2e, 0x53, 0x74, 0x61,
  805. 0x74, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x20, 0x0a, 0x06,
  806. 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x67, 0x12, 0x06, 0x2e, 0x49, 0x6e, 0x66, 0x72, 0x61, 0x1a, 0x0a,
  807. 0x2e, 0x4c, 0x6f, 0x67, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x00, 0x30, 0x01, 0x12, 0x32,
  808. 0x0a, 0x08, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x4c, 0x6f, 0x67, 0x12, 0x0d, 0x2e, 0x54, 0x65, 0x72,
  809. 0x72, 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x4c, 0x6f, 0x67, 0x1a, 0x13, 0x2e, 0x54, 0x65, 0x72, 0x72,
  810. 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x22, 0x00,
  811. 0x28, 0x01, 0x42, 0x2d, 0x5a, 0x2b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
  812. 0x2f, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x2d, 0x64, 0x65, 0x76, 0x2f, 0x70, 0x6f, 0x72, 0x74,
  813. 0x65, 0x72, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x2f, 0x70,
  814. 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  815. }
  816. var (
  817. file_provisioner_pb_provisioner_proto_rawDescOnce sync.Once
  818. file_provisioner_pb_provisioner_proto_rawDescData = file_provisioner_pb_provisioner_proto_rawDesc
  819. )
  820. func file_provisioner_pb_provisioner_proto_rawDescGZIP() []byte {
  821. file_provisioner_pb_provisioner_proto_rawDescOnce.Do(func() {
  822. file_provisioner_pb_provisioner_proto_rawDescData = protoimpl.X.CompressGZIP(file_provisioner_pb_provisioner_proto_rawDescData)
  823. })
  824. return file_provisioner_pb_provisioner_proto_rawDescData
  825. }
  826. var file_provisioner_pb_provisioner_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
  827. var file_provisioner_pb_provisioner_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
  828. var file_provisioner_pb_provisioner_proto_goTypes = []interface{}{
  829. (TerraformEvent)(0), // 0: TerraformEvent
  830. (*TerraformStateMeta)(nil), // 1: TerraformStateMeta
  831. (*Workspace)(nil), // 2: Workspace
  832. (*LogString)(nil), // 3: LogString
  833. (*Infra)(nil), // 4: Infra
  834. (*StateUpdate)(nil), // 5: StateUpdate
  835. (*TerraformResource)(nil), // 6: TerraformResource
  836. (*TerraformErrored)(nil), // 7: TerraformErrored
  837. (*TerraformHook)(nil), // 8: TerraformHook
  838. (*TerraformChange)(nil), // 9: TerraformChange
  839. (*TerraformChanges)(nil), // 10: TerraformChanges
  840. (*DiagnosticDetail)(nil), // 11: DiagnosticDetail
  841. (*TerraformLog)(nil), // 12: TerraformLog
  842. }
  843. var file_provisioner_pb_provisioner_proto_depIdxs = []int32{
  844. 7, // 0: TerraformResource.errored:type_name -> TerraformErrored
  845. 6, // 1: TerraformHook.resource:type_name -> TerraformResource
  846. 6, // 2: TerraformChange.resource:type_name -> TerraformResource
  847. 0, // 3: TerraformLog.type:type_name -> TerraformEvent
  848. 8, // 4: TerraformLog.hook:type_name -> TerraformHook
  849. 9, // 5: TerraformLog.change:type_name -> TerraformChange
  850. 10, // 6: TerraformLog.changes:type_name -> TerraformChanges
  851. 11, // 7: TerraformLog.diagnostic:type_name -> DiagnosticDetail
  852. 4, // 8: Provisioner.GetStateUpdate:input_type -> Infra
  853. 4, // 9: Provisioner.GetLog:input_type -> Infra
  854. 12, // 10: Provisioner.StoreLog:input_type -> TerraformLog
  855. 5, // 11: Provisioner.GetStateUpdate:output_type -> StateUpdate
  856. 3, // 12: Provisioner.GetLog:output_type -> LogString
  857. 1, // 13: Provisioner.StoreLog:output_type -> TerraformStateMeta
  858. 11, // [11:14] is the sub-list for method output_type
  859. 8, // [8:11] is the sub-list for method input_type
  860. 8, // [8:8] is the sub-list for extension type_name
  861. 8, // [8:8] is the sub-list for extension extendee
  862. 0, // [0:8] is the sub-list for field type_name
  863. }
  864. func init() { file_provisioner_pb_provisioner_proto_init() }
  865. func file_provisioner_pb_provisioner_proto_init() {
  866. if File_provisioner_pb_provisioner_proto != nil {
  867. return
  868. }
  869. if !protoimpl.UnsafeEnabled {
  870. file_provisioner_pb_provisioner_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  871. switch v := v.(*TerraformStateMeta); i {
  872. case 0:
  873. return &v.state
  874. case 1:
  875. return &v.sizeCache
  876. case 2:
  877. return &v.unknownFields
  878. default:
  879. return nil
  880. }
  881. }
  882. file_provisioner_pb_provisioner_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  883. switch v := v.(*Workspace); i {
  884. case 0:
  885. return &v.state
  886. case 1:
  887. return &v.sizeCache
  888. case 2:
  889. return &v.unknownFields
  890. default:
  891. return nil
  892. }
  893. }
  894. file_provisioner_pb_provisioner_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  895. switch v := v.(*LogString); i {
  896. case 0:
  897. return &v.state
  898. case 1:
  899. return &v.sizeCache
  900. case 2:
  901. return &v.unknownFields
  902. default:
  903. return nil
  904. }
  905. }
  906. file_provisioner_pb_provisioner_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  907. switch v := v.(*Infra); i {
  908. case 0:
  909. return &v.state
  910. case 1:
  911. return &v.sizeCache
  912. case 2:
  913. return &v.unknownFields
  914. default:
  915. return nil
  916. }
  917. }
  918. file_provisioner_pb_provisioner_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  919. switch v := v.(*StateUpdate); i {
  920. case 0:
  921. return &v.state
  922. case 1:
  923. return &v.sizeCache
  924. case 2:
  925. return &v.unknownFields
  926. default:
  927. return nil
  928. }
  929. }
  930. file_provisioner_pb_provisioner_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  931. switch v := v.(*TerraformResource); i {
  932. case 0:
  933. return &v.state
  934. case 1:
  935. return &v.sizeCache
  936. case 2:
  937. return &v.unknownFields
  938. default:
  939. return nil
  940. }
  941. }
  942. file_provisioner_pb_provisioner_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  943. switch v := v.(*TerraformErrored); i {
  944. case 0:
  945. return &v.state
  946. case 1:
  947. return &v.sizeCache
  948. case 2:
  949. return &v.unknownFields
  950. default:
  951. return nil
  952. }
  953. }
  954. file_provisioner_pb_provisioner_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  955. switch v := v.(*TerraformHook); i {
  956. case 0:
  957. return &v.state
  958. case 1:
  959. return &v.sizeCache
  960. case 2:
  961. return &v.unknownFields
  962. default:
  963. return nil
  964. }
  965. }
  966. file_provisioner_pb_provisioner_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  967. switch v := v.(*TerraformChange); i {
  968. case 0:
  969. return &v.state
  970. case 1:
  971. return &v.sizeCache
  972. case 2:
  973. return &v.unknownFields
  974. default:
  975. return nil
  976. }
  977. }
  978. file_provisioner_pb_provisioner_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  979. switch v := v.(*TerraformChanges); i {
  980. case 0:
  981. return &v.state
  982. case 1:
  983. return &v.sizeCache
  984. case 2:
  985. return &v.unknownFields
  986. default:
  987. return nil
  988. }
  989. }
  990. file_provisioner_pb_provisioner_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  991. switch v := v.(*DiagnosticDetail); i {
  992. case 0:
  993. return &v.state
  994. case 1:
  995. return &v.sizeCache
  996. case 2:
  997. return &v.unknownFields
  998. default:
  999. return nil
  1000. }
  1001. }
  1002. file_provisioner_pb_provisioner_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1003. switch v := v.(*TerraformLog); i {
  1004. case 0:
  1005. return &v.state
  1006. case 1:
  1007. return &v.sizeCache
  1008. case 2:
  1009. return &v.unknownFields
  1010. default:
  1011. return nil
  1012. }
  1013. }
  1014. }
  1015. type x struct{}
  1016. out := protoimpl.TypeBuilder{
  1017. File: protoimpl.DescBuilder{
  1018. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1019. RawDescriptor: file_provisioner_pb_provisioner_proto_rawDesc,
  1020. NumEnums: 1,
  1021. NumMessages: 12,
  1022. NumExtensions: 0,
  1023. NumServices: 1,
  1024. },
  1025. GoTypes: file_provisioner_pb_provisioner_proto_goTypes,
  1026. DependencyIndexes: file_provisioner_pb_provisioner_proto_depIdxs,
  1027. EnumInfos: file_provisioner_pb_provisioner_proto_enumTypes,
  1028. MessageInfos: file_provisioner_pb_provisioner_proto_msgTypes,
  1029. }.Build()
  1030. File_provisioner_pb_provisioner_proto = out.File
  1031. file_provisioner_pb_provisioner_proto_rawDesc = nil
  1032. file_provisioner_pb_provisioner_proto_goTypes = nil
  1033. file_provisioner_pb_provisioner_proto_depIdxs = nil
  1034. }