| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.27.1
- // protoc v3.19.3
- // source: provisioner/pb/provisioner.proto
- package pb
- import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
- )
- const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
- )
- type TerraformEvent int32
- const (
- TerraformEvent_PLANNED_CHANGE TerraformEvent = 0
- TerraformEvent_CHANGE_SUMMARY TerraformEvent = 1
- TerraformEvent_APPLY_START TerraformEvent = 2
- TerraformEvent_APPLY_PROGRESS TerraformEvent = 3
- TerraformEvent_APPLY_ERRORED TerraformEvent = 4
- TerraformEvent_APPLY_COMPLETE TerraformEvent = 5
- TerraformEvent_DIAGNOSTIC TerraformEvent = 6
- )
- // Enum value maps for TerraformEvent.
- var (
- TerraformEvent_name = map[int32]string{
- 0: "PLANNED_CHANGE",
- 1: "CHANGE_SUMMARY",
- 2: "APPLY_START",
- 3: "APPLY_PROGRESS",
- 4: "APPLY_ERRORED",
- 5: "APPLY_COMPLETE",
- 6: "DIAGNOSTIC",
- }
- TerraformEvent_value = map[string]int32{
- "PLANNED_CHANGE": 0,
- "CHANGE_SUMMARY": 1,
- "APPLY_START": 2,
- "APPLY_PROGRESS": 3,
- "APPLY_ERRORED": 4,
- "APPLY_COMPLETE": 5,
- "DIAGNOSTIC": 6,
- }
- )
- func (x TerraformEvent) Enum() *TerraformEvent {
- p := new(TerraformEvent)
- *p = x
- return p
- }
- func (x TerraformEvent) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (TerraformEvent) Descriptor() protoreflect.EnumDescriptor {
- return file_provisioner_pb_provisioner_proto_enumTypes[0].Descriptor()
- }
- func (TerraformEvent) Type() protoreflect.EnumType {
- return &file_provisioner_pb_provisioner_proto_enumTypes[0]
- }
- func (x TerraformEvent) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use TerraformEvent.Descriptor instead.
- func (TerraformEvent) EnumDescriptor() ([]byte, []int) {
- return file_provisioner_pb_provisioner_proto_rawDescGZIP(), []int{0}
- }
- type TerraformStateMeta struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *TerraformStateMeta) Reset() {
- *x = TerraformStateMeta{}
- if protoimpl.UnsafeEnabled {
- mi := &file_provisioner_pb_provisioner_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *TerraformStateMeta) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*TerraformStateMeta) ProtoMessage() {}
- func (x *TerraformStateMeta) ProtoReflect() protoreflect.Message {
- mi := &file_provisioner_pb_provisioner_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use TerraformStateMeta.ProtoReflect.Descriptor instead.
- func (*TerraformStateMeta) Descriptor() ([]byte, []int) {
- return file_provisioner_pb_provisioner_proto_rawDescGZIP(), []int{0}
- }
- type Workspace struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Workspace string `protobuf:"bytes,1,opt,name=workspace,proto3" json:"workspace,omitempty"`
- }
- func (x *Workspace) Reset() {
- *x = Workspace{}
- if protoimpl.UnsafeEnabled {
- mi := &file_provisioner_pb_provisioner_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Workspace) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Workspace) ProtoMessage() {}
- func (x *Workspace) ProtoReflect() protoreflect.Message {
- mi := &file_provisioner_pb_provisioner_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Workspace.ProtoReflect.Descriptor instead.
- func (*Workspace) Descriptor() ([]byte, []int) {
- return file_provisioner_pb_provisioner_proto_rawDescGZIP(), []int{1}
- }
- func (x *Workspace) GetWorkspace() string {
- if x != nil {
- return x.Workspace
- }
- return ""
- }
- type LogString struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Log string `protobuf:"bytes,1,opt,name=log,proto3" json:"log,omitempty"`
- }
- func (x *LogString) Reset() {
- *x = LogString{}
- if protoimpl.UnsafeEnabled {
- mi := &file_provisioner_pb_provisioner_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *LogString) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LogString) ProtoMessage() {}
- func (x *LogString) ProtoReflect() protoreflect.Message {
- mi := &file_provisioner_pb_provisioner_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use LogString.ProtoReflect.Descriptor instead.
- func (*LogString) Descriptor() ([]byte, []int) {
- return file_provisioner_pb_provisioner_proto_rawDescGZIP(), []int{2}
- }
- func (x *LogString) GetLog() string {
- if x != nil {
- return x.Log
- }
- return ""
- }
- type Infra struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- ProjectId int64 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
- Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
- Suffix string `protobuf:"bytes,3,opt,name=suffix,proto3" json:"suffix,omitempty"`
- }
- func (x *Infra) Reset() {
- *x = Infra{}
- if protoimpl.UnsafeEnabled {
- mi := &file_provisioner_pb_provisioner_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Infra) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Infra) ProtoMessage() {}
- func (x *Infra) ProtoReflect() protoreflect.Message {
- mi := &file_provisioner_pb_provisioner_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Infra.ProtoReflect.Descriptor instead.
- func (*Infra) Descriptor() ([]byte, []int) {
- return file_provisioner_pb_provisioner_proto_rawDescGZIP(), []int{3}
- }
- func (x *Infra) GetProjectId() int64 {
- if x != nil {
- return x.ProjectId
- }
- return 0
- }
- func (x *Infra) GetId() int64 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- func (x *Infra) GetSuffix() string {
- if x != nil {
- return x.Suffix
- }
- return ""
- }
- type StateUpdate struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
- Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
- Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
- }
- func (x *StateUpdate) Reset() {
- *x = StateUpdate{}
- if protoimpl.UnsafeEnabled {
- mi := &file_provisioner_pb_provisioner_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *StateUpdate) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*StateUpdate) ProtoMessage() {}
- func (x *StateUpdate) ProtoReflect() protoreflect.Message {
- mi := &file_provisioner_pb_provisioner_proto_msgTypes[4]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use StateUpdate.ProtoReflect.Descriptor instead.
- func (*StateUpdate) Descriptor() ([]byte, []int) {
- return file_provisioner_pb_provisioner_proto_rawDescGZIP(), []int{4}
- }
- func (x *StateUpdate) GetResourceId() string {
- if x != nil {
- return x.ResourceId
- }
- return ""
- }
- func (x *StateUpdate) GetStatus() string {
- if x != nil {
- return x.Status
- }
- return ""
- }
- func (x *StateUpdate) GetError() string {
- if x != nil {
- return x.Error
- }
- return ""
- }
- type TerraformResource struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
- Resource string `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
- ResourceType string `protobuf:"bytes,3,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
- ResourceName string `protobuf:"bytes,4,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
- Provider string `protobuf:"bytes,5,opt,name=provider,proto3" json:"provider,omitempty"`
- Errored *TerraformErrored `protobuf:"bytes,6,opt,name=errored,proto3" json:"errored,omitempty"`
- }
- func (x *TerraformResource) Reset() {
- *x = TerraformResource{}
- if protoimpl.UnsafeEnabled {
- mi := &file_provisioner_pb_provisioner_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *TerraformResource) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*TerraformResource) ProtoMessage() {}
- func (x *TerraformResource) ProtoReflect() protoreflect.Message {
- mi := &file_provisioner_pb_provisioner_proto_msgTypes[5]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use TerraformResource.ProtoReflect.Descriptor instead.
- func (*TerraformResource) Descriptor() ([]byte, []int) {
- return file_provisioner_pb_provisioner_proto_rawDescGZIP(), []int{5}
- }
- func (x *TerraformResource) GetAddr() string {
- if x != nil {
- return x.Addr
- }
- return ""
- }
- func (x *TerraformResource) GetResource() string {
- if x != nil {
- return x.Resource
- }
- return ""
- }
- func (x *TerraformResource) GetResourceType() string {
- if x != nil {
- return x.ResourceType
- }
- return ""
- }
- func (x *TerraformResource) GetResourceName() string {
- if x != nil {
- return x.ResourceName
- }
- return ""
- }
- func (x *TerraformResource) GetProvider() string {
- if x != nil {
- return x.Provider
- }
- return ""
- }
- func (x *TerraformResource) GetErrored() *TerraformErrored {
- if x != nil {
- return x.Errored
- }
- return nil
- }
- type TerraformErrored struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- ErroredOut bool `protobuf:"varint,1,opt,name=errored_out,json=erroredOut,proto3" json:"errored_out,omitempty"`
- ErrorSummary string `protobuf:"bytes,2,opt,name=error_summary,json=errorSummary,proto3" json:"error_summary,omitempty"`
- }
- func (x *TerraformErrored) Reset() {
- *x = TerraformErrored{}
- if protoimpl.UnsafeEnabled {
- mi := &file_provisioner_pb_provisioner_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *TerraformErrored) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*TerraformErrored) ProtoMessage() {}
- func (x *TerraformErrored) ProtoReflect() protoreflect.Message {
- mi := &file_provisioner_pb_provisioner_proto_msgTypes[6]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use TerraformErrored.ProtoReflect.Descriptor instead.
- func (*TerraformErrored) Descriptor() ([]byte, []int) {
- return file_provisioner_pb_provisioner_proto_rawDescGZIP(), []int{6}
- }
- func (x *TerraformErrored) GetErroredOut() bool {
- if x != nil {
- return x.ErroredOut
- }
- return false
- }
- func (x *TerraformErrored) GetErrorSummary() string {
- if x != nil {
- return x.ErrorSummary
- }
- return ""
- }
- type TerraformHook struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Resource *TerraformResource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
- Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
- }
- func (x *TerraformHook) Reset() {
- *x = TerraformHook{}
- if protoimpl.UnsafeEnabled {
- mi := &file_provisioner_pb_provisioner_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *TerraformHook) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*TerraformHook) ProtoMessage() {}
- func (x *TerraformHook) ProtoReflect() protoreflect.Message {
- mi := &file_provisioner_pb_provisioner_proto_msgTypes[7]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use TerraformHook.ProtoReflect.Descriptor instead.
- func (*TerraformHook) Descriptor() ([]byte, []int) {
- return file_provisioner_pb_provisioner_proto_rawDescGZIP(), []int{7}
- }
- func (x *TerraformHook) GetResource() *TerraformResource {
- if x != nil {
- return x.Resource
- }
- return nil
- }
- func (x *TerraformHook) GetAction() string {
- if x != nil {
- return x.Action
- }
- return ""
- }
- type TerraformChange struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Resource *TerraformResource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
- Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
- }
- func (x *TerraformChange) Reset() {
- *x = TerraformChange{}
- if protoimpl.UnsafeEnabled {
- mi := &file_provisioner_pb_provisioner_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *TerraformChange) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*TerraformChange) ProtoMessage() {}
- func (x *TerraformChange) ProtoReflect() protoreflect.Message {
- mi := &file_provisioner_pb_provisioner_proto_msgTypes[8]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use TerraformChange.ProtoReflect.Descriptor instead.
- func (*TerraformChange) Descriptor() ([]byte, []int) {
- return file_provisioner_pb_provisioner_proto_rawDescGZIP(), []int{8}
- }
- func (x *TerraformChange) GetResource() *TerraformResource {
- if x != nil {
- return x.Resource
- }
- return nil
- }
- func (x *TerraformChange) GetAction() string {
- if x != nil {
- return x.Action
- }
- return ""
- }
- type TerraformChanges struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Add int64 `protobuf:"varint,1,opt,name=add,proto3" json:"add,omitempty"`
- Change int64 `protobuf:"varint,2,opt,name=change,proto3" json:"change,omitempty"`
- Remove int64 `protobuf:"varint,3,opt,name=remove,proto3" json:"remove,omitempty"`
- Operation string `protobuf:"bytes,4,opt,name=operation,proto3" json:"operation,omitempty"`
- }
- func (x *TerraformChanges) Reset() {
- *x = TerraformChanges{}
- if protoimpl.UnsafeEnabled {
- mi := &file_provisioner_pb_provisioner_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *TerraformChanges) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*TerraformChanges) ProtoMessage() {}
- func (x *TerraformChanges) ProtoReflect() protoreflect.Message {
- mi := &file_provisioner_pb_provisioner_proto_msgTypes[9]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use TerraformChanges.ProtoReflect.Descriptor instead.
- func (*TerraformChanges) Descriptor() ([]byte, []int) {
- return file_provisioner_pb_provisioner_proto_rawDescGZIP(), []int{9}
- }
- func (x *TerraformChanges) GetAdd() int64 {
- if x != nil {
- return x.Add
- }
- return 0
- }
- func (x *TerraformChanges) GetChange() int64 {
- if x != nil {
- return x.Change
- }
- return 0
- }
- func (x *TerraformChanges) GetRemove() int64 {
- if x != nil {
- return x.Remove
- }
- return 0
- }
- func (x *TerraformChanges) GetOperation() string {
- if x != nil {
- return x.Operation
- }
- return ""
- }
- type DiagnosticDetail struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Severity string `protobuf:"bytes,1,opt,name=severity,proto3" json:"severity,omitempty"`
- Summary string `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"`
- Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
- Detail string `protobuf:"bytes,4,opt,name=detail,proto3" json:"detail,omitempty"`
- }
- func (x *DiagnosticDetail) Reset() {
- *x = DiagnosticDetail{}
- if protoimpl.UnsafeEnabled {
- mi := &file_provisioner_pb_provisioner_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *DiagnosticDetail) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*DiagnosticDetail) ProtoMessage() {}
- func (x *DiagnosticDetail) ProtoReflect() protoreflect.Message {
- mi := &file_provisioner_pb_provisioner_proto_msgTypes[10]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use DiagnosticDetail.ProtoReflect.Descriptor instead.
- func (*DiagnosticDetail) Descriptor() ([]byte, []int) {
- return file_provisioner_pb_provisioner_proto_rawDescGZIP(), []int{10}
- }
- func (x *DiagnosticDetail) GetSeverity() string {
- if x != nil {
- return x.Severity
- }
- return ""
- }
- func (x *DiagnosticDetail) GetSummary() string {
- if x != nil {
- return x.Summary
- }
- return ""
- }
- func (x *DiagnosticDetail) GetAddress() string {
- if x != nil {
- return x.Address
- }
- return ""
- }
- func (x *DiagnosticDetail) GetDetail() string {
- if x != nil {
- return x.Detail
- }
- return ""
- }
- type TerraformLog struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"`
- Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
- Timestamp string `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
- Type TerraformEvent `protobuf:"varint,4,opt,name=type,proto3,enum=TerraformEvent" json:"type,omitempty"`
- Hook *TerraformHook `protobuf:"bytes,5,opt,name=hook,proto3" json:"hook,omitempty"`
- Change *TerraformChange `protobuf:"bytes,6,opt,name=change,proto3" json:"change,omitempty"`
- Changes *TerraformChanges `protobuf:"bytes,7,opt,name=changes,proto3" json:"changes,omitempty"`
- Diagnostic *DiagnosticDetail `protobuf:"bytes,8,opt,name=diagnostic,proto3" json:"diagnostic,omitempty"`
- }
- func (x *TerraformLog) Reset() {
- *x = TerraformLog{}
- if protoimpl.UnsafeEnabled {
- mi := &file_provisioner_pb_provisioner_proto_msgTypes[11]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *TerraformLog) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*TerraformLog) ProtoMessage() {}
- func (x *TerraformLog) ProtoReflect() protoreflect.Message {
- mi := &file_provisioner_pb_provisioner_proto_msgTypes[11]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use TerraformLog.ProtoReflect.Descriptor instead.
- func (*TerraformLog) Descriptor() ([]byte, []int) {
- return file_provisioner_pb_provisioner_proto_rawDescGZIP(), []int{11}
- }
- func (x *TerraformLog) GetLevel() string {
- if x != nil {
- return x.Level
- }
- return ""
- }
- func (x *TerraformLog) GetMessage() string {
- if x != nil {
- return x.Message
- }
- return ""
- }
- func (x *TerraformLog) GetTimestamp() string {
- if x != nil {
- return x.Timestamp
- }
- return ""
- }
- func (x *TerraformLog) GetType() TerraformEvent {
- if x != nil {
- return x.Type
- }
- return TerraformEvent_PLANNED_CHANGE
- }
- func (x *TerraformLog) GetHook() *TerraformHook {
- if x != nil {
- return x.Hook
- }
- return nil
- }
- func (x *TerraformLog) GetChange() *TerraformChange {
- if x != nil {
- return x.Change
- }
- return nil
- }
- func (x *TerraformLog) GetChanges() *TerraformChanges {
- if x != nil {
- return x.Changes
- }
- return nil
- }
- func (x *TerraformLog) GetDiagnostic() *DiagnosticDetail {
- if x != nil {
- return x.Diagnostic
- }
- return nil
- }
- var File_provisioner_pb_provisioner_proto protoreflect.FileDescriptor
- var file_provisioner_pb_provisioner_proto_rawDesc = []byte{
- 0x0a, 0x20, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x2f, 0x70, 0x62,
- 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x22, 0x14, 0x0a, 0x12, 0x54, 0x65, 0x72, 0x72, 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x53,
- 0x74, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x22, 0x29, 0x0a, 0x09, 0x57, 0x6f, 0x72, 0x6b,
- 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61,
- 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70,
- 0x61, 0x63, 0x65, 0x22, 0x1d, 0x0a, 0x09, 0x4c, 0x6f, 0x67, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
- 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x6f, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6c,
- 0x6f, 0x67, 0x22, 0x4e, 0x0a, 0x05, 0x49, 0x6e, 0x66, 0x72, 0x61, 0x12, 0x1d, 0x0a, 0x0a, 0x70,
- 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
- 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x75,
- 0x66, 0x66, 0x69, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x75, 0x66, 0x66,
- 0x69, 0x78, 0x22, 0x5c, 0x0a, 0x0b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74,
- 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
- 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72,
- 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72,
- 0x22, 0xd6, 0x01, 0x0a, 0x11, 0x54, 0x65, 0x72, 0x72, 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x52, 0x65,
- 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x64, 0x64, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65,
- 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65,
- 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
- 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72,
- 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72,
- 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65,
- 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x2b, 0x0a, 0x07,
- 0x65, 0x72, 0x72, 0x6f, 0x72, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e,
- 0x54, 0x65, 0x72, 0x72, 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x65, 0x64,
- 0x52, 0x07, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x65, 0x64, 0x22, 0x58, 0x0a, 0x10, 0x54, 0x65, 0x72,
- 0x72, 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x65, 0x64, 0x12, 0x1f, 0x0a,
- 0x0b, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x65, 0x64, 0x5f, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x08, 0x52, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x65, 0x64, 0x4f, 0x75, 0x74, 0x12, 0x23,
- 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x53, 0x75, 0x6d, 0x6d,
- 0x61, 0x72, 0x79, 0x22, 0x57, 0x0a, 0x0d, 0x54, 0x65, 0x72, 0x72, 0x61, 0x66, 0x6f, 0x72, 0x6d,
- 0x48, 0x6f, 0x6f, 0x6b, 0x12, 0x2e, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x54, 0x65, 0x72, 0x72, 0x61, 0x66, 0x6f,
- 0x72, 0x6d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f,
- 0x75, 0x72, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x59, 0x0a, 0x0f,
- 0x54, 0x65, 0x72, 0x72, 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12,
- 0x2e, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x12, 0x2e, 0x54, 0x65, 0x72, 0x72, 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x52, 0x65, 0x73,
- 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12,
- 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x72, 0x0a, 0x10, 0x54, 0x65, 0x72, 0x72, 0x61,
- 0x66, 0x6f, 0x72, 0x6d, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x61,
- 0x64, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x61, 0x64, 0x64, 0x12, 0x16, 0x0a,
- 0x06, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63,
- 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x12, 0x1c, 0x0a,
- 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x7a, 0x0a, 0x10, 0x44,
- 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12,
- 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x73,
- 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75,
- 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
- 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12,
- 0x16, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x22, 0xaf, 0x02, 0x0a, 0x0c, 0x54, 0x65, 0x72, 0x72,
- 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x4c, 0x6f, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65,
- 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x18,
- 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65,
- 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x69, 0x6d,
- 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x23, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04,
- 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x54, 0x65, 0x72, 0x72, 0x61, 0x66, 0x6f, 0x72, 0x6d,
- 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a, 0x04, 0x68,
- 0x6f, 0x6f, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x54, 0x65, 0x72, 0x72,
- 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x04, 0x68, 0x6f, 0x6f, 0x6b, 0x12,
- 0x28, 0x0a, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x10, 0x2e, 0x54, 0x65, 0x72, 0x72, 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x43, 0x68, 0x61, 0x6e, 0x67,
- 0x65, 0x52, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x2b, 0x0a, 0x07, 0x63, 0x68, 0x61,
- 0x6e, 0x67, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x54, 0x65, 0x72,
- 0x72, 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x52, 0x07, 0x63,
- 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x31, 0x0a, 0x0a, 0x64, 0x69, 0x61, 0x67, 0x6e, 0x6f,
- 0x73, 0x74, 0x69, 0x63, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x44, 0x69, 0x61,
- 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x0a, 0x64,
- 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x2a, 0x94, 0x01, 0x0a, 0x0e, 0x54, 0x65,
- 0x72, 0x72, 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x0e,
- 0x50, 0x4c, 0x41, 0x4e, 0x4e, 0x45, 0x44, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x00,
- 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x53, 0x55, 0x4d, 0x4d, 0x41,
- 0x52, 0x59, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x41, 0x50, 0x50, 0x4c, 0x59, 0x5f, 0x53, 0x54,
- 0x41, 0x52, 0x54, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x41, 0x50, 0x50, 0x4c, 0x59, 0x5f, 0x50,
- 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x41, 0x50, 0x50,
- 0x4c, 0x59, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x45, 0x44, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e,
- 0x41, 0x50, 0x50, 0x4c, 0x59, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x05,
- 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x49, 0x41, 0x47, 0x4e, 0x4f, 0x53, 0x54, 0x49, 0x43, 0x10, 0x06,
- 0x32, 0x8f, 0x01, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72,
- 0x12, 0x2a, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x55, 0x70, 0x64, 0x61,
- 0x74, 0x65, 0x12, 0x06, 0x2e, 0x49, 0x6e, 0x66, 0x72, 0x61, 0x1a, 0x0c, 0x2e, 0x53, 0x74, 0x61,
- 0x74, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x20, 0x0a, 0x06,
- 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x67, 0x12, 0x06, 0x2e, 0x49, 0x6e, 0x66, 0x72, 0x61, 0x1a, 0x0a,
- 0x2e, 0x4c, 0x6f, 0x67, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x00, 0x30, 0x01, 0x12, 0x32,
- 0x0a, 0x08, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x4c, 0x6f, 0x67, 0x12, 0x0d, 0x2e, 0x54, 0x65, 0x72,
- 0x72, 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x4c, 0x6f, 0x67, 0x1a, 0x13, 0x2e, 0x54, 0x65, 0x72, 0x72,
- 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x22, 0x00,
- 0x28, 0x01, 0x42, 0x2d, 0x5a, 0x2b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
- 0x2f, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x2d, 0x64, 0x65, 0x76, 0x2f, 0x70, 0x6f, 0x72, 0x74,
- 0x65, 0x72, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x2f, 0x70,
- 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
- }
- var (
- file_provisioner_pb_provisioner_proto_rawDescOnce sync.Once
- file_provisioner_pb_provisioner_proto_rawDescData = file_provisioner_pb_provisioner_proto_rawDesc
- )
- func file_provisioner_pb_provisioner_proto_rawDescGZIP() []byte {
- file_provisioner_pb_provisioner_proto_rawDescOnce.Do(func() {
- file_provisioner_pb_provisioner_proto_rawDescData = protoimpl.X.CompressGZIP(file_provisioner_pb_provisioner_proto_rawDescData)
- })
- return file_provisioner_pb_provisioner_proto_rawDescData
- }
- var file_provisioner_pb_provisioner_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
- var file_provisioner_pb_provisioner_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
- var file_provisioner_pb_provisioner_proto_goTypes = []interface{}{
- (TerraformEvent)(0), // 0: TerraformEvent
- (*TerraformStateMeta)(nil), // 1: TerraformStateMeta
- (*Workspace)(nil), // 2: Workspace
- (*LogString)(nil), // 3: LogString
- (*Infra)(nil), // 4: Infra
- (*StateUpdate)(nil), // 5: StateUpdate
- (*TerraformResource)(nil), // 6: TerraformResource
- (*TerraformErrored)(nil), // 7: TerraformErrored
- (*TerraformHook)(nil), // 8: TerraformHook
- (*TerraformChange)(nil), // 9: TerraformChange
- (*TerraformChanges)(nil), // 10: TerraformChanges
- (*DiagnosticDetail)(nil), // 11: DiagnosticDetail
- (*TerraformLog)(nil), // 12: TerraformLog
- }
- var file_provisioner_pb_provisioner_proto_depIdxs = []int32{
- 7, // 0: TerraformResource.errored:type_name -> TerraformErrored
- 6, // 1: TerraformHook.resource:type_name -> TerraformResource
- 6, // 2: TerraformChange.resource:type_name -> TerraformResource
- 0, // 3: TerraformLog.type:type_name -> TerraformEvent
- 8, // 4: TerraformLog.hook:type_name -> TerraformHook
- 9, // 5: TerraformLog.change:type_name -> TerraformChange
- 10, // 6: TerraformLog.changes:type_name -> TerraformChanges
- 11, // 7: TerraformLog.diagnostic:type_name -> DiagnosticDetail
- 4, // 8: Provisioner.GetStateUpdate:input_type -> Infra
- 4, // 9: Provisioner.GetLog:input_type -> Infra
- 12, // 10: Provisioner.StoreLog:input_type -> TerraformLog
- 5, // 11: Provisioner.GetStateUpdate:output_type -> StateUpdate
- 3, // 12: Provisioner.GetLog:output_type -> LogString
- 1, // 13: Provisioner.StoreLog:output_type -> TerraformStateMeta
- 11, // [11:14] is the sub-list for method output_type
- 8, // [8:11] is the sub-list for method input_type
- 8, // [8:8] is the sub-list for extension type_name
- 8, // [8:8] is the sub-list for extension extendee
- 0, // [0:8] is the sub-list for field type_name
- }
- func init() { file_provisioner_pb_provisioner_proto_init() }
- func file_provisioner_pb_provisioner_proto_init() {
- if File_provisioner_pb_provisioner_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_provisioner_pb_provisioner_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TerraformStateMeta); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_provisioner_pb_provisioner_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Workspace); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_provisioner_pb_provisioner_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*LogString); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_provisioner_pb_provisioner_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Infra); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_provisioner_pb_provisioner_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*StateUpdate); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_provisioner_pb_provisioner_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TerraformResource); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_provisioner_pb_provisioner_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TerraformErrored); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_provisioner_pb_provisioner_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TerraformHook); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_provisioner_pb_provisioner_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TerraformChange); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_provisioner_pb_provisioner_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TerraformChanges); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_provisioner_pb_provisioner_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*DiagnosticDetail); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_provisioner_pb_provisioner_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TerraformLog); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_provisioner_pb_provisioner_proto_rawDesc,
- NumEnums: 1,
- NumMessages: 12,
- NumExtensions: 0,
- NumServices: 1,
- },
- GoTypes: file_provisioner_pb_provisioner_proto_goTypes,
- DependencyIndexes: file_provisioner_pb_provisioner_proto_depIdxs,
- EnumInfos: file_provisioner_pb_provisioner_proto_enumTypes,
- MessageInfos: file_provisioner_pb_provisioner_proto_msgTypes,
- }.Build()
- File_provisioner_pb_provisioner_proto = out.File
- file_provisioner_pb_provisioner_proto_rawDesc = nil
- file_provisioner_pb_provisioner_proto_goTypes = nil
- file_provisioner_pb_provisioner_proto_depIdxs = nil
- }
|