mirror of https://github.com/hashicorp/terraform
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
971 lines
40 KiB
971 lines
40 KiB
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.31.0
|
|
// protoc v3.15.6
|
|
// source: tfstackdata1.proto
|
|
|
|
package tfstackdata1
|
|
|
|
import (
|
|
planproto "github.com/hashicorp/terraform/internal/plans/planproto"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
anypb "google.golang.org/protobuf/types/known/anypb"
|
|
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 StateResourceInstanceObjectV1_Status int32
|
|
|
|
const (
|
|
StateResourceInstanceObjectV1_UNKNOWN StateResourceInstanceObjectV1_Status = 0
|
|
StateResourceInstanceObjectV1_READY StateResourceInstanceObjectV1_Status = 1
|
|
StateResourceInstanceObjectV1_DAMAGED StateResourceInstanceObjectV1_Status = 2 // (formerly known as "tainted")
|
|
)
|
|
|
|
// Enum value maps for StateResourceInstanceObjectV1_Status.
|
|
var (
|
|
StateResourceInstanceObjectV1_Status_name = map[int32]string{
|
|
0: "UNKNOWN",
|
|
1: "READY",
|
|
2: "DAMAGED",
|
|
}
|
|
StateResourceInstanceObjectV1_Status_value = map[string]int32{
|
|
"UNKNOWN": 0,
|
|
"READY": 1,
|
|
"DAMAGED": 2,
|
|
}
|
|
)
|
|
|
|
func (x StateResourceInstanceObjectV1_Status) Enum() *StateResourceInstanceObjectV1_Status {
|
|
p := new(StateResourceInstanceObjectV1_Status)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x StateResourceInstanceObjectV1_Status) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (StateResourceInstanceObjectV1_Status) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_tfstackdata1_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (StateResourceInstanceObjectV1_Status) Type() protoreflect.EnumType {
|
|
return &file_tfstackdata1_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x StateResourceInstanceObjectV1_Status) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use StateResourceInstanceObjectV1_Status.Descriptor instead.
|
|
func (StateResourceInstanceObjectV1_Status) EnumDescriptor() ([]byte, []int) {
|
|
return file_tfstackdata1_proto_rawDescGZIP(), []int{7, 0}
|
|
}
|
|
|
|
// Appears early in a raw plan sequence to capture some metadata that we need
|
|
// to process subsequent messages, or to abort if we're being asked to decode
|
|
// a plan created by a different version of Terraform.
|
|
type PlanHeader struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The canonical version string for the version of Terraform that created
|
|
// the plan sequence that this message belongs to.
|
|
//
|
|
// The raw plan sequence loader will fail if it finds a message of this
|
|
// type with a version string that disagrees with the version of Terraform
|
|
// decoding the message, because we always expect plans to be applied by
|
|
// the same version of Terraform that created them.
|
|
TerraformVersion string `protobuf:"bytes,1,opt,name=terraform_version,json=terraformVersion,proto3" json:"terraform_version,omitempty"`
|
|
// A verbatim copy of the state that was provided with the request to
|
|
// create the plan.
|
|
PrevRunStateRaw map[string]*anypb.Any `protobuf:"bytes,2,rep,name=prev_run_state_raw,json=prevRunStateRaw,proto3" json:"prev_run_state_raw,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
}
|
|
|
|
func (x *PlanHeader) Reset() {
|
|
*x = PlanHeader{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_tfstackdata1_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PlanHeader) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PlanHeader) ProtoMessage() {}
|
|
|
|
func (x *PlanHeader) ProtoReflect() protoreflect.Message {
|
|
mi := &file_tfstackdata1_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 PlanHeader.ProtoReflect.Descriptor instead.
|
|
func (*PlanHeader) Descriptor() ([]byte, []int) {
|
|
return file_tfstackdata1_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *PlanHeader) GetTerraformVersion() string {
|
|
if x != nil {
|
|
return x.TerraformVersion
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PlanHeader) GetPrevRunStateRaw() map[string]*anypb.Any {
|
|
if x != nil {
|
|
return x.PrevRunStateRaw
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Confirms whether the overall plan whose raw plan sequence includes this
|
|
// message is complete enough and valid enough to be applied.
|
|
//
|
|
// If a the sequence of raw plan messages includes multiple messages of this
|
|
// type then the one with the latest position in the list "wins" during
|
|
// decoding of the overall sequence, although in practice there isn't yet
|
|
// any clear reason to include more than one instance of this message type in a
|
|
// plan.
|
|
type PlanApplyable struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Applyable bool `protobuf:"varint,1,opt,name=applyable,proto3" json:"applyable,omitempty"`
|
|
}
|
|
|
|
func (x *PlanApplyable) Reset() {
|
|
*x = PlanApplyable{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_tfstackdata1_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PlanApplyable) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PlanApplyable) ProtoMessage() {}
|
|
|
|
func (x *PlanApplyable) ProtoReflect() protoreflect.Message {
|
|
mi := &file_tfstackdata1_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 PlanApplyable.ProtoReflect.Descriptor instead.
|
|
func (*PlanApplyable) Descriptor() ([]byte, []int) {
|
|
return file_tfstackdata1_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *PlanApplyable) GetApplyable() bool {
|
|
if x != nil {
|
|
return x.Applyable
|
|
}
|
|
return false
|
|
}
|
|
|
|
// Records the value of one of the main stack's input values during planning.
|
|
//
|
|
// These values get fixed during the plan phase so that we can ensure that we
|
|
// use identical values when subsequently applying the plan.
|
|
type PlanRootInputValue struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Value *planproto.DynamicValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
}
|
|
|
|
func (x *PlanRootInputValue) Reset() {
|
|
*x = PlanRootInputValue{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_tfstackdata1_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PlanRootInputValue) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PlanRootInputValue) ProtoMessage() {}
|
|
|
|
func (x *PlanRootInputValue) ProtoReflect() protoreflect.Message {
|
|
mi := &file_tfstackdata1_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 PlanRootInputValue.ProtoReflect.Descriptor instead.
|
|
func (*PlanRootInputValue) Descriptor() ([]byte, []int) {
|
|
return file_tfstackdata1_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *PlanRootInputValue) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PlanRootInputValue) GetValue() *planproto.DynamicValue {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Represents the existence of a particular component instance, and so must
|
|
// always appear before any messages representing objects that belong to that
|
|
// component instance.
|
|
//
|
|
// This message type exists to avoid the ambiguity between a component instance
|
|
// existing with zero resource instances inside vs. a component instance
|
|
// not existing at all.
|
|
type PlanComponentInstance struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ComponentInstanceAddr string `protobuf:"bytes,1,opt,name=component_instance_addr,json=componentInstanceAddr,proto3" json:"component_instance_addr,omitempty"`
|
|
// plan_timestamp records the time when the plan for this component
|
|
// instance was created, exclusively for making sure that the
|
|
// "plantimestamp" function can return the same value during the apply
|
|
// phase. It must not be used for any other purpose.
|
|
PlanTimestamp string `protobuf:"bytes,2,opt,name=plan_timestamp,json=planTimestamp,proto3" json:"plan_timestamp,omitempty"`
|
|
// Captures an approximation of the input values for this component with
|
|
// as much detail as we knew during the planning phase. This might
|
|
// contain unknown values as placeholders for values that won't be
|
|
// determined until the apply phase, so this isn't usable directly as
|
|
// the input to subsequently applying the component plan but the final
|
|
// input values should be a valid concretization of what's described here.
|
|
PlannedInputValues map[string]*planproto.DynamicValue `protobuf:"bytes,3,rep,name=planned_input_values,json=plannedInputValues,proto3" json:"planned_input_values,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
}
|
|
|
|
func (x *PlanComponentInstance) Reset() {
|
|
*x = PlanComponentInstance{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_tfstackdata1_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PlanComponentInstance) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PlanComponentInstance) ProtoMessage() {}
|
|
|
|
func (x *PlanComponentInstance) ProtoReflect() protoreflect.Message {
|
|
mi := &file_tfstackdata1_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 PlanComponentInstance.ProtoReflect.Descriptor instead.
|
|
func (*PlanComponentInstance) Descriptor() ([]byte, []int) {
|
|
return file_tfstackdata1_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *PlanComponentInstance) GetComponentInstanceAddr() string {
|
|
if x != nil {
|
|
return x.ComponentInstanceAddr
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PlanComponentInstance) GetPlanTimestamp() string {
|
|
if x != nil {
|
|
return x.PlanTimestamp
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PlanComponentInstance) GetPlannedInputValues() map[string]*planproto.DynamicValue {
|
|
if x != nil {
|
|
return x.PlannedInputValues
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Represents a planned change to a particular resource instance within a
|
|
// particular component instance.
|
|
type PlanResourceInstanceChangePlanned struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The same string must previously have been announced with a
|
|
// PlanComponentInstance message, or the overall plan sequence is invalid.
|
|
ComponentInstanceAddr string `protobuf:"bytes,1,opt,name=component_instance_addr,json=componentInstanceAddr,proto3" json:"component_instance_addr,omitempty"`
|
|
ResourceInstanceAddr string `protobuf:"bytes,4,opt,name=resource_instance_addr,json=resourceInstanceAddr,proto3" json:"resource_instance_addr,omitempty"`
|
|
DeposedKey string `protobuf:"bytes,5,opt,name=deposed_key,json=deposedKey,proto3" json:"deposed_key,omitempty"`
|
|
// The address of the provider configuration that planned this change,
|
|
// or that produced the prior state for messages where "change" is
|
|
// unpopulated. This is a module-centric view relative to the root module
|
|
// of the component identified in component_instance_addr.
|
|
ProviderConfigAddr string `protobuf:"bytes,6,opt,name=provider_config_addr,json=providerConfigAddr,proto3" json:"provider_config_addr,omitempty"`
|
|
// Description of the planned change in the standard "tfplan" (planproto)
|
|
// format.
|
|
Change *planproto.ResourceInstanceChange `protobuf:"bytes,2,opt,name=change,proto3" json:"change,omitempty"`
|
|
// A snapshot of the "prior state", which is the result of upgrading and
|
|
// refreshing the previous run's state.
|
|
//
|
|
// The very first action on applying this plan should be to update the
|
|
// raw state for the resource instance to match this value, since
|
|
// the main apply phase for each component instance assumes that the
|
|
// prior state has already been updated to match the "old" value from
|
|
// the "change" message.
|
|
PriorState *StateResourceInstanceObjectV1 `protobuf:"bytes,3,opt,name=prior_state,json=priorState,proto3" json:"prior_state,omitempty"`
|
|
}
|
|
|
|
func (x *PlanResourceInstanceChangePlanned) Reset() {
|
|
*x = PlanResourceInstanceChangePlanned{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_tfstackdata1_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PlanResourceInstanceChangePlanned) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PlanResourceInstanceChangePlanned) ProtoMessage() {}
|
|
|
|
func (x *PlanResourceInstanceChangePlanned) ProtoReflect() protoreflect.Message {
|
|
mi := &file_tfstackdata1_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 PlanResourceInstanceChangePlanned.ProtoReflect.Descriptor instead.
|
|
func (*PlanResourceInstanceChangePlanned) Descriptor() ([]byte, []int) {
|
|
return file_tfstackdata1_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *PlanResourceInstanceChangePlanned) GetComponentInstanceAddr() string {
|
|
if x != nil {
|
|
return x.ComponentInstanceAddr
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PlanResourceInstanceChangePlanned) GetResourceInstanceAddr() string {
|
|
if x != nil {
|
|
return x.ResourceInstanceAddr
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PlanResourceInstanceChangePlanned) GetDeposedKey() string {
|
|
if x != nil {
|
|
return x.DeposedKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PlanResourceInstanceChangePlanned) GetProviderConfigAddr() string {
|
|
if x != nil {
|
|
return x.ProviderConfigAddr
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PlanResourceInstanceChangePlanned) GetChange() *planproto.ResourceInstanceChange {
|
|
if x != nil {
|
|
return x.Change
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PlanResourceInstanceChangePlanned) GetPriorState() *StateResourceInstanceObjectV1 {
|
|
if x != nil {
|
|
return x.PriorState
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Represents that we need to emit "delete" requests for one or more raw
|
|
// state and/or state description objects during the apply phase.
|
|
//
|
|
// This situation arises if the previous state (given as input to the apply
|
|
// phase) contains keys that are of a type unrecognized by the current
|
|
// version of Terraform and that are marked as "discard if unrecognized",
|
|
// suggesting that their content is likely to become somehow invalid if
|
|
// other parts of the state were to get updated.
|
|
type PlanDiscardStateMapKeys struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// A set of keys to delete from the "raw state".
|
|
RawStateKeys []string `protobuf:"bytes,1,rep,name=raw_state_keys,json=rawStateKeys,proto3" json:"raw_state_keys,omitempty"`
|
|
// A set of keys to delete from the "state description".
|
|
DescriptionKeys []string `protobuf:"bytes,2,rep,name=description_keys,json=descriptionKeys,proto3" json:"description_keys,omitempty"`
|
|
}
|
|
|
|
func (x *PlanDiscardStateMapKeys) Reset() {
|
|
*x = PlanDiscardStateMapKeys{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_tfstackdata1_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PlanDiscardStateMapKeys) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PlanDiscardStateMapKeys) ProtoMessage() {}
|
|
|
|
func (x *PlanDiscardStateMapKeys) ProtoReflect() protoreflect.Message {
|
|
mi := &file_tfstackdata1_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 PlanDiscardStateMapKeys.ProtoReflect.Descriptor instead.
|
|
func (*PlanDiscardStateMapKeys) Descriptor() ([]byte, []int) {
|
|
return file_tfstackdata1_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *PlanDiscardStateMapKeys) GetRawStateKeys() []string {
|
|
if x != nil {
|
|
return x.RawStateKeys
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PlanDiscardStateMapKeys) GetDescriptionKeys() []string {
|
|
if x != nil {
|
|
return x.DescriptionKeys
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Represents the existence of a particular component instance.
|
|
//
|
|
// This is here just to remove the ambiguity between a component instance that
|
|
// exists but contains no resource instances vs. a component instance that
|
|
// doesn't exist at all.
|
|
//
|
|
// Because the state map is updated on a per-element basis rather than
|
|
// atomically, it's possible that the state map might contain resource instances
|
|
// which belong to a component instance that is not tracked by a message of
|
|
// this type. In that case, the state loader will just assume an implied
|
|
// message of this type with a matching component instance address and with
|
|
// all other fields unset.
|
|
type StateComponentInstanceV1 struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *StateComponentInstanceV1) Reset() {
|
|
*x = StateComponentInstanceV1{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_tfstackdata1_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *StateComponentInstanceV1) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StateComponentInstanceV1) ProtoMessage() {}
|
|
|
|
func (x *StateComponentInstanceV1) ProtoReflect() protoreflect.Message {
|
|
mi := &file_tfstackdata1_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 StateComponentInstanceV1.ProtoReflect.Descriptor instead.
|
|
func (*StateComponentInstanceV1) Descriptor() ([]byte, []int) {
|
|
return file_tfstackdata1_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
// Represents the existence of a particular resource instance object in a
|
|
// particular component instance.
|
|
//
|
|
// A resource instance message object should typically be accompanied by a
|
|
// StateComponentInstanceV1 (or later version) that represents the existence
|
|
// of the component itself, but for robustness we tolerate the absense of
|
|
// such a message and just assume that all of its fields (other than the
|
|
// component instance address) are unset.
|
|
type StateResourceInstanceObjectV1 struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// value_json is a JSON representation of the object value representing
|
|
// this resource instance object.
|
|
//
|
|
// This is JSON-serialized rather than MessagePack serialized (as we do
|
|
// for everything else in this format and in the RPC API) because
|
|
// the provider protocol only supports legacy flatmap and JSON as input
|
|
// to the state upgrade process, and we won't be able to transcode from
|
|
// MessagePack to JSON once we decode this because we won't know the
|
|
// schema that the value was encoded with.
|
|
//
|
|
// This is a pragmatic exception for this particular quirk of Terraform's
|
|
// provider API design. Other parts of this format and associated protocol
|
|
// should use tfplan.DynamicValue and MessagePack encoding for consistency.
|
|
ValueJson []byte `protobuf:"bytes,1,opt,name=value_json,json=valueJson,proto3" json:"value_json,omitempty"`
|
|
SensitivePaths []*planproto.Path `protobuf:"bytes,2,rep,name=sensitive_paths,json=sensitivePaths,proto3" json:"sensitive_paths,omitempty"`
|
|
SchemaVersion uint64 `protobuf:"varint,3,opt,name=schema_version,json=schemaVersion,proto3" json:"schema_version,omitempty"`
|
|
Status StateResourceInstanceObjectV1_Status `protobuf:"varint,4,opt,name=status,proto3,enum=tfstackdata1.StateResourceInstanceObjectV1_Status" json:"status,omitempty"`
|
|
Dependencies []string `protobuf:"bytes,5,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
|
|
CreateBeforeDestroy bool `protobuf:"varint,6,opt,name=create_before_destroy,json=createBeforeDestroy,proto3" json:"create_before_destroy,omitempty"`
|
|
ProviderConfigAddr string `protobuf:"bytes,7,opt,name=provider_config_addr,json=providerConfigAddr,proto3" json:"provider_config_addr,omitempty"`
|
|
// provider_specific_data is arbitrary bytes produced by the provider
|
|
// in its apply response which we preserve and pass back to it in any
|
|
// subsequent plan operation.
|
|
ProviderSpecificData []byte `protobuf:"bytes,8,opt,name=provider_specific_data,json=providerSpecificData,proto3" json:"provider_specific_data,omitempty"`
|
|
}
|
|
|
|
func (x *StateResourceInstanceObjectV1) Reset() {
|
|
*x = StateResourceInstanceObjectV1{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_tfstackdata1_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *StateResourceInstanceObjectV1) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StateResourceInstanceObjectV1) ProtoMessage() {}
|
|
|
|
func (x *StateResourceInstanceObjectV1) ProtoReflect() protoreflect.Message {
|
|
mi := &file_tfstackdata1_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 StateResourceInstanceObjectV1.ProtoReflect.Descriptor instead.
|
|
func (*StateResourceInstanceObjectV1) Descriptor() ([]byte, []int) {
|
|
return file_tfstackdata1_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *StateResourceInstanceObjectV1) GetValueJson() []byte {
|
|
if x != nil {
|
|
return x.ValueJson
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *StateResourceInstanceObjectV1) GetSensitivePaths() []*planproto.Path {
|
|
if x != nil {
|
|
return x.SensitivePaths
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *StateResourceInstanceObjectV1) GetSchemaVersion() uint64 {
|
|
if x != nil {
|
|
return x.SchemaVersion
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StateResourceInstanceObjectV1) GetStatus() StateResourceInstanceObjectV1_Status {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return StateResourceInstanceObjectV1_UNKNOWN
|
|
}
|
|
|
|
func (x *StateResourceInstanceObjectV1) GetDependencies() []string {
|
|
if x != nil {
|
|
return x.Dependencies
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *StateResourceInstanceObjectV1) GetCreateBeforeDestroy() bool {
|
|
if x != nil {
|
|
return x.CreateBeforeDestroy
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *StateResourceInstanceObjectV1) GetProviderConfigAddr() string {
|
|
if x != nil {
|
|
return x.ProviderConfigAddr
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StateResourceInstanceObjectV1) GetProviderSpecificData() []byte {
|
|
if x != nil {
|
|
return x.ProviderSpecificData
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_tfstackdata1_proto protoreflect.FileDescriptor
|
|
|
|
var file_tfstackdata1_proto_rawDesc = []byte{
|
|
0x0a, 0x12, 0x74, 0x66, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x64, 0x61, 0x74, 0x61, 0x31, 0x2e, 0x70,
|
|
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x74, 0x66, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x64, 0x61, 0x74,
|
|
0x61, 0x31, 0x1a, 0x0e, 0x70, 0x6c, 0x61, 0x6e, 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xef, 0x01,
|
|
0x0a, 0x0a, 0x50, 0x6c, 0x61, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x2b, 0x0a, 0x11,
|
|
0x74, 0x65, 0x72, 0x72, 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
|
|
0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x74, 0x65, 0x72, 0x72, 0x61, 0x66, 0x6f,
|
|
0x72, 0x6d, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x5a, 0x0a, 0x12, 0x70, 0x72, 0x65,
|
|
0x76, 0x5f, 0x72, 0x75, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x61, 0x77, 0x18,
|
|
0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x74, 0x66, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x64,
|
|
0x61, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x2e,
|
|
0x50, 0x72, 0x65, 0x76, 0x52, 0x75, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x61, 0x77, 0x45,
|
|
0x6e, 0x74, 0x72, 0x79, 0x52, 0x0f, 0x70, 0x72, 0x65, 0x76, 0x52, 0x75, 0x6e, 0x53, 0x74, 0x61,
|
|
0x74, 0x65, 0x52, 0x61, 0x77, 0x1a, 0x58, 0x0a, 0x14, 0x50, 0x72, 0x65, 0x76, 0x52, 0x75, 0x6e,
|
|
0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x61, 0x77, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
|
|
0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
|
|
0x2a, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14,
|
|
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
|
|
0x2e, 0x41, 0x6e, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22,
|
|
0x2d, 0x0a, 0x0d, 0x50, 0x6c, 0x61, 0x6e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x61, 0x62, 0x6c, 0x65,
|
|
0x12, 0x1c, 0x0a, 0x09, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x08, 0x52, 0x09, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x54,
|
|
0x0a, 0x12, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x6f, 0x6f, 0x74, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x56,
|
|
0x61, 0x6c, 0x75, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2a, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
|
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x61, 0x6e,
|
|
0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76,
|
|
0x61, 0x6c, 0x75, 0x65, 0x22, 0xc2, 0x02, 0x0a, 0x15, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x6f, 0x6d,
|
|
0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x36,
|
|
0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x73, 0x74,
|
|
0x61, 0x6e, 0x63, 0x65, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x15, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e,
|
|
0x63, 0x65, 0x41, 0x64, 0x64, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x74,
|
|
0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,
|
|
0x70, 0x6c, 0x61, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x6d, 0x0a,
|
|
0x14, 0x70, 0x6c, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x76,
|
|
0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x74, 0x66,
|
|
0x73, 0x74, 0x61, 0x63, 0x6b, 0x64, 0x61, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x43,
|
|
0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
|
|
0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x56, 0x61, 0x6c,
|
|
0x75, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x12, 0x70, 0x6c, 0x61, 0x6e, 0x6e, 0x65,
|
|
0x64, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x1a, 0x5b, 0x0a, 0x17,
|
|
0x50, 0x6c, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x56, 0x61, 0x6c, 0x75,
|
|
0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2a, 0x0a, 0x05, 0x76, 0x61, 0x6c,
|
|
0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x61,
|
|
0x6e, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05,
|
|
0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xea, 0x02, 0x0a, 0x21, 0x50, 0x6c,
|
|
0x61, 0x6e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e,
|
|
0x63, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x12,
|
|
0x36, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x73,
|
|
0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x15, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61,
|
|
0x6e, 0x63, 0x65, 0x41, 0x64, 0x64, 0x72, 0x12, 0x34, 0x0a, 0x16, 0x72, 0x65, 0x73, 0x6f, 0x75,
|
|
0x72, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x61, 0x64, 0x64,
|
|
0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
|
|
0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x41, 0x64, 0x64, 0x72, 0x12, 0x1f, 0x0a,
|
|
0x0b, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x65, 0x64, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x05, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x65, 0x64, 0x4b, 0x65, 0x79, 0x12, 0x30,
|
|
0x0a, 0x14, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
|
|
0x67, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x70, 0x72,
|
|
0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x41, 0x64, 0x64, 0x72,
|
|
0x12, 0x36, 0x0a, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x1e, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72,
|
|
0x63, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,
|
|
0x52, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x4c, 0x0a, 0x0b, 0x70, 0x72, 0x69, 0x6f,
|
|
0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e,
|
|
0x74, 0x66, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x64, 0x61, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61,
|
|
0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e,
|
|
0x63, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x56, 0x31, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x6f,
|
|
0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0x6a, 0x0a, 0x17, 0x50, 0x6c, 0x61, 0x6e, 0x44, 0x69,
|
|
0x73, 0x63, 0x61, 0x72, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x70, 0x4b, 0x65, 0x79,
|
|
0x73, 0x12, 0x24, 0x0a, 0x0e, 0x72, 0x61, 0x77, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x6b,
|
|
0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x61, 0x77, 0x53, 0x74,
|
|
0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x65, 0x73, 0x63, 0x72,
|
|
0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
|
|
0x09, 0x52, 0x0f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65,
|
|
0x79, 0x73, 0x22, 0x1a, 0x0a, 0x18, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6f,
|
|
0x6e, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x31, 0x22, 0xd7,
|
|
0x03, 0x0a, 0x1d, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
|
|
0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x56, 0x31,
|
|
0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x6a, 0x73, 0x6f, 0x6e, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x4a, 0x73, 0x6f, 0x6e, 0x12,
|
|
0x35, 0x0a, 0x0f, 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x61, 0x74,
|
|
0x68, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x61,
|
|
0x6e, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x52, 0x0e, 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76,
|
|
0x65, 0x50, 0x61, 0x74, 0x68, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61,
|
|
0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d,
|
|
0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x4a, 0x0a,
|
|
0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e,
|
|
0x74, 0x66, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x64, 0x61, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61,
|
|
0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e,
|
|
0x63, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x56, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75,
|
|
0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x64, 0x65, 0x70,
|
|
0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52,
|
|
0x0c, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x12, 0x32, 0x0a,
|
|
0x15, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x5f, 0x64,
|
|
0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x63, 0x72,
|
|
0x65, 0x61, 0x74, 0x65, 0x42, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f,
|
|
0x79, 0x12, 0x30, 0x0a, 0x14, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x63, 0x6f,
|
|
0x6e, 0x66, 0x69, 0x67, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x12, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x41,
|
|
0x64, 0x64, 0x72, 0x12, 0x34, 0x0a, 0x16, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f,
|
|
0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x08, 0x20,
|
|
0x01, 0x28, 0x0c, 0x52, 0x14, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x53, 0x70, 0x65,
|
|
0x63, 0x69, 0x66, 0x69, 0x63, 0x44, 0x61, 0x74, 0x61, 0x22, 0x2d, 0x0a, 0x06, 0x53, 0x74, 0x61,
|
|
0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00,
|
|
0x12, 0x09, 0x0a, 0x05, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x44,
|
|
0x41, 0x4d, 0x41, 0x47, 0x45, 0x44, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_tfstackdata1_proto_rawDescOnce sync.Once
|
|
file_tfstackdata1_proto_rawDescData = file_tfstackdata1_proto_rawDesc
|
|
)
|
|
|
|
func file_tfstackdata1_proto_rawDescGZIP() []byte {
|
|
file_tfstackdata1_proto_rawDescOnce.Do(func() {
|
|
file_tfstackdata1_proto_rawDescData = protoimpl.X.CompressGZIP(file_tfstackdata1_proto_rawDescData)
|
|
})
|
|
return file_tfstackdata1_proto_rawDescData
|
|
}
|
|
|
|
var file_tfstackdata1_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
var file_tfstackdata1_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
|
var file_tfstackdata1_proto_goTypes = []interface{}{
|
|
(StateResourceInstanceObjectV1_Status)(0), // 0: tfstackdata1.StateResourceInstanceObjectV1.Status
|
|
(*PlanHeader)(nil), // 1: tfstackdata1.PlanHeader
|
|
(*PlanApplyable)(nil), // 2: tfstackdata1.PlanApplyable
|
|
(*PlanRootInputValue)(nil), // 3: tfstackdata1.PlanRootInputValue
|
|
(*PlanComponentInstance)(nil), // 4: tfstackdata1.PlanComponentInstance
|
|
(*PlanResourceInstanceChangePlanned)(nil), // 5: tfstackdata1.PlanResourceInstanceChangePlanned
|
|
(*PlanDiscardStateMapKeys)(nil), // 6: tfstackdata1.PlanDiscardStateMapKeys
|
|
(*StateComponentInstanceV1)(nil), // 7: tfstackdata1.StateComponentInstanceV1
|
|
(*StateResourceInstanceObjectV1)(nil), // 8: tfstackdata1.StateResourceInstanceObjectV1
|
|
nil, // 9: tfstackdata1.PlanHeader.PrevRunStateRawEntry
|
|
nil, // 10: tfstackdata1.PlanComponentInstance.PlannedInputValuesEntry
|
|
(*planproto.DynamicValue)(nil), // 11: tfplan.DynamicValue
|
|
(*planproto.ResourceInstanceChange)(nil), // 12: tfplan.ResourceInstanceChange
|
|
(*planproto.Path)(nil), // 13: tfplan.Path
|
|
(*anypb.Any)(nil), // 14: google.protobuf.Any
|
|
}
|
|
var file_tfstackdata1_proto_depIdxs = []int32{
|
|
9, // 0: tfstackdata1.PlanHeader.prev_run_state_raw:type_name -> tfstackdata1.PlanHeader.PrevRunStateRawEntry
|
|
11, // 1: tfstackdata1.PlanRootInputValue.value:type_name -> tfplan.DynamicValue
|
|
10, // 2: tfstackdata1.PlanComponentInstance.planned_input_values:type_name -> tfstackdata1.PlanComponentInstance.PlannedInputValuesEntry
|
|
12, // 3: tfstackdata1.PlanResourceInstanceChangePlanned.change:type_name -> tfplan.ResourceInstanceChange
|
|
8, // 4: tfstackdata1.PlanResourceInstanceChangePlanned.prior_state:type_name -> tfstackdata1.StateResourceInstanceObjectV1
|
|
13, // 5: tfstackdata1.StateResourceInstanceObjectV1.sensitive_paths:type_name -> tfplan.Path
|
|
0, // 6: tfstackdata1.StateResourceInstanceObjectV1.status:type_name -> tfstackdata1.StateResourceInstanceObjectV1.Status
|
|
14, // 7: tfstackdata1.PlanHeader.PrevRunStateRawEntry.value:type_name -> google.protobuf.Any
|
|
11, // 8: tfstackdata1.PlanComponentInstance.PlannedInputValuesEntry.value:type_name -> tfplan.DynamicValue
|
|
9, // [9:9] is the sub-list for method output_type
|
|
9, // [9:9] is the sub-list for method input_type
|
|
9, // [9:9] is the sub-list for extension type_name
|
|
9, // [9:9] is the sub-list for extension extendee
|
|
0, // [0:9] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_tfstackdata1_proto_init() }
|
|
func file_tfstackdata1_proto_init() {
|
|
if File_tfstackdata1_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_tfstackdata1_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PlanHeader); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_tfstackdata1_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PlanApplyable); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_tfstackdata1_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PlanRootInputValue); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_tfstackdata1_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PlanComponentInstance); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_tfstackdata1_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PlanResourceInstanceChangePlanned); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_tfstackdata1_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PlanDiscardStateMapKeys); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_tfstackdata1_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*StateComponentInstanceV1); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_tfstackdata1_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*StateResourceInstanceObjectV1); 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_tfstackdata1_proto_rawDesc,
|
|
NumEnums: 1,
|
|
NumMessages: 10,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_tfstackdata1_proto_goTypes,
|
|
DependencyIndexes: file_tfstackdata1_proto_depIdxs,
|
|
EnumInfos: file_tfstackdata1_proto_enumTypes,
|
|
MessageInfos: file_tfstackdata1_proto_msgTypes,
|
|
}.Build()
|
|
File_tfstackdata1_proto = out.File
|
|
file_tfstackdata1_proto_rawDesc = nil
|
|
file_tfstackdata1_proto_goTypes = nil
|
|
file_tfstackdata1_proto_depIdxs = nil
|
|
}
|