2018-06-20 01:30:59 +02:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
2020-12-01 20:07:15 +01:00
|
|
|
// versions:
|
|
|
|
// protoc-gen-go v1.25.0
|
|
|
|
// protoc v3.14.0
|
2018-06-20 01:30:59 +02:00
|
|
|
// source: planfile.proto
|
|
|
|
|
2019-09-05 14:36:13 +02:00
|
|
|
package planproto
|
2018-06-20 01:30:59 +02:00
|
|
|
|
2019-09-05 14:36:13 +02:00
|
|
|
import (
|
|
|
|
proto "github.com/golang/protobuf/proto"
|
2020-12-01 20:07:15 +01:00
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
|
reflect "reflect"
|
|
|
|
sync "sync"
|
2019-09-05 14:36:13 +02:00
|
|
|
)
|
2018-06-20 01:30:59 +02:00
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
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)
|
|
|
|
)
|
2018-06-20 01:30:59 +02:00
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
// This is a compile-time assertion that a sufficiently up-to-date version
|
|
|
|
// of the legacy proto package is being used.
|
|
|
|
const _ = proto.ProtoPackageIsVersion4
|
2018-06-20 01:30:59 +02:00
|
|
|
|
|
|
|
// Action describes the type of action planned for an object.
|
|
|
|
// Not all action values are valid for all object types.
|
|
|
|
type Action int32
|
|
|
|
|
|
|
|
const (
|
2018-09-22 02:08:52 +02:00
|
|
|
Action_NOOP Action = 0
|
|
|
|
Action_CREATE Action = 1
|
|
|
|
Action_READ Action = 2
|
|
|
|
Action_UPDATE Action = 3
|
|
|
|
Action_DELETE Action = 5
|
|
|
|
Action_DELETE_THEN_CREATE Action = 6
|
|
|
|
Action_CREATE_THEN_DELETE Action = 7
|
2018-06-20 01:30:59 +02:00
|
|
|
)
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
// Enum value maps for Action.
|
|
|
|
var (
|
|
|
|
Action_name = map[int32]string{
|
|
|
|
0: "NOOP",
|
|
|
|
1: "CREATE",
|
|
|
|
2: "READ",
|
|
|
|
3: "UPDATE",
|
|
|
|
5: "DELETE",
|
|
|
|
6: "DELETE_THEN_CREATE",
|
|
|
|
7: "CREATE_THEN_DELETE",
|
|
|
|
}
|
|
|
|
Action_value = map[string]int32{
|
|
|
|
"NOOP": 0,
|
|
|
|
"CREATE": 1,
|
|
|
|
"READ": 2,
|
|
|
|
"UPDATE": 3,
|
|
|
|
"DELETE": 5,
|
|
|
|
"DELETE_THEN_CREATE": 6,
|
|
|
|
"CREATE_THEN_DELETE": 7,
|
|
|
|
}
|
|
|
|
)
|
2019-09-05 14:36:13 +02:00
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x Action) Enum() *Action {
|
|
|
|
p := new(Action)
|
|
|
|
*p = x
|
|
|
|
return p
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x Action) String() string {
|
2020-12-01 20:07:15 +01:00
|
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
|
|
}
|
|
|
|
|
|
|
|
func (Action) Descriptor() protoreflect.EnumDescriptor {
|
|
|
|
return file_planfile_proto_enumTypes[0].Descriptor()
|
|
|
|
}
|
|
|
|
|
|
|
|
func (Action) Type() protoreflect.EnumType {
|
|
|
|
return &file_planfile_proto_enumTypes[0]
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
2019-09-05 14:36:13 +02:00
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x Action) Number() protoreflect.EnumNumber {
|
|
|
|
return protoreflect.EnumNumber(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use Action.Descriptor instead.
|
2018-06-20 01:30:59 +02:00
|
|
|
func (Action) EnumDescriptor() ([]byte, []int) {
|
2020-12-01 20:07:15 +01:00
|
|
|
return file_planfile_proto_rawDescGZIP(), []int{0}
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceInstanceChange_ResourceMode int32
|
|
|
|
|
|
|
|
const (
|
2020-12-01 20:07:15 +01:00
|
|
|
ResourceInstanceChange_managed ResourceInstanceChange_ResourceMode = 0 // for "resource" blocks in configuration
|
|
|
|
ResourceInstanceChange_data ResourceInstanceChange_ResourceMode = 1 // for "data" blocks in configuration
|
2018-06-20 01:30:59 +02:00
|
|
|
)
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
// Enum value maps for ResourceInstanceChange_ResourceMode.
|
|
|
|
var (
|
|
|
|
ResourceInstanceChange_ResourceMode_name = map[int32]string{
|
|
|
|
0: "managed",
|
|
|
|
1: "data",
|
|
|
|
}
|
|
|
|
ResourceInstanceChange_ResourceMode_value = map[string]int32{
|
|
|
|
"managed": 0,
|
|
|
|
"data": 1,
|
|
|
|
}
|
|
|
|
)
|
2019-09-05 14:36:13 +02:00
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x ResourceInstanceChange_ResourceMode) Enum() *ResourceInstanceChange_ResourceMode {
|
|
|
|
p := new(ResourceInstanceChange_ResourceMode)
|
|
|
|
*p = x
|
|
|
|
return p
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x ResourceInstanceChange_ResourceMode) String() string {
|
2020-12-01 20:07:15 +01:00
|
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
|
|
}
|
|
|
|
|
|
|
|
func (ResourceInstanceChange_ResourceMode) Descriptor() protoreflect.EnumDescriptor {
|
|
|
|
return file_planfile_proto_enumTypes[1].Descriptor()
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
2019-09-05 14:36:13 +02:00
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (ResourceInstanceChange_ResourceMode) Type() protoreflect.EnumType {
|
|
|
|
return &file_planfile_proto_enumTypes[1]
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x ResourceInstanceChange_ResourceMode) Number() protoreflect.EnumNumber {
|
|
|
|
return protoreflect.EnumNumber(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use ResourceInstanceChange_ResourceMode.Descriptor instead.
|
2018-06-20 01:30:59 +02:00
|
|
|
func (ResourceInstanceChange_ResourceMode) EnumDescriptor() ([]byte, []int) {
|
2020-12-01 20:07:15 +01:00
|
|
|
return file_planfile_proto_rawDescGZIP(), []int{3, 0}
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
// Plan is the root message type for the tfplan file
|
|
|
|
type Plan struct {
|
2020-12-01 20:07:15 +01:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2018-06-20 01:30:59 +02:00
|
|
|
// Version is incremented whenever there is a breaking change to
|
|
|
|
// the serialization format. Programs reading serialized plans should
|
|
|
|
// verify that version is set to the expected value and abort processing
|
|
|
|
// if not. A breaking change is any change that may cause an older
|
|
|
|
// consumer to interpret the structure incorrectly. This number will
|
|
|
|
// not be incremented if an existing consumer can either safely ignore
|
|
|
|
// changes to the format or if an existing consumer would fail to process
|
|
|
|
// the file for another message- or field-specific reason.
|
|
|
|
Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
|
|
|
|
// The variables that were set when creating the plan. Each value is
|
|
|
|
// a msgpack serialization of an HCL value.
|
|
|
|
Variables map[string]*DynamicValue `protobuf:"bytes,2,rep,name=variables,proto3" json:"variables,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
|
|
// An unordered set of proposed changes to resources throughout the
|
|
|
|
// configuration, including any nested modules. Use the address of
|
|
|
|
// each resource to determine which module it belongs to.
|
|
|
|
ResourceChanges []*ResourceInstanceChange `protobuf:"bytes,3,rep,name=resource_changes,json=resourceChanges,proto3" json:"resource_changes,omitempty"`
|
|
|
|
// An unordered set of proposed changes to outputs in the root module
|
|
|
|
// of the configuration. This set also includes "no action" changes for
|
|
|
|
// outputs that are not changing, as context for detecting inconsistencies
|
|
|
|
// at apply time.
|
|
|
|
OutputChanges []*OutputChange `protobuf:"bytes,4,rep,name=output_changes,json=outputChanges,proto3" json:"output_changes,omitempty"`
|
2018-07-10 23:34:32 +02:00
|
|
|
// An unordered set of target addresses to include when applying. If no
|
|
|
|
// target addresses are present, the plan applies to the whole
|
|
|
|
// configuration.
|
|
|
|
TargetAddrs []string `protobuf:"bytes,5,rep,name=target_addrs,json=targetAddrs,proto3" json:"target_addrs,omitempty"`
|
2018-06-20 01:30:59 +02:00
|
|
|
// The version string for the Terraform binary that created this plan.
|
|
|
|
TerraformVersion string `protobuf:"bytes,14,opt,name=terraform_version,json=terraformVersion,proto3" json:"terraform_version,omitempty"`
|
|
|
|
// SHA256 digests of all of the provider plugin binaries that were used
|
|
|
|
// in the creation of this plan.
|
2018-07-05 22:21:38 +02:00
|
|
|
ProviderHashes map[string]*Hash `protobuf:"bytes,15,rep,name=provider_hashes,json=providerHashes,proto3" json:"provider_hashes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
|
|
// Backend is a description of the backend configuration and other related
|
|
|
|
// settings at the time the plan was created.
|
2020-12-01 20:07:15 +01:00
|
|
|
Backend *Backend `protobuf:"bytes,13,opt,name=backend,proto3" json:"backend,omitempty"`
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *Plan) Reset() {
|
|
|
|
*x = Plan{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_planfile_proto_msgTypes[0]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
2019-09-05 14:36:13 +02:00
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *Plan) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
2020-12-01 20:07:15 +01:00
|
|
|
|
|
|
|
func (*Plan) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Plan) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_planfile_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)
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
// Deprecated: Use Plan.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Plan) Descriptor() ([]byte, []int) {
|
|
|
|
return file_planfile_proto_rawDescGZIP(), []int{0}
|
|
|
|
}
|
2018-06-20 01:30:59 +02:00
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *Plan) GetVersion() uint64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Version
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *Plan) GetVariables() map[string]*DynamicValue {
|
|
|
|
if x != nil {
|
|
|
|
return x.Variables
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *Plan) GetResourceChanges() []*ResourceInstanceChange {
|
|
|
|
if x != nil {
|
|
|
|
return x.ResourceChanges
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *Plan) GetOutputChanges() []*OutputChange {
|
|
|
|
if x != nil {
|
|
|
|
return x.OutputChanges
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *Plan) GetTargetAddrs() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.TargetAddrs
|
2018-07-10 23:34:32 +02:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *Plan) GetTerraformVersion() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.TerraformVersion
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *Plan) GetProviderHashes() map[string]*Hash {
|
|
|
|
if x != nil {
|
|
|
|
return x.ProviderHashes
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *Plan) GetBackend() *Backend {
|
|
|
|
if x != nil {
|
|
|
|
return x.Backend
|
2018-07-05 22:21:38 +02:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// Backend is a description of backend configuration and other related settings.
|
|
|
|
type Backend struct {
|
2020-12-01 20:07:15 +01:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2018-07-05 22:21:38 +02:00
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
|
|
|
|
Config *DynamicValue `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
|
|
|
|
Workspace string `protobuf:"bytes,3,opt,name=workspace,proto3" json:"workspace,omitempty"`
|
2018-07-05 22:21:38 +02:00
|
|
|
}
|
2019-09-05 14:36:13 +02:00
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *Backend) Reset() {
|
|
|
|
*x = Backend{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_planfile_proto_msgTypes[1]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-07-05 22:21:38 +02:00
|
|
|
}
|
2020-12-01 20:07:15 +01:00
|
|
|
|
|
|
|
func (x *Backend) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-07-05 22:21:38 +02:00
|
|
|
}
|
2020-12-01 20:07:15 +01:00
|
|
|
|
|
|
|
func (*Backend) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Backend) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_planfile_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)
|
2018-07-05 22:21:38 +02:00
|
|
|
}
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
// Deprecated: Use Backend.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Backend) Descriptor() ([]byte, []int) {
|
|
|
|
return file_planfile_proto_rawDescGZIP(), []int{1}
|
|
|
|
}
|
2018-07-05 22:21:38 +02:00
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *Backend) GetType() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Type
|
2018-07-05 22:21:38 +02:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *Backend) GetConfig() *DynamicValue {
|
|
|
|
if x != nil {
|
|
|
|
return x.Config
|
2018-07-05 22:21:38 +02:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *Backend) GetWorkspace() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Workspace
|
2018-07-05 22:21:38 +02:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2018-06-20 01:30:59 +02:00
|
|
|
// Change represents a change made to some object, transforming it from an old
|
|
|
|
// state to a new state.
|
|
|
|
type Change struct {
|
2020-12-01 20:07:15 +01:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2018-06-20 01:30:59 +02:00
|
|
|
// Not all action values are valid for all object types. Consult
|
|
|
|
// the documentation for any message that embeds Change.
|
|
|
|
Action Action `protobuf:"varint,1,opt,name=action,proto3,enum=tfplan.Action" json:"action,omitempty"`
|
|
|
|
// msgpack-encoded HCL values involved in the change.
|
|
|
|
// - For update and replace, two values are provided that give the old and new values,
|
|
|
|
// respectively.
|
|
|
|
// - For create, one value is provided that gives the new value to be created
|
|
|
|
// - For delete, one value is provided that describes the value being deleted
|
|
|
|
// - For read, two values are provided that give the prior value for this object
|
|
|
|
// (or null, if no prior value exists) and the value that was or will be read,
|
|
|
|
// respectively.
|
|
|
|
// - For no-op, one value is provided that is left unmodified by this non-change.
|
2020-12-01 20:07:15 +01:00
|
|
|
Values []*DynamicValue `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *Change) Reset() {
|
|
|
|
*x = Change{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_planfile_proto_msgTypes[2]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
2019-09-05 14:36:13 +02:00
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *Change) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
2020-12-01 20:07:15 +01:00
|
|
|
|
|
|
|
func (*Change) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Change) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_planfile_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)
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
// Deprecated: Use Change.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Change) Descriptor() ([]byte, []int) {
|
|
|
|
return file_planfile_proto_rawDescGZIP(), []int{2}
|
|
|
|
}
|
2018-06-20 01:30:59 +02:00
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *Change) GetAction() Action {
|
|
|
|
if x != nil {
|
|
|
|
return x.Action
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
return Action_NOOP
|
|
|
|
}
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *Change) GetValues() []*DynamicValue {
|
|
|
|
if x != nil {
|
|
|
|
return x.Values
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceInstanceChange struct {
|
2020-12-01 20:07:15 +01:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2018-06-20 01:30:59 +02:00
|
|
|
// module_path is an address to the module that defined this resource.
|
|
|
|
// module_path is omitted for resources in the root module. For descendent modules
|
|
|
|
// it is a string like module.foo.module.bar as would be seen at the beginning of a
|
|
|
|
// resource address. The format of this string is not yet frozen and so external
|
|
|
|
// callers should treat it as an opaque key for filtering purposes.
|
|
|
|
ModulePath string `protobuf:"bytes,1,opt,name=module_path,json=modulePath,proto3" json:"module_path,omitempty"`
|
|
|
|
// mode is the resource mode.
|
|
|
|
Mode ResourceInstanceChange_ResourceMode `protobuf:"varint,2,opt,name=mode,proto3,enum=tfplan.ResourceInstanceChange_ResourceMode" json:"mode,omitempty"`
|
|
|
|
// type is the resource type name, like "aws_instance".
|
|
|
|
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
|
|
|
|
// name is the logical name of the resource as defined in configuration.
|
|
|
|
// For example, in aws_instance.foo this would be "foo".
|
|
|
|
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
|
// instance_key is either an integer index or a string key, depending on which iteration
|
|
|
|
// attributes ("count" or "for_each") are being used for this resource. If none
|
|
|
|
// are in use, this field is omitted.
|
|
|
|
//
|
2020-12-01 20:07:15 +01:00
|
|
|
// Types that are assignable to InstanceKey:
|
2018-06-20 01:30:59 +02:00
|
|
|
// *ResourceInstanceChange_Str
|
|
|
|
// *ResourceInstanceChange_Int
|
|
|
|
InstanceKey isResourceInstanceChange_InstanceKey `protobuf_oneof:"instance_key"`
|
|
|
|
// deposed_key, if set, indicates that this change applies to a deposed
|
|
|
|
// object for the indicated instance with the given deposed key. If not
|
|
|
|
// set, the change applies to the instance's current object.
|
|
|
|
DeposedKey string `protobuf:"bytes,7,opt,name=deposed_key,json=deposedKey,proto3" json:"deposed_key,omitempty"`
|
2018-06-22 00:26:37 +02:00
|
|
|
// provider is the address of the provider configuration that this change
|
|
|
|
// was planned with, and thus the configuration that must be used to
|
|
|
|
// apply it.
|
|
|
|
Provider string `protobuf:"bytes,8,opt,name=provider,proto3" json:"provider,omitempty"`
|
2018-06-20 01:30:59 +02:00
|
|
|
// Description of the proposed change. May use "create", "read", "update",
|
|
|
|
// "replace" and "delete" actions. "no-op" changes are not currently used here
|
|
|
|
// but consumers must accept and discard them to allow for future expansion.
|
2018-06-22 00:26:37 +02:00
|
|
|
Change *Change `protobuf:"bytes,9,opt,name=change,proto3" json:"change,omitempty"`
|
2018-08-18 02:22:18 +02:00
|
|
|
// raw blob value provided by the provider as additional context for the
|
|
|
|
// change. Must be considered an opaque value for any consumer other than
|
|
|
|
// the provider that generated it, and will be returned verbatim to the
|
|
|
|
// provider during the subsequent apply operation.
|
|
|
|
Private []byte `protobuf:"bytes,10,opt,name=private,proto3" json:"private,omitempty"`
|
2018-06-20 01:30:59 +02:00
|
|
|
// An unordered set of paths that prompted the change action to be
|
|
|
|
// "replace" rather than "update". Empty for any action other than
|
|
|
|
// "replace".
|
2020-12-01 20:07:15 +01:00
|
|
|
RequiredReplace []*Path `protobuf:"bytes,11,rep,name=required_replace,json=requiredReplace,proto3" json:"required_replace,omitempty"`
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *ResourceInstanceChange) Reset() {
|
|
|
|
*x = ResourceInstanceChange{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_planfile_proto_msgTypes[3]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
2019-09-05 14:36:13 +02:00
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *ResourceInstanceChange) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
2020-12-01 20:07:15 +01:00
|
|
|
|
|
|
|
func (*ResourceInstanceChange) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *ResourceInstanceChange) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_planfile_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)
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
// Deprecated: Use ResourceInstanceChange.ProtoReflect.Descriptor instead.
|
|
|
|
func (*ResourceInstanceChange) Descriptor() ([]byte, []int) {
|
|
|
|
return file_planfile_proto_rawDescGZIP(), []int{3}
|
|
|
|
}
|
2018-06-20 01:30:59 +02:00
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *ResourceInstanceChange) GetModulePath() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.ModulePath
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *ResourceInstanceChange) GetMode() ResourceInstanceChange_ResourceMode {
|
|
|
|
if x != nil {
|
|
|
|
return x.Mode
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
return ResourceInstanceChange_managed
|
|
|
|
}
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *ResourceInstanceChange) GetType() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Type
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *ResourceInstanceChange) GetName() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Name
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2019-09-05 14:36:13 +02:00
|
|
|
func (m *ResourceInstanceChange) GetInstanceKey() isResourceInstanceChange_InstanceKey {
|
|
|
|
if m != nil {
|
|
|
|
return m.InstanceKey
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *ResourceInstanceChange) GetStr() string {
|
|
|
|
if x, ok := x.GetInstanceKey().(*ResourceInstanceChange_Str); ok {
|
2018-06-20 01:30:59 +02:00
|
|
|
return x.Str
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *ResourceInstanceChange) GetInt() int64 {
|
|
|
|
if x, ok := x.GetInstanceKey().(*ResourceInstanceChange_Int); ok {
|
2018-06-20 01:30:59 +02:00
|
|
|
return x.Int
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *ResourceInstanceChange) GetDeposedKey() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.DeposedKey
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *ResourceInstanceChange) GetProvider() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Provider
|
2018-06-22 00:26:37 +02:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *ResourceInstanceChange) GetChange() *Change {
|
|
|
|
if x != nil {
|
|
|
|
return x.Change
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *ResourceInstanceChange) GetPrivate() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.Private
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *ResourceInstanceChange) GetRequiredReplace() []*Path {
|
|
|
|
if x != nil {
|
|
|
|
return x.RequiredReplace
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
type isResourceInstanceChange_InstanceKey interface {
|
|
|
|
isResourceInstanceChange_InstanceKey()
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceInstanceChange_Str struct {
|
|
|
|
Str string `protobuf:"bytes,5,opt,name=str,proto3,oneof"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceInstanceChange_Int struct {
|
|
|
|
Int int64 `protobuf:"varint,6,opt,name=int,proto3,oneof"`
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (*ResourceInstanceChange_Str) isResourceInstanceChange_InstanceKey() {}
|
|
|
|
|
|
|
|
func (*ResourceInstanceChange_Int) isResourceInstanceChange_InstanceKey() {}
|
|
|
|
|
2018-06-20 01:30:59 +02:00
|
|
|
type OutputChange struct {
|
2020-12-01 20:07:15 +01:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2018-06-20 01:30:59 +02:00
|
|
|
// Name of the output as defined in the root module.
|
|
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
|
// Description of the proposed change. May use "no-op", "create",
|
|
|
|
// "update" and "delete" actions.
|
|
|
|
Change *Change `protobuf:"bytes,2,opt,name=change,proto3" json:"change,omitempty"`
|
|
|
|
// Sensitive, if true, indicates that one or more of the values given
|
|
|
|
// in "change" is sensitive and should not be shown directly in any
|
|
|
|
// rendered plan.
|
2020-12-01 20:07:15 +01:00
|
|
|
Sensitive bool `protobuf:"varint,3,opt,name=sensitive,proto3" json:"sensitive,omitempty"`
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *OutputChange) Reset() {
|
|
|
|
*x = OutputChange{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_planfile_proto_msgTypes[4]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
2019-09-05 14:36:13 +02:00
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *OutputChange) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
2020-12-01 20:07:15 +01:00
|
|
|
|
|
|
|
func (*OutputChange) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *OutputChange) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_planfile_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)
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
// Deprecated: Use OutputChange.ProtoReflect.Descriptor instead.
|
|
|
|
func (*OutputChange) Descriptor() ([]byte, []int) {
|
|
|
|
return file_planfile_proto_rawDescGZIP(), []int{4}
|
|
|
|
}
|
2018-06-20 01:30:59 +02:00
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *OutputChange) GetName() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Name
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *OutputChange) GetChange() *Change {
|
|
|
|
if x != nil {
|
|
|
|
return x.Change
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *OutputChange) GetSensitive() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.Sensitive
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
|
|
|
// DynamicValue represents a value whose type is not decided until runtime,
|
|
|
|
// often based on schema information obtained from a plugin.
|
|
|
|
//
|
|
|
|
// At present dynamic values are always encoded as msgpack, with extension
|
|
|
|
// id 0 used to represent the special "unknown" value indicating results
|
|
|
|
// that won't be known until after apply.
|
|
|
|
//
|
|
|
|
// In future other serialization formats may be used, possibly with a
|
|
|
|
// transitional period of including both as separate attributes of this type.
|
|
|
|
// Consumers must ignore attributes they don't support and fail if no supported
|
|
|
|
// attribute is present. The top-level format version will not be incremented
|
|
|
|
// for changes to the set of dynamic serialization formats.
|
|
|
|
type DynamicValue struct {
|
2020-12-01 20:07:15 +01:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2018-06-20 01:30:59 +02:00
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
Msgpack []byte `protobuf:"bytes,1,opt,name=msgpack,proto3" json:"msgpack,omitempty"`
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
2019-09-05 14:36:13 +02:00
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *DynamicValue) Reset() {
|
|
|
|
*x = DynamicValue{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_planfile_proto_msgTypes[5]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
2020-12-01 20:07:15 +01:00
|
|
|
|
|
|
|
func (x *DynamicValue) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
2020-12-01 20:07:15 +01:00
|
|
|
|
|
|
|
func (*DynamicValue) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *DynamicValue) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_planfile_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)
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
// Deprecated: Use DynamicValue.ProtoReflect.Descriptor instead.
|
|
|
|
func (*DynamicValue) Descriptor() ([]byte, []int) {
|
|
|
|
return file_planfile_proto_rawDescGZIP(), []int{5}
|
|
|
|
}
|
2018-06-20 01:30:59 +02:00
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *DynamicValue) GetMsgpack() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.Msgpack
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// Hash represents a hash value.
|
|
|
|
//
|
|
|
|
// At present hashes always use the SHA256 algorithm. In future other hash
|
|
|
|
// algorithms may be used, possibly with a transitional period of including
|
|
|
|
// both as separate attributes of this type. Consumers must ignore attributes
|
|
|
|
// they don't support and fail if no supported attribute is present. The
|
|
|
|
// top-level format version will not be incremented for changes to the set of
|
|
|
|
// hash algorithms.
|
|
|
|
type Hash struct {
|
2020-12-01 20:07:15 +01:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2018-06-20 01:30:59 +02:00
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
Sha256 []byte `protobuf:"bytes,1,opt,name=sha256,proto3" json:"sha256,omitempty"`
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
2019-09-05 14:36:13 +02:00
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *Hash) Reset() {
|
|
|
|
*x = Hash{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_planfile_proto_msgTypes[6]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
2020-12-01 20:07:15 +01:00
|
|
|
|
|
|
|
func (x *Hash) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
2020-12-01 20:07:15 +01:00
|
|
|
|
|
|
|
func (*Hash) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Hash) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_planfile_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)
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
// Deprecated: Use Hash.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Hash) Descriptor() ([]byte, []int) {
|
|
|
|
return file_planfile_proto_rawDescGZIP(), []int{6}
|
|
|
|
}
|
2018-06-20 01:30:59 +02:00
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *Hash) GetSha256() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.Sha256
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// Path represents a set of steps to traverse into a data structure. It is
|
|
|
|
// used to refer to a sub-structure within a dynamic data structure presented
|
|
|
|
// separately.
|
|
|
|
type Path struct {
|
2020-12-01 20:07:15 +01:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2018-06-20 01:30:59 +02:00
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
Steps []*Path_Step `protobuf:"bytes,1,rep,name=steps,proto3" json:"steps,omitempty"`
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
2019-09-05 14:36:13 +02:00
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *Path) Reset() {
|
|
|
|
*x = Path{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_planfile_proto_msgTypes[7]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
2020-12-01 20:07:15 +01:00
|
|
|
|
|
|
|
func (x *Path) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
2020-12-01 20:07:15 +01:00
|
|
|
|
|
|
|
func (*Path) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Path) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_planfile_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)
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
// Deprecated: Use Path.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Path) Descriptor() ([]byte, []int) {
|
|
|
|
return file_planfile_proto_rawDescGZIP(), []int{7}
|
|
|
|
}
|
2018-06-20 01:30:59 +02:00
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *Path) GetSteps() []*Path_Step {
|
|
|
|
if x != nil {
|
|
|
|
return x.Steps
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type Path_Step struct {
|
2020-12-01 20:07:15 +01:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
// Types that are assignable to Selector:
|
2018-06-20 01:30:59 +02:00
|
|
|
// *Path_Step_AttributeName
|
|
|
|
// *Path_Step_ElementKey
|
2020-12-01 20:07:15 +01:00
|
|
|
Selector isPath_Step_Selector `protobuf_oneof:"selector"`
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *Path_Step) Reset() {
|
|
|
|
*x = Path_Step{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_planfile_proto_msgTypes[10]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
2019-09-05 14:36:13 +02:00
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *Path_Step) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
2020-12-01 20:07:15 +01:00
|
|
|
|
|
|
|
func (*Path_Step) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Path_Step) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_planfile_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)
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
2020-12-01 20:07:15 +01:00
|
|
|
|
|
|
|
// Deprecated: Use Path_Step.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Path_Step) Descriptor() ([]byte, []int) {
|
|
|
|
return file_planfile_proto_rawDescGZIP(), []int{7, 0}
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
2020-12-01 20:07:15 +01:00
|
|
|
|
|
|
|
func (m *Path_Step) GetSelector() isPath_Step_Selector {
|
|
|
|
if m != nil {
|
|
|
|
return m.Selector
|
|
|
|
}
|
|
|
|
return nil
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
2020-12-01 20:07:15 +01:00
|
|
|
|
|
|
|
func (x *Path_Step) GetAttributeName() string {
|
|
|
|
if x, ok := x.GetSelector().(*Path_Step_AttributeName); ok {
|
|
|
|
return x.AttributeName
|
|
|
|
}
|
|
|
|
return ""
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func (x *Path_Step) GetElementKey() *DynamicValue {
|
|
|
|
if x, ok := x.GetSelector().(*Path_Step_ElementKey); ok {
|
|
|
|
return x.ElementKey
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2018-06-20 01:30:59 +02:00
|
|
|
|
|
|
|
type isPath_Step_Selector interface {
|
|
|
|
isPath_Step_Selector()
|
|
|
|
}
|
|
|
|
|
|
|
|
type Path_Step_AttributeName struct {
|
2020-12-01 20:07:15 +01:00
|
|
|
// Set "attribute_name" to represent looking up an attribute
|
|
|
|
// in the current object value.
|
2018-06-20 01:30:59 +02:00
|
|
|
AttributeName string `protobuf:"bytes,1,opt,name=attribute_name,json=attributeName,proto3,oneof"`
|
|
|
|
}
|
2019-09-05 14:36:13 +02:00
|
|
|
|
2018-06-20 01:30:59 +02:00
|
|
|
type Path_Step_ElementKey struct {
|
2020-12-01 20:07:15 +01:00
|
|
|
// Set "element_key" to represent looking up an element in
|
|
|
|
// an indexable collection type.
|
2018-06-20 01:30:59 +02:00
|
|
|
ElementKey *DynamicValue `protobuf:"bytes,2,opt,name=element_key,json=elementKey,proto3,oneof"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*Path_Step_AttributeName) isPath_Step_Selector() {}
|
2019-09-05 14:36:13 +02:00
|
|
|
|
|
|
|
func (*Path_Step_ElementKey) isPath_Step_Selector() {}
|
2018-06-20 01:30:59 +02:00
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
var File_planfile_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
var file_planfile_proto_rawDesc = []byte{
|
|
|
|
0x0a, 0x0e, 0x70, 0x6c, 0x61, 0x6e, 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
|
|
0x12, 0x06, 0x74, 0x66, 0x70, 0x6c, 0x61, 0x6e, 0x22, 0xce, 0x04, 0x0a, 0x04, 0x50, 0x6c, 0x61,
|
|
|
|
0x6e, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
0x28, 0x04, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x09, 0x76,
|
|
|
|
0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b,
|
|
|
|
0x2e, 0x74, 0x66, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x2e, 0x56, 0x61, 0x72,
|
|
|
|
0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x76, 0x61, 0x72,
|
|
|
|
0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x49, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
|
|
|
|
0x63, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 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, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,
|
|
|
|
0x73, 0x12, 0x3b, 0x0a, 0x0e, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x63, 0x68, 0x61, 0x6e,
|
|
|
|
0x67, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x66, 0x70, 0x6c,
|
|
|
|
0x61, 0x6e, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52,
|
|
|
|
0x0d, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x21,
|
|
|
|
0x0a, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x73, 0x18, 0x05,
|
|
|
|
0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72,
|
|
|
|
0x73, 0x12, 0x2b, 0x0a, 0x11, 0x74, 0x65, 0x72, 0x72, 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x76,
|
|
|
|
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x74, 0x65,
|
|
|
|
0x72, 0x72, 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x49,
|
|
|
|
0x0a, 0x0f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x65,
|
|
|
|
0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x61, 0x6e,
|
|
|
|
0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x48, 0x61,
|
|
|
|
0x73, 0x68, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x76, 0x69,
|
|
|
|
0x64, 0x65, 0x72, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x12, 0x29, 0x0a, 0x07, 0x62, 0x61, 0x63,
|
|
|
|
0x6b, 0x65, 0x6e, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x66, 0x70,
|
|
|
|
0x6c, 0x61, 0x6e, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x52, 0x07, 0x62, 0x61, 0x63,
|
|
|
|
0x6b, 0x65, 0x6e, 0x64, 0x1a, 0x52, 0x0a, 0x0e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 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, 0x1a, 0x4f, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x76,
|
|
|
|
0x69, 0x64, 0x65, 0x72, 0x48, 0x61, 0x73, 0x68, 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, 0x22, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
|
|
|
|
0x32, 0x0c, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x05,
|
|
|
|
0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x69, 0x0a, 0x07, 0x42, 0x61, 0x63,
|
|
|
|
0x6b, 0x65, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x2c, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66,
|
|
|
|
0x69, 0x67, 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, 0x06,
|
|
|
|
0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70,
|
|
|
|
0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x77, 0x6f, 0x72, 0x6b, 0x73,
|
|
|
|
0x70, 0x61, 0x63, 0x65, 0x22, 0x5e, 0x0a, 0x06, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x26,
|
|
|
|
0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0e,
|
|
|
|
0x2e, 0x74, 0x66, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06,
|
|
|
|
0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73,
|
|
|
|
0x18, 0x02, 0x20, 0x03, 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, 0x06, 0x76, 0x61,
|
|
|
|
0x6c, 0x75, 0x65, 0x73, 0x22, 0xb9, 0x03, 0x0a, 0x16, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
|
|
|
|
0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12,
|
|
|
|
0x1f, 0x0a, 0x0b, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01,
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68,
|
|
|
|
0x12, 0x3f, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b,
|
|
|
|
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, 0x2e, 0x52,
|
|
|
|
0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6d, 0x6f, 0x64,
|
|
|
|
0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20,
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x03, 0x73, 0x74, 0x72,
|
|
|
|
0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, 0x73, 0x74, 0x72, 0x12, 0x12, 0x0a,
|
|
|
|
0x03, 0x69, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x03, 0x69, 0x6e,
|
|
|
|
0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x65, 0x64, 0x5f, 0x6b, 0x65, 0x79,
|
|
|
|
0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x65, 0x64, 0x4b,
|
|
|
|
0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x08,
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x26,
|
|
|
|
0x0a, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e,
|
|
|
|
0x2e, 0x74, 0x66, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x06,
|
|
|
|
0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74,
|
|
|
|
0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65,
|
|
|
|
0x12, 0x37, 0x0a, 0x10, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x70,
|
|
|
|
0x6c, 0x61, 0x63, 0x65, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x74, 0x66, 0x70,
|
|
|
|
0x6c, 0x61, 0x6e, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x52, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72,
|
|
|
|
0x65, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x22, 0x25, 0x0a, 0x0c, 0x52, 0x65, 0x73,
|
|
|
|
0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x6d, 0x61, 0x6e,
|
|
|
|
0x61, 0x67, 0x65, 0x64, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x10, 0x01,
|
|
|
|
0x42, 0x0e, 0x0a, 0x0c, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x6b, 0x65, 0x79,
|
|
|
|
0x22, 0x68, 0x0a, 0x0c, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,
|
|
|
|
0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
|
|
|
|
0x6e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x02,
|
|
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x43, 0x68,
|
|
|
|
0x61, 0x6e, 0x67, 0x65, 0x52, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x1c, 0x0a, 0x09,
|
|
|
|
0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52,
|
|
|
|
0x09, 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x22, 0x28, 0x0a, 0x0c, 0x44, 0x79,
|
|
|
|
0x6e, 0x61, 0x6d, 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x73,
|
|
|
|
0x67, 0x70, 0x61, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6d, 0x73, 0x67,
|
|
|
|
0x70, 0x61, 0x63, 0x6b, 0x22, 0x1e, 0x0a, 0x04, 0x48, 0x61, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06,
|
|
|
|
0x73, 0x68, 0x61, 0x32, 0x35, 0x36, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x68,
|
|
|
|
0x61, 0x32, 0x35, 0x36, 0x22, 0xa5, 0x01, 0x0a, 0x04, 0x50, 0x61, 0x74, 0x68, 0x12, 0x27, 0x0a,
|
|
|
|
0x05, 0x73, 0x74, 0x65, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x74,
|
|
|
|
0x66, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x52,
|
|
|
|
0x05, 0x73, 0x74, 0x65, 0x70, 0x73, 0x1a, 0x74, 0x0a, 0x04, 0x53, 0x74, 0x65, 0x70, 0x12, 0x27,
|
|
|
|
0x0a, 0x0e, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
|
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0d, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62,
|
|
|
|
0x75, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x0b, 0x65, 0x6c, 0x65, 0x6d, 0x65,
|
|
|
|
0x6e, 0x74, 0x5f, 0x6b, 0x65, 0x79, 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, 0x48, 0x00, 0x52, 0x0a, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79,
|
|
|
|
0x42, 0x0a, 0x0a, 0x08, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2a, 0x70, 0x0a, 0x06,
|
|
|
|
0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4f, 0x50, 0x10, 0x00,
|
|
|
|
0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04,
|
|
|
|
0x52, 0x45, 0x41, 0x44, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45,
|
|
|
|
0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x05, 0x12, 0x16,
|
|
|
|
0x0a, 0x12, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x5f, 0x54, 0x48, 0x45, 0x4e, 0x5f, 0x43, 0x52,
|
|
|
|
0x45, 0x41, 0x54, 0x45, 0x10, 0x06, 0x12, 0x16, 0x0a, 0x12, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45,
|
|
|
|
0x5f, 0x54, 0x48, 0x45, 0x4e, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x07, 0x42, 0x39,
|
|
|
|
0x5a, 0x37, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x68, 0x61, 0x73,
|
|
|
|
0x68, 0x69, 0x63, 0x6f, 0x72, 0x70, 0x2f, 0x74, 0x65, 0x72, 0x72, 0x61, 0x66, 0x6f, 0x72, 0x6d,
|
|
|
|
0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f,
|
|
|
|
0x70, 0x6c, 0x61, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
|
|
0x33,
|
|
|
|
}
|
|
|
|
|
|
|
|
var (
|
|
|
|
file_planfile_proto_rawDescOnce sync.Once
|
|
|
|
file_planfile_proto_rawDescData = file_planfile_proto_rawDesc
|
|
|
|
)
|
2018-06-20 01:30:59 +02:00
|
|
|
|
2020-12-01 20:07:15 +01:00
|
|
|
func file_planfile_proto_rawDescGZIP() []byte {
|
|
|
|
file_planfile_proto_rawDescOnce.Do(func() {
|
|
|
|
file_planfile_proto_rawDescData = protoimpl.X.CompressGZIP(file_planfile_proto_rawDescData)
|
|
|
|
})
|
|
|
|
return file_planfile_proto_rawDescData
|
|
|
|
}
|
|
|
|
|
|
|
|
var file_planfile_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
|
|
|
var file_planfile_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
|
|
|
var file_planfile_proto_goTypes = []interface{}{
|
|
|
|
(Action)(0), // 0: tfplan.Action
|
|
|
|
(ResourceInstanceChange_ResourceMode)(0), // 1: tfplan.ResourceInstanceChange.ResourceMode
|
|
|
|
(*Plan)(nil), // 2: tfplan.Plan
|
|
|
|
(*Backend)(nil), // 3: tfplan.Backend
|
|
|
|
(*Change)(nil), // 4: tfplan.Change
|
|
|
|
(*ResourceInstanceChange)(nil), // 5: tfplan.ResourceInstanceChange
|
|
|
|
(*OutputChange)(nil), // 6: tfplan.OutputChange
|
|
|
|
(*DynamicValue)(nil), // 7: tfplan.DynamicValue
|
|
|
|
(*Hash)(nil), // 8: tfplan.Hash
|
|
|
|
(*Path)(nil), // 9: tfplan.Path
|
|
|
|
nil, // 10: tfplan.Plan.VariablesEntry
|
|
|
|
nil, // 11: tfplan.Plan.ProviderHashesEntry
|
|
|
|
(*Path_Step)(nil), // 12: tfplan.Path.Step
|
|
|
|
}
|
|
|
|
var file_planfile_proto_depIdxs = []int32{
|
|
|
|
10, // 0: tfplan.Plan.variables:type_name -> tfplan.Plan.VariablesEntry
|
|
|
|
5, // 1: tfplan.Plan.resource_changes:type_name -> tfplan.ResourceInstanceChange
|
|
|
|
6, // 2: tfplan.Plan.output_changes:type_name -> tfplan.OutputChange
|
|
|
|
11, // 3: tfplan.Plan.provider_hashes:type_name -> tfplan.Plan.ProviderHashesEntry
|
|
|
|
3, // 4: tfplan.Plan.backend:type_name -> tfplan.Backend
|
|
|
|
7, // 5: tfplan.Backend.config:type_name -> tfplan.DynamicValue
|
|
|
|
0, // 6: tfplan.Change.action:type_name -> tfplan.Action
|
|
|
|
7, // 7: tfplan.Change.values:type_name -> tfplan.DynamicValue
|
|
|
|
1, // 8: tfplan.ResourceInstanceChange.mode:type_name -> tfplan.ResourceInstanceChange.ResourceMode
|
|
|
|
4, // 9: tfplan.ResourceInstanceChange.change:type_name -> tfplan.Change
|
|
|
|
9, // 10: tfplan.ResourceInstanceChange.required_replace:type_name -> tfplan.Path
|
|
|
|
4, // 11: tfplan.OutputChange.change:type_name -> tfplan.Change
|
|
|
|
12, // 12: tfplan.Path.steps:type_name -> tfplan.Path.Step
|
|
|
|
7, // 13: tfplan.Plan.VariablesEntry.value:type_name -> tfplan.DynamicValue
|
|
|
|
8, // 14: tfplan.Plan.ProviderHashesEntry.value:type_name -> tfplan.Hash
|
|
|
|
7, // 15: tfplan.Path.Step.element_key:type_name -> tfplan.DynamicValue
|
|
|
|
16, // [16:16] is the sub-list for method output_type
|
|
|
|
16, // [16:16] is the sub-list for method input_type
|
|
|
|
16, // [16:16] is the sub-list for extension type_name
|
|
|
|
16, // [16:16] is the sub-list for extension extendee
|
|
|
|
0, // [0:16] is the sub-list for field type_name
|
|
|
|
}
|
|
|
|
|
|
|
|
func init() { file_planfile_proto_init() }
|
|
|
|
func file_planfile_proto_init() {
|
|
|
|
if File_planfile_proto != nil {
|
|
|
|
return
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
2020-12-01 20:07:15 +01:00
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
|
file_planfile_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*Plan); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_planfile_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*Backend); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_planfile_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*Change); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_planfile_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*ResourceInstanceChange); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_planfile_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*OutputChange); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_planfile_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*DynamicValue); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_planfile_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*Hash); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_planfile_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*Path); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_planfile_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*Path_Step); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|
2020-12-01 20:07:15 +01:00
|
|
|
file_planfile_proto_msgTypes[3].OneofWrappers = []interface{}{
|
|
|
|
(*ResourceInstanceChange_Str)(nil),
|
|
|
|
(*ResourceInstanceChange_Int)(nil),
|
|
|
|
}
|
|
|
|
file_planfile_proto_msgTypes[10].OneofWrappers = []interface{}{
|
2018-06-20 01:30:59 +02:00
|
|
|
(*Path_Step_AttributeName)(nil),
|
|
|
|
(*Path_Step_ElementKey)(nil),
|
|
|
|
}
|
2020-12-01 20:07:15 +01:00
|
|
|
type x struct{}
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
RawDescriptor: file_planfile_proto_rawDesc,
|
|
|
|
NumEnums: 2,
|
|
|
|
NumMessages: 11,
|
|
|
|
NumExtensions: 0,
|
|
|
|
NumServices: 0,
|
|
|
|
},
|
|
|
|
GoTypes: file_planfile_proto_goTypes,
|
|
|
|
DependencyIndexes: file_planfile_proto_depIdxs,
|
|
|
|
EnumInfos: file_planfile_proto_enumTypes,
|
|
|
|
MessageInfos: file_planfile_proto_msgTypes,
|
|
|
|
}.Build()
|
|
|
|
File_planfile_proto = out.File
|
|
|
|
file_planfile_proto_rawDesc = nil
|
|
|
|
file_planfile_proto_goTypes = nil
|
|
|
|
file_planfile_proto_depIdxs = nil
|
2018-06-20 01:30:59 +02:00
|
|
|
}
|