Documentation ¶
Index ¶
- Variables
- func RegisterProviderServer(s *grpc.Server, srv ProviderServer)
- func RegisterProvisionerServer(s *grpc.Server, srv ProvisionerServer)
- type ApplyResourceChange
- type ApplyResourceChange_Request
- func (*ApplyResourceChange_Request) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyResourceChange_Request) GetConfig() *DynamicValue
- func (x *ApplyResourceChange_Request) GetPlannedPrivate() []byte
- func (x *ApplyResourceChange_Request) GetPlannedState() *DynamicValue
- func (x *ApplyResourceChange_Request) GetPriorState() *DynamicValue
- func (x *ApplyResourceChange_Request) GetProviderMeta() *DynamicValue
- func (x *ApplyResourceChange_Request) GetTypeName() string
- func (*ApplyResourceChange_Request) ProtoMessage()
- func (x *ApplyResourceChange_Request) ProtoReflect() protoreflect.Message
- func (x *ApplyResourceChange_Request) Reset()
- func (x *ApplyResourceChange_Request) String() string
- type ApplyResourceChange_Response
- func (*ApplyResourceChange_Response) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyResourceChange_Response) GetDiagnostics() []*Diagnostic
- func (x *ApplyResourceChange_Response) GetLegacyTypeSystem() bool
- func (x *ApplyResourceChange_Response) GetNewState() *DynamicValue
- func (x *ApplyResourceChange_Response) GetPrivate() []byte
- func (*ApplyResourceChange_Response) ProtoMessage()
- func (x *ApplyResourceChange_Response) ProtoReflect() protoreflect.Message
- func (x *ApplyResourceChange_Response) Reset()
- func (x *ApplyResourceChange_Response) String() string
- type AttributePath
- type AttributePath_Step
- func (*AttributePath_Step) Descriptor() ([]byte, []int)deprecated
- func (x *AttributePath_Step) GetAttributeName() string
- func (x *AttributePath_Step) GetElementKeyInt() int64
- func (x *AttributePath_Step) GetElementKeyString() string
- func (m *AttributePath_Step) GetSelector() isAttributePath_Step_Selector
- func (*AttributePath_Step) ProtoMessage()
- func (x *AttributePath_Step) ProtoReflect() protoreflect.Message
- func (x *AttributePath_Step) Reset()
- func (x *AttributePath_Step) String() string
- type AttributePath_Step_AttributeName
- type AttributePath_Step_ElementKeyInt
- type AttributePath_Step_ElementKeyString
- type Configure
- type Configure_Request
- func (*Configure_Request) Descriptor() ([]byte, []int)deprecated
- func (x *Configure_Request) GetConfig() *DynamicValue
- func (x *Configure_Request) GetTerraformVersion() string
- func (*Configure_Request) ProtoMessage()
- func (x *Configure_Request) ProtoReflect() protoreflect.Message
- func (x *Configure_Request) Reset()
- func (x *Configure_Request) String() string
- type Configure_Response
- func (*Configure_Response) Descriptor() ([]byte, []int)deprecated
- func (x *Configure_Response) GetDiagnostics() []*Diagnostic
- func (*Configure_Response) ProtoMessage()
- func (x *Configure_Response) ProtoReflect() protoreflect.Message
- func (x *Configure_Response) Reset()
- func (x *Configure_Response) String() string
- type Diagnostic
- func (*Diagnostic) Descriptor() ([]byte, []int)deprecated
- func (x *Diagnostic) GetAttribute() *AttributePath
- func (x *Diagnostic) GetDetail() string
- func (x *Diagnostic) GetSeverity() Diagnostic_Severity
- func (x *Diagnostic) GetSummary() string
- func (*Diagnostic) ProtoMessage()
- func (x *Diagnostic) ProtoReflect() protoreflect.Message
- func (x *Diagnostic) Reset()
- func (x *Diagnostic) String() string
- type Diagnostic_Severity
- func (Diagnostic_Severity) Descriptor() protoreflect.EnumDescriptor
- func (x Diagnostic_Severity) Enum() *Diagnostic_Severity
- func (Diagnostic_Severity) EnumDescriptor() ([]byte, []int)deprecated
- func (x Diagnostic_Severity) Number() protoreflect.EnumNumber
- func (x Diagnostic_Severity) String() string
- func (Diagnostic_Severity) Type() protoreflect.EnumType
- type DynamicValue
- func (*DynamicValue) Descriptor() ([]byte, []int)deprecated
- func (x *DynamicValue) GetJson() []byte
- func (x *DynamicValue) GetMsgpack() []byte
- func (*DynamicValue) ProtoMessage()
- func (x *DynamicValue) ProtoReflect() protoreflect.Message
- func (x *DynamicValue) Reset()
- func (x *DynamicValue) String() string
- type GetProviderSchema
- type GetProviderSchema_Request
- type GetProviderSchema_Response
- func (*GetProviderSchema_Response) Descriptor() ([]byte, []int)deprecated
- func (x *GetProviderSchema_Response) GetDataSourceSchemas() map[string]*Schema
- func (x *GetProviderSchema_Response) GetDiagnostics() []*Diagnostic
- func (x *GetProviderSchema_Response) GetProvider() *Schema
- func (x *GetProviderSchema_Response) GetProviderMeta() *Schema
- func (x *GetProviderSchema_Response) GetResourceSchemas() map[string]*Schema
- func (x *GetProviderSchema_Response) GetServerCapabilities() *GetProviderSchema_ServerCapabilities
- func (*GetProviderSchema_Response) ProtoMessage()
- func (x *GetProviderSchema_Response) ProtoReflect() protoreflect.Message
- func (x *GetProviderSchema_Response) Reset()
- func (x *GetProviderSchema_Response) String() string
- type GetProviderSchema_ServerCapabilities
- func (*GetProviderSchema_ServerCapabilities) Descriptor() ([]byte, []int)deprecated
- func (x *GetProviderSchema_ServerCapabilities) GetGetProviderSchemaOptional() bool
- func (x *GetProviderSchema_ServerCapabilities) GetPlanDestroy() bool
- func (*GetProviderSchema_ServerCapabilities) ProtoMessage()
- func (x *GetProviderSchema_ServerCapabilities) ProtoReflect() protoreflect.Message
- func (x *GetProviderSchema_ServerCapabilities) Reset()
- func (x *GetProviderSchema_ServerCapabilities) String() string
- type GetProvisionerSchema
- type GetProvisionerSchema_Request
- func (*GetProvisionerSchema_Request) Descriptor() ([]byte, []int)deprecated
- func (*GetProvisionerSchema_Request) ProtoMessage()
- func (x *GetProvisionerSchema_Request) ProtoReflect() protoreflect.Message
- func (x *GetProvisionerSchema_Request) Reset()
- func (x *GetProvisionerSchema_Request) String() string
- type GetProvisionerSchema_Response
- func (*GetProvisionerSchema_Response) Descriptor() ([]byte, []int)deprecated
- func (x *GetProvisionerSchema_Response) GetDiagnostics() []*Diagnostic
- func (x *GetProvisionerSchema_Response) GetProvisioner() *Schema
- func (*GetProvisionerSchema_Response) ProtoMessage()
- func (x *GetProvisionerSchema_Response) ProtoReflect() protoreflect.Message
- func (x *GetProvisionerSchema_Response) Reset()
- func (x *GetProvisionerSchema_Response) String() string
- type ImportResourceState
- type ImportResourceState_ImportedResource
- func (*ImportResourceState_ImportedResource) Descriptor() ([]byte, []int)deprecated
- func (x *ImportResourceState_ImportedResource) GetPrivate() []byte
- func (x *ImportResourceState_ImportedResource) GetState() *DynamicValue
- func (x *ImportResourceState_ImportedResource) GetTypeName() string
- func (*ImportResourceState_ImportedResource) ProtoMessage()
- func (x *ImportResourceState_ImportedResource) ProtoReflect() protoreflect.Message
- func (x *ImportResourceState_ImportedResource) Reset()
- func (x *ImportResourceState_ImportedResource) String() string
- type ImportResourceState_Request
- func (*ImportResourceState_Request) Descriptor() ([]byte, []int)deprecated
- func (x *ImportResourceState_Request) GetId() string
- func (x *ImportResourceState_Request) GetTypeName() string
- func (*ImportResourceState_Request) ProtoMessage()
- func (x *ImportResourceState_Request) ProtoReflect() protoreflect.Message
- func (x *ImportResourceState_Request) Reset()
- func (x *ImportResourceState_Request) String() string
- type ImportResourceState_Response
- func (*ImportResourceState_Response) Descriptor() ([]byte, []int)deprecated
- func (x *ImportResourceState_Response) GetDiagnostics() []*Diagnostic
- func (x *ImportResourceState_Response) GetImportedResources() []*ImportResourceState_ImportedResource
- func (*ImportResourceState_Response) ProtoMessage()
- func (x *ImportResourceState_Response) ProtoReflect() protoreflect.Message
- func (x *ImportResourceState_Response) Reset()
- func (x *ImportResourceState_Response) String() string
- type PlanResourceChange
- type PlanResourceChange_Request
- func (*PlanResourceChange_Request) Descriptor() ([]byte, []int)deprecated
- func (x *PlanResourceChange_Request) GetConfig() *DynamicValue
- func (x *PlanResourceChange_Request) GetPriorPrivate() []byte
- func (x *PlanResourceChange_Request) GetPriorState() *DynamicValue
- func (x *PlanResourceChange_Request) GetProposedNewState() *DynamicValue
- func (x *PlanResourceChange_Request) GetProviderMeta() *DynamicValue
- func (x *PlanResourceChange_Request) GetTypeName() string
- func (*PlanResourceChange_Request) ProtoMessage()
- func (x *PlanResourceChange_Request) ProtoReflect() protoreflect.Message
- func (x *PlanResourceChange_Request) Reset()
- func (x *PlanResourceChange_Request) String() string
- type PlanResourceChange_Response
- func (*PlanResourceChange_Response) Descriptor() ([]byte, []int)deprecated
- func (x *PlanResourceChange_Response) GetDiagnostics() []*Diagnostic
- func (x *PlanResourceChange_Response) GetLegacyTypeSystem() bool
- func (x *PlanResourceChange_Response) GetPlannedPrivate() []byte
- func (x *PlanResourceChange_Response) GetPlannedState() *DynamicValue
- func (x *PlanResourceChange_Response) GetRequiresReplace() []*AttributePath
- func (*PlanResourceChange_Response) ProtoMessage()
- func (x *PlanResourceChange_Response) ProtoReflect() protoreflect.Message
- func (x *PlanResourceChange_Response) Reset()
- func (x *PlanResourceChange_Response) String() string
- type PrepareProviderConfig
- type PrepareProviderConfig_Request
- func (*PrepareProviderConfig_Request) Descriptor() ([]byte, []int)deprecated
- func (x *PrepareProviderConfig_Request) GetConfig() *DynamicValue
- func (*PrepareProviderConfig_Request) ProtoMessage()
- func (x *PrepareProviderConfig_Request) ProtoReflect() protoreflect.Message
- func (x *PrepareProviderConfig_Request) Reset()
- func (x *PrepareProviderConfig_Request) String() string
- type PrepareProviderConfig_Response
- func (*PrepareProviderConfig_Response) Descriptor() ([]byte, []int)deprecated
- func (x *PrepareProviderConfig_Response) GetDiagnostics() []*Diagnostic
- func (x *PrepareProviderConfig_Response) GetPreparedConfig() *DynamicValue
- func (*PrepareProviderConfig_Response) ProtoMessage()
- func (x *PrepareProviderConfig_Response) ProtoReflect() protoreflect.Message
- func (x *PrepareProviderConfig_Response) Reset()
- func (x *PrepareProviderConfig_Response) String() string
- type ProviderClient
- type ProviderServer
- type ProvisionResource
- type ProvisionResource_Request
- func (*ProvisionResource_Request) Descriptor() ([]byte, []int)deprecated
- func (x *ProvisionResource_Request) GetConfig() *DynamicValue
- func (x *ProvisionResource_Request) GetConnection() *DynamicValue
- func (*ProvisionResource_Request) ProtoMessage()
- func (x *ProvisionResource_Request) ProtoReflect() protoreflect.Message
- func (x *ProvisionResource_Request) Reset()
- func (x *ProvisionResource_Request) String() string
- type ProvisionResource_Response
- func (*ProvisionResource_Response) Descriptor() ([]byte, []int)deprecated
- func (x *ProvisionResource_Response) GetDiagnostics() []*Diagnostic
- func (x *ProvisionResource_Response) GetOutput() string
- func (*ProvisionResource_Response) ProtoMessage()
- func (x *ProvisionResource_Response) ProtoReflect() protoreflect.Message
- func (x *ProvisionResource_Response) Reset()
- func (x *ProvisionResource_Response) String() string
- type ProvisionerClient
- type ProvisionerServer
- type Provisioner_ProvisionResourceClient
- type Provisioner_ProvisionResourceServer
- type RawState
- type ReadDataSource
- type ReadDataSource_Request
- func (*ReadDataSource_Request) Descriptor() ([]byte, []int)deprecated
- func (x *ReadDataSource_Request) GetConfig() *DynamicValue
- func (x *ReadDataSource_Request) GetProviderMeta() *DynamicValue
- func (x *ReadDataSource_Request) GetTypeName() string
- func (*ReadDataSource_Request) ProtoMessage()
- func (x *ReadDataSource_Request) ProtoReflect() protoreflect.Message
- func (x *ReadDataSource_Request) Reset()
- func (x *ReadDataSource_Request) String() string
- type ReadDataSource_Response
- func (*ReadDataSource_Response) Descriptor() ([]byte, []int)deprecated
- func (x *ReadDataSource_Response) GetDiagnostics() []*Diagnostic
- func (x *ReadDataSource_Response) GetState() *DynamicValue
- func (*ReadDataSource_Response) ProtoMessage()
- func (x *ReadDataSource_Response) ProtoReflect() protoreflect.Message
- func (x *ReadDataSource_Response) Reset()
- func (x *ReadDataSource_Response) String() string
- type ReadResource
- type ReadResource_Request
- func (*ReadResource_Request) Descriptor() ([]byte, []int)deprecated
- func (x *ReadResource_Request) GetCurrentState() *DynamicValue
- func (x *ReadResource_Request) GetPrivate() []byte
- func (x *ReadResource_Request) GetProviderMeta() *DynamicValue
- func (x *ReadResource_Request) GetTypeName() string
- func (*ReadResource_Request) ProtoMessage()
- func (x *ReadResource_Request) ProtoReflect() protoreflect.Message
- func (x *ReadResource_Request) Reset()
- func (x *ReadResource_Request) String() string
- type ReadResource_Response
- func (*ReadResource_Response) Descriptor() ([]byte, []int)deprecated
- func (x *ReadResource_Response) GetDiagnostics() []*Diagnostic
- func (x *ReadResource_Response) GetNewState() *DynamicValue
- func (x *ReadResource_Response) GetPrivate() []byte
- func (*ReadResource_Response) ProtoMessage()
- func (x *ReadResource_Response) ProtoReflect() protoreflect.Message
- func (x *ReadResource_Response) Reset()
- func (x *ReadResource_Response) String() string
- type Schema
- type Schema_Attribute
- func (*Schema_Attribute) Descriptor() ([]byte, []int)deprecated
- func (x *Schema_Attribute) GetComputed() bool
- func (x *Schema_Attribute) GetDeprecated() bool
- func (x *Schema_Attribute) GetDescription() string
- func (x *Schema_Attribute) GetDescriptionKind() StringKind
- func (x *Schema_Attribute) GetName() string
- func (x *Schema_Attribute) GetOptional() bool
- func (x *Schema_Attribute) GetRequired() bool
- func (x *Schema_Attribute) GetSensitive() bool
- func (x *Schema_Attribute) GetType() []byte
- func (*Schema_Attribute) ProtoMessage()
- func (x *Schema_Attribute) ProtoReflect() protoreflect.Message
- func (x *Schema_Attribute) Reset()
- func (x *Schema_Attribute) String() string
- type Schema_Block
- func (*Schema_Block) Descriptor() ([]byte, []int)deprecated
- func (x *Schema_Block) GetAttributes() []*Schema_Attribute
- func (x *Schema_Block) GetBlockTypes() []*Schema_NestedBlock
- func (x *Schema_Block) GetDeprecated() bool
- func (x *Schema_Block) GetDescription() string
- func (x *Schema_Block) GetDescriptionKind() StringKind
- func (x *Schema_Block) GetVersion() int64
- func (*Schema_Block) ProtoMessage()
- func (x *Schema_Block) ProtoReflect() protoreflect.Message
- func (x *Schema_Block) Reset()
- func (x *Schema_Block) String() string
- type Schema_NestedBlock
- func (*Schema_NestedBlock) Descriptor() ([]byte, []int)deprecated
- func (x *Schema_NestedBlock) GetBlock() *Schema_Block
- func (x *Schema_NestedBlock) GetMaxItems() int64
- func (x *Schema_NestedBlock) GetMinItems() int64
- func (x *Schema_NestedBlock) GetNesting() Schema_NestedBlock_NestingMode
- func (x *Schema_NestedBlock) GetTypeName() string
- func (*Schema_NestedBlock) ProtoMessage()
- func (x *Schema_NestedBlock) ProtoReflect() protoreflect.Message
- func (x *Schema_NestedBlock) Reset()
- func (x *Schema_NestedBlock) String() string
- type Schema_NestedBlock_NestingMode
- func (Schema_NestedBlock_NestingMode) Descriptor() protoreflect.EnumDescriptor
- func (x Schema_NestedBlock_NestingMode) Enum() *Schema_NestedBlock_NestingMode
- func (Schema_NestedBlock_NestingMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x Schema_NestedBlock_NestingMode) Number() protoreflect.EnumNumber
- func (x Schema_NestedBlock_NestingMode) String() string
- func (Schema_NestedBlock_NestingMode) Type() protoreflect.EnumType
- type Stop
- type Stop_Request
- type Stop_Response
- type StringKind
- type UnimplementedProviderServer
- func (*UnimplementedProviderServer) ApplyResourceChange(context.Context, *ApplyResourceChange_Request) (*ApplyResourceChange_Response, error)
- func (*UnimplementedProviderServer) Configure(context.Context, *Configure_Request) (*Configure_Response, error)
- func (*UnimplementedProviderServer) GetSchema(context.Context, *GetProviderSchema_Request) (*GetProviderSchema_Response, error)
- func (*UnimplementedProviderServer) ImportResourceState(context.Context, *ImportResourceState_Request) (*ImportResourceState_Response, error)
- func (*UnimplementedProviderServer) PlanResourceChange(context.Context, *PlanResourceChange_Request) (*PlanResourceChange_Response, error)
- func (*UnimplementedProviderServer) PrepareProviderConfig(context.Context, *PrepareProviderConfig_Request) (*PrepareProviderConfig_Response, error)
- func (*UnimplementedProviderServer) ReadDataSource(context.Context, *ReadDataSource_Request) (*ReadDataSource_Response, error)
- func (*UnimplementedProviderServer) ReadResource(context.Context, *ReadResource_Request) (*ReadResource_Response, error)
- func (*UnimplementedProviderServer) Stop(context.Context, *Stop_Request) (*Stop_Response, error)
- func (*UnimplementedProviderServer) UpgradeResourceState(context.Context, *UpgradeResourceState_Request) (*UpgradeResourceState_Response, error)
- func (*UnimplementedProviderServer) ValidateDataSourceConfig(context.Context, *ValidateDataSourceConfig_Request) (*ValidateDataSourceConfig_Response, error)
- func (*UnimplementedProviderServer) ValidateResourceTypeConfig(context.Context, *ValidateResourceTypeConfig_Request) (*ValidateResourceTypeConfig_Response, error)
- type UnimplementedProvisionerServer
- func (*UnimplementedProvisionerServer) GetSchema(context.Context, *GetProvisionerSchema_Request) (*GetProvisionerSchema_Response, error)
- func (*UnimplementedProvisionerServer) ProvisionResource(*ProvisionResource_Request, Provisioner_ProvisionResourceServer) error
- func (*UnimplementedProvisionerServer) Stop(context.Context, *Stop_Request) (*Stop_Response, error)
- func (*UnimplementedProvisionerServer) ValidateProvisionerConfig(context.Context, *ValidateProvisionerConfig_Request) (*ValidateProvisionerConfig_Response, error)
- type UpgradeResourceState
- type UpgradeResourceState_Request
- func (*UpgradeResourceState_Request) Descriptor() ([]byte, []int)deprecated
- func (x *UpgradeResourceState_Request) GetRawState() *RawState
- func (x *UpgradeResourceState_Request) GetTypeName() string
- func (x *UpgradeResourceState_Request) GetVersion() int64
- func (*UpgradeResourceState_Request) ProtoMessage()
- func (x *UpgradeResourceState_Request) ProtoReflect() protoreflect.Message
- func (x *UpgradeResourceState_Request) Reset()
- func (x *UpgradeResourceState_Request) String() string
- type UpgradeResourceState_Response
- func (*UpgradeResourceState_Response) Descriptor() ([]byte, []int)deprecated
- func (x *UpgradeResourceState_Response) GetDiagnostics() []*Diagnostic
- func (x *UpgradeResourceState_Response) GetUpgradedState() *DynamicValue
- func (*UpgradeResourceState_Response) ProtoMessage()
- func (x *UpgradeResourceState_Response) ProtoReflect() protoreflect.Message
- func (x *UpgradeResourceState_Response) Reset()
- func (x *UpgradeResourceState_Response) String() string
- type ValidateDataSourceConfig
- type ValidateDataSourceConfig_Request
- func (*ValidateDataSourceConfig_Request) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateDataSourceConfig_Request) GetConfig() *DynamicValue
- func (x *ValidateDataSourceConfig_Request) GetTypeName() string
- func (*ValidateDataSourceConfig_Request) ProtoMessage()
- func (x *ValidateDataSourceConfig_Request) ProtoReflect() protoreflect.Message
- func (x *ValidateDataSourceConfig_Request) Reset()
- func (x *ValidateDataSourceConfig_Request) String() string
- type ValidateDataSourceConfig_Response
- func (*ValidateDataSourceConfig_Response) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateDataSourceConfig_Response) GetDiagnostics() []*Diagnostic
- func (*ValidateDataSourceConfig_Response) ProtoMessage()
- func (x *ValidateDataSourceConfig_Response) ProtoReflect() protoreflect.Message
- func (x *ValidateDataSourceConfig_Response) Reset()
- func (x *ValidateDataSourceConfig_Response) String() string
- type ValidateProvisionerConfig
- type ValidateProvisionerConfig_Request
- func (*ValidateProvisionerConfig_Request) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateProvisionerConfig_Request) GetConfig() *DynamicValue
- func (*ValidateProvisionerConfig_Request) ProtoMessage()
- func (x *ValidateProvisionerConfig_Request) ProtoReflect() protoreflect.Message
- func (x *ValidateProvisionerConfig_Request) Reset()
- func (x *ValidateProvisionerConfig_Request) String() string
- type ValidateProvisionerConfig_Response
- func (*ValidateProvisionerConfig_Response) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateProvisionerConfig_Response) GetDiagnostics() []*Diagnostic
- func (*ValidateProvisionerConfig_Response) ProtoMessage()
- func (x *ValidateProvisionerConfig_Response) ProtoReflect() protoreflect.Message
- func (x *ValidateProvisionerConfig_Response) Reset()
- func (x *ValidateProvisionerConfig_Response) String() string
- type ValidateResourceTypeConfig
- type ValidateResourceTypeConfig_Request
- func (*ValidateResourceTypeConfig_Request) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateResourceTypeConfig_Request) GetConfig() *DynamicValue
- func (x *ValidateResourceTypeConfig_Request) GetTypeName() string
- func (*ValidateResourceTypeConfig_Request) ProtoMessage()
- func (x *ValidateResourceTypeConfig_Request) ProtoReflect() protoreflect.Message
- func (x *ValidateResourceTypeConfig_Request) Reset()
- func (x *ValidateResourceTypeConfig_Request) String() string
- type ValidateResourceTypeConfig_Response
- func (*ValidateResourceTypeConfig_Response) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateResourceTypeConfig_Response) GetDiagnostics() []*Diagnostic
- func (*ValidateResourceTypeConfig_Response) ProtoMessage()
- func (x *ValidateResourceTypeConfig_Response) ProtoReflect() protoreflect.Message
- func (x *ValidateResourceTypeConfig_Response) Reset()
- func (x *ValidateResourceTypeConfig_Response) String() string
Constants ¶
This section is empty.
Variables ¶
var ( StringKind_name = map[int32]string{ 0: "PLAIN", 1: "MARKDOWN", } StringKind_value = map[string]int32{ "PLAIN": 0, "MARKDOWN": 1, } )
Enum value maps for StringKind.
var ( Diagnostic_Severity_name = map[int32]string{ 0: "INVALID", 1: "ERROR", 2: "WARNING", } Diagnostic_Severity_value = map[string]int32{ "INVALID": 0, "ERROR": 1, "WARNING": 2, } )
Enum value maps for Diagnostic_Severity.
var ( Schema_NestedBlock_NestingMode_name = map[int32]string{ 0: "INVALID", 1: "SINGLE", 2: "LIST", 3: "SET", 4: "MAP", 5: "GROUP", } Schema_NestedBlock_NestingMode_value = map[string]int32{ "INVALID": 0, "SINGLE": 1, "LIST": 2, "SET": 3, "MAP": 4, "GROUP": 5, } )
Enum value maps for Schema_NestedBlock_NestingMode.
var File_tfplugin5_proto protoreflect.FileDescriptor
Functions ¶
func RegisterProviderServer ¶
func RegisterProviderServer(s *grpc.Server, srv ProviderServer)
func RegisterProvisionerServer ¶
func RegisterProvisionerServer(s *grpc.Server, srv ProvisionerServer)
Types ¶
type ApplyResourceChange ¶
type ApplyResourceChange struct {
// contains filtered or unexported fields
}
func (*ApplyResourceChange) Descriptor
deprecated
func (*ApplyResourceChange) Descriptor() ([]byte, []int)
Deprecated: Use ApplyResourceChange.ProtoReflect.Descriptor instead.
func (*ApplyResourceChange) ProtoMessage ¶
func (*ApplyResourceChange) ProtoMessage()
func (*ApplyResourceChange) ProtoReflect ¶ added in v0.15.0
func (x *ApplyResourceChange) ProtoReflect() protoreflect.Message
func (*ApplyResourceChange) Reset ¶
func (x *ApplyResourceChange) Reset()
func (*ApplyResourceChange) String ¶
func (x *ApplyResourceChange) String() string
type ApplyResourceChange_Request ¶
type ApplyResourceChange_Request struct { TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` PriorState *DynamicValue `protobuf:"bytes,2,opt,name=prior_state,json=priorState,proto3" json:"prior_state,omitempty"` PlannedState *DynamicValue `protobuf:"bytes,3,opt,name=planned_state,json=plannedState,proto3" json:"planned_state,omitempty"` Config *DynamicValue `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"` PlannedPrivate []byte `protobuf:"bytes,5,opt,name=planned_private,json=plannedPrivate,proto3" json:"planned_private,omitempty"` ProviderMeta *DynamicValue `protobuf:"bytes,6,opt,name=provider_meta,json=providerMeta,proto3" json:"provider_meta,omitempty"` // contains filtered or unexported fields }
func (*ApplyResourceChange_Request) Descriptor
deprecated
func (*ApplyResourceChange_Request) Descriptor() ([]byte, []int)
Deprecated: Use ApplyResourceChange_Request.ProtoReflect.Descriptor instead.
func (*ApplyResourceChange_Request) GetConfig ¶
func (x *ApplyResourceChange_Request) GetConfig() *DynamicValue
func (*ApplyResourceChange_Request) GetPlannedPrivate ¶
func (x *ApplyResourceChange_Request) GetPlannedPrivate() []byte
func (*ApplyResourceChange_Request) GetPlannedState ¶
func (x *ApplyResourceChange_Request) GetPlannedState() *DynamicValue
func (*ApplyResourceChange_Request) GetPriorState ¶
func (x *ApplyResourceChange_Request) GetPriorState() *DynamicValue
func (*ApplyResourceChange_Request) GetProviderMeta ¶ added in v0.13.0
func (x *ApplyResourceChange_Request) GetProviderMeta() *DynamicValue
func (*ApplyResourceChange_Request) GetTypeName ¶
func (x *ApplyResourceChange_Request) GetTypeName() string
func (*ApplyResourceChange_Request) ProtoMessage ¶
func (*ApplyResourceChange_Request) ProtoMessage()
func (*ApplyResourceChange_Request) ProtoReflect ¶ added in v0.15.0
func (x *ApplyResourceChange_Request) ProtoReflect() protoreflect.Message
func (*ApplyResourceChange_Request) Reset ¶
func (x *ApplyResourceChange_Request) Reset()
func (*ApplyResourceChange_Request) String ¶
func (x *ApplyResourceChange_Request) String() string
type ApplyResourceChange_Response ¶
type ApplyResourceChange_Response struct { NewState *DynamicValue `protobuf:"bytes,1,opt,name=new_state,json=newState,proto3" json:"new_state,omitempty"` Private []byte `protobuf:"bytes,2,opt,name=private,proto3" json:"private,omitempty"` Diagnostics []*Diagnostic `protobuf:"bytes,3,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` // This may be set only by the helper/schema "SDK" in the main Terraform // repository, to request that Terraform Core >=0.12 permit additional // inconsistencies that can result from the legacy SDK type system // and its imprecise mapping to the >=0.12 type system. // The change in behavior implied by this flag makes sense only for the // specific details of the legacy SDK type system, and are not a general // mechanism to avoid proper type handling in providers. // // ==== DO NOT USE THIS ==== // ==== THIS MUST BE LEFT UNSET IN ALL OTHER SDKS ==== // ==== DO NOT USE THIS ==== LegacyTypeSystem bool `protobuf:"varint,4,opt,name=legacy_type_system,json=legacyTypeSystem,proto3" json:"legacy_type_system,omitempty"` // contains filtered or unexported fields }
func (*ApplyResourceChange_Response) Descriptor
deprecated
func (*ApplyResourceChange_Response) Descriptor() ([]byte, []int)
Deprecated: Use ApplyResourceChange_Response.ProtoReflect.Descriptor instead.
func (*ApplyResourceChange_Response) GetDiagnostics ¶
func (x *ApplyResourceChange_Response) GetDiagnostics() []*Diagnostic
func (*ApplyResourceChange_Response) GetLegacyTypeSystem ¶
func (x *ApplyResourceChange_Response) GetLegacyTypeSystem() bool
func (*ApplyResourceChange_Response) GetNewState ¶
func (x *ApplyResourceChange_Response) GetNewState() *DynamicValue
func (*ApplyResourceChange_Response) GetPrivate ¶
func (x *ApplyResourceChange_Response) GetPrivate() []byte
func (*ApplyResourceChange_Response) ProtoMessage ¶
func (*ApplyResourceChange_Response) ProtoMessage()
func (*ApplyResourceChange_Response) ProtoReflect ¶ added in v0.15.0
func (x *ApplyResourceChange_Response) ProtoReflect() protoreflect.Message
func (*ApplyResourceChange_Response) Reset ¶
func (x *ApplyResourceChange_Response) Reset()
func (*ApplyResourceChange_Response) String ¶
func (x *ApplyResourceChange_Response) String() string
type AttributePath ¶
type AttributePath struct { Steps []*AttributePath_Step `protobuf:"bytes,1,rep,name=steps,proto3" json:"steps,omitempty"` // contains filtered or unexported fields }
func (*AttributePath) Descriptor
deprecated
func (*AttributePath) Descriptor() ([]byte, []int)
Deprecated: Use AttributePath.ProtoReflect.Descriptor instead.
func (*AttributePath) GetSteps ¶
func (x *AttributePath) GetSteps() []*AttributePath_Step
func (*AttributePath) ProtoMessage ¶
func (*AttributePath) ProtoMessage()
func (*AttributePath) ProtoReflect ¶ added in v0.15.0
func (x *AttributePath) ProtoReflect() protoreflect.Message
func (*AttributePath) Reset ¶
func (x *AttributePath) Reset()
func (*AttributePath) String ¶
func (x *AttributePath) String() string
type AttributePath_Step ¶
type AttributePath_Step struct { // Types that are assignable to Selector: // // *AttributePath_Step_AttributeName // *AttributePath_Step_ElementKeyString // *AttributePath_Step_ElementKeyInt Selector isAttributePath_Step_Selector `protobuf_oneof:"selector"` // contains filtered or unexported fields }
func (*AttributePath_Step) Descriptor
deprecated
func (*AttributePath_Step) Descriptor() ([]byte, []int)
Deprecated: Use AttributePath_Step.ProtoReflect.Descriptor instead.
func (*AttributePath_Step) GetAttributeName ¶
func (x *AttributePath_Step) GetAttributeName() string
func (*AttributePath_Step) GetElementKeyInt ¶
func (x *AttributePath_Step) GetElementKeyInt() int64
func (*AttributePath_Step) GetElementKeyString ¶
func (x *AttributePath_Step) GetElementKeyString() string
func (*AttributePath_Step) GetSelector ¶
func (m *AttributePath_Step) GetSelector() isAttributePath_Step_Selector
func (*AttributePath_Step) ProtoMessage ¶
func (*AttributePath_Step) ProtoMessage()
func (*AttributePath_Step) ProtoReflect ¶ added in v0.15.0
func (x *AttributePath_Step) ProtoReflect() protoreflect.Message
func (*AttributePath_Step) Reset ¶
func (x *AttributePath_Step) Reset()
func (*AttributePath_Step) String ¶
func (x *AttributePath_Step) String() string
type AttributePath_Step_AttributeName ¶
type AttributePath_Step_AttributeName struct { // Set "attribute_name" to represent looking up an attribute // in the current object value. AttributeName string `protobuf:"bytes,1,opt,name=attribute_name,json=attributeName,proto3,oneof"` }
type AttributePath_Step_ElementKeyInt ¶
type AttributePath_Step_ElementKeyInt struct {
ElementKeyInt int64 `protobuf:"varint,3,opt,name=element_key_int,json=elementKeyInt,proto3,oneof"`
}
type AttributePath_Step_ElementKeyString ¶
type AttributePath_Step_ElementKeyString struct { // Set "element_key_*" to represent looking up an element in // an indexable collection type. ElementKeyString string `protobuf:"bytes,2,opt,name=element_key_string,json=elementKeyString,proto3,oneof"` }
type Configure ¶
type Configure struct {
// contains filtered or unexported fields
}
func (*Configure) Descriptor
deprecated
func (*Configure) ProtoMessage ¶
func (*Configure) ProtoMessage()
func (*Configure) ProtoReflect ¶ added in v0.15.0
func (x *Configure) ProtoReflect() protoreflect.Message
type Configure_Request ¶
type Configure_Request struct { TerraformVersion string `protobuf:"bytes,1,opt,name=terraform_version,json=terraformVersion,proto3" json:"terraform_version,omitempty"` Config *DynamicValue `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*Configure_Request) Descriptor
deprecated
func (*Configure_Request) Descriptor() ([]byte, []int)
Deprecated: Use Configure_Request.ProtoReflect.Descriptor instead.
func (*Configure_Request) GetConfig ¶
func (x *Configure_Request) GetConfig() *DynamicValue
func (*Configure_Request) GetTerraformVersion ¶
func (x *Configure_Request) GetTerraformVersion() string
func (*Configure_Request) ProtoMessage ¶
func (*Configure_Request) ProtoMessage()
func (*Configure_Request) ProtoReflect ¶ added in v0.15.0
func (x *Configure_Request) ProtoReflect() protoreflect.Message
func (*Configure_Request) Reset ¶
func (x *Configure_Request) Reset()
func (*Configure_Request) String ¶
func (x *Configure_Request) String() string
type Configure_Response ¶
type Configure_Response struct { Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` // contains filtered or unexported fields }
func (*Configure_Response) Descriptor
deprecated
func (*Configure_Response) Descriptor() ([]byte, []int)
Deprecated: Use Configure_Response.ProtoReflect.Descriptor instead.
func (*Configure_Response) GetDiagnostics ¶
func (x *Configure_Response) GetDiagnostics() []*Diagnostic
func (*Configure_Response) ProtoMessage ¶
func (*Configure_Response) ProtoMessage()
func (*Configure_Response) ProtoReflect ¶ added in v0.15.0
func (x *Configure_Response) ProtoReflect() protoreflect.Message
func (*Configure_Response) Reset ¶
func (x *Configure_Response) Reset()
func (*Configure_Response) String ¶
func (x *Configure_Response) String() string
type Diagnostic ¶
type Diagnostic struct { Severity Diagnostic_Severity `protobuf:"varint,1,opt,name=severity,proto3,enum=tfplugin5.Diagnostic_Severity" json:"severity,omitempty"` Summary string `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"` Detail string `protobuf:"bytes,3,opt,name=detail,proto3" json:"detail,omitempty"` Attribute *AttributePath `protobuf:"bytes,4,opt,name=attribute,proto3" json:"attribute,omitempty"` // contains filtered or unexported fields }
func (*Diagnostic) Descriptor
deprecated
func (*Diagnostic) Descriptor() ([]byte, []int)
Deprecated: Use Diagnostic.ProtoReflect.Descriptor instead.
func (*Diagnostic) GetAttribute ¶
func (x *Diagnostic) GetAttribute() *AttributePath
func (*Diagnostic) GetDetail ¶
func (x *Diagnostic) GetDetail() string
func (*Diagnostic) GetSeverity ¶
func (x *Diagnostic) GetSeverity() Diagnostic_Severity
func (*Diagnostic) GetSummary ¶
func (x *Diagnostic) GetSummary() string
func (*Diagnostic) ProtoMessage ¶
func (*Diagnostic) ProtoMessage()
func (*Diagnostic) ProtoReflect ¶ added in v0.15.0
func (x *Diagnostic) ProtoReflect() protoreflect.Message
func (*Diagnostic) Reset ¶
func (x *Diagnostic) Reset()
func (*Diagnostic) String ¶
func (x *Diagnostic) String() string
type Diagnostic_Severity ¶
type Diagnostic_Severity int32
const ( Diagnostic_INVALID Diagnostic_Severity = 0 Diagnostic_ERROR Diagnostic_Severity = 1 Diagnostic_WARNING Diagnostic_Severity = 2 )
func (Diagnostic_Severity) Descriptor ¶ added in v0.15.0
func (Diagnostic_Severity) Descriptor() protoreflect.EnumDescriptor
func (Diagnostic_Severity) Enum ¶ added in v0.15.0
func (x Diagnostic_Severity) Enum() *Diagnostic_Severity
func (Diagnostic_Severity) EnumDescriptor
deprecated
func (Diagnostic_Severity) EnumDescriptor() ([]byte, []int)
Deprecated: Use Diagnostic_Severity.Descriptor instead.
func (Diagnostic_Severity) Number ¶ added in v0.15.0
func (x Diagnostic_Severity) Number() protoreflect.EnumNumber
func (Diagnostic_Severity) String ¶
func (x Diagnostic_Severity) String() string
func (Diagnostic_Severity) Type ¶ added in v0.15.0
func (Diagnostic_Severity) Type() protoreflect.EnumType
type DynamicValue ¶
type DynamicValue struct { Msgpack []byte `protobuf:"bytes,1,opt,name=msgpack,proto3" json:"msgpack,omitempty"` Json []byte `protobuf:"bytes,2,opt,name=json,proto3" json:"json,omitempty"` // contains filtered or unexported fields }
DynamicValue is an opaque encoding of terraform data, with the field name indicating the encoding scheme used.
func (*DynamicValue) Descriptor
deprecated
func (*DynamicValue) Descriptor() ([]byte, []int)
Deprecated: Use DynamicValue.ProtoReflect.Descriptor instead.
func (*DynamicValue) GetJson ¶
func (x *DynamicValue) GetJson() []byte
func (*DynamicValue) GetMsgpack ¶
func (x *DynamicValue) GetMsgpack() []byte
func (*DynamicValue) ProtoMessage ¶
func (*DynamicValue) ProtoMessage()
func (*DynamicValue) ProtoReflect ¶ added in v0.15.0
func (x *DynamicValue) ProtoReflect() protoreflect.Message
func (*DynamicValue) Reset ¶
func (x *DynamicValue) Reset()
func (*DynamicValue) String ¶
func (x *DynamicValue) String() string
type GetProviderSchema ¶
type GetProviderSchema struct {
// contains filtered or unexported fields
}
func (*GetProviderSchema) Descriptor
deprecated
func (*GetProviderSchema) Descriptor() ([]byte, []int)
Deprecated: Use GetProviderSchema.ProtoReflect.Descriptor instead.
func (*GetProviderSchema) ProtoMessage ¶
func (*GetProviderSchema) ProtoMessage()
func (*GetProviderSchema) ProtoReflect ¶ added in v0.15.0
func (x *GetProviderSchema) ProtoReflect() protoreflect.Message
func (*GetProviderSchema) Reset ¶
func (x *GetProviderSchema) Reset()
func (*GetProviderSchema) String ¶
func (x *GetProviderSchema) String() string
type GetProviderSchema_Request ¶
type GetProviderSchema_Request struct {
// contains filtered or unexported fields
}
func (*GetProviderSchema_Request) Descriptor
deprecated
func (*GetProviderSchema_Request) Descriptor() ([]byte, []int)
Deprecated: Use GetProviderSchema_Request.ProtoReflect.Descriptor instead.
func (*GetProviderSchema_Request) ProtoMessage ¶
func (*GetProviderSchema_Request) ProtoMessage()
func (*GetProviderSchema_Request) ProtoReflect ¶ added in v0.15.0
func (x *GetProviderSchema_Request) ProtoReflect() protoreflect.Message
func (*GetProviderSchema_Request) Reset ¶
func (x *GetProviderSchema_Request) Reset()
func (*GetProviderSchema_Request) String ¶
func (x *GetProviderSchema_Request) String() string
type GetProviderSchema_Response ¶
type GetProviderSchema_Response struct { Provider *Schema `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` ResourceSchemas map[string]*Schema `` /* 194-byte string literal not displayed */ DataSourceSchemas map[string]*Schema `` /* 202-byte string literal not displayed */ Diagnostics []*Diagnostic `protobuf:"bytes,4,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` ProviderMeta *Schema `protobuf:"bytes,5,opt,name=provider_meta,json=providerMeta,proto3" json:"provider_meta,omitempty"` ServerCapabilities *GetProviderSchema_ServerCapabilities `protobuf:"bytes,6,opt,name=server_capabilities,json=serverCapabilities,proto3" json:"server_capabilities,omitempty"` // contains filtered or unexported fields }
func (*GetProviderSchema_Response) Descriptor
deprecated
func (*GetProviderSchema_Response) Descriptor() ([]byte, []int)
Deprecated: Use GetProviderSchema_Response.ProtoReflect.Descriptor instead.
func (*GetProviderSchema_Response) GetDataSourceSchemas ¶
func (x *GetProviderSchema_Response) GetDataSourceSchemas() map[string]*Schema
func (*GetProviderSchema_Response) GetDiagnostics ¶
func (x *GetProviderSchema_Response) GetDiagnostics() []*Diagnostic
func (*GetProviderSchema_Response) GetProvider ¶
func (x *GetProviderSchema_Response) GetProvider() *Schema
func (*GetProviderSchema_Response) GetProviderMeta ¶ added in v0.13.0
func (x *GetProviderSchema_Response) GetProviderMeta() *Schema
func (*GetProviderSchema_Response) GetResourceSchemas ¶
func (x *GetProviderSchema_Response) GetResourceSchemas() map[string]*Schema
func (*GetProviderSchema_Response) GetServerCapabilities ¶ added in v1.3.0
func (x *GetProviderSchema_Response) GetServerCapabilities() *GetProviderSchema_ServerCapabilities
func (*GetProviderSchema_Response) ProtoMessage ¶
func (*GetProviderSchema_Response) ProtoMessage()
func (*GetProviderSchema_Response) ProtoReflect ¶ added in v0.15.0
func (x *GetProviderSchema_Response) ProtoReflect() protoreflect.Message
func (*GetProviderSchema_Response) Reset ¶
func (x *GetProviderSchema_Response) Reset()
func (*GetProviderSchema_Response) String ¶
func (x *GetProviderSchema_Response) String() string
type GetProviderSchema_ServerCapabilities ¶ added in v1.3.0
type GetProviderSchema_ServerCapabilities struct { // The plan_destroy capability signals that a provider expects a call // to PlanResourceChange when a resource is going to be destroyed. PlanDestroy bool `protobuf:"varint,1,opt,name=plan_destroy,json=planDestroy,proto3" json:"plan_destroy,omitempty"` // The get_provider_schema_optional capability indicates that this // provider does not require calling GetProviderSchema to operate // normally, and the caller can used a cached copy of the provider's // schema. GetProviderSchemaOptional bool `` /* 141-byte string literal not displayed */ // contains filtered or unexported fields }
ServerCapabilities allows providers to communicate extra information regarding supported protocol features. This is used to indicate availability of certain forward-compatible changes which may be optional in a major protocol version, but cannot be tested for directly.
func (*GetProviderSchema_ServerCapabilities) Descriptor
deprecated
added in
v1.3.0
func (*GetProviderSchema_ServerCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use GetProviderSchema_ServerCapabilities.ProtoReflect.Descriptor instead.
func (*GetProviderSchema_ServerCapabilities) GetGetProviderSchemaOptional ¶
func (x *GetProviderSchema_ServerCapabilities) GetGetProviderSchemaOptional() bool
func (*GetProviderSchema_ServerCapabilities) GetPlanDestroy ¶ added in v1.3.0
func (x *GetProviderSchema_ServerCapabilities) GetPlanDestroy() bool
func (*GetProviderSchema_ServerCapabilities) ProtoMessage ¶ added in v1.3.0
func (*GetProviderSchema_ServerCapabilities) ProtoMessage()
func (*GetProviderSchema_ServerCapabilities) ProtoReflect ¶ added in v1.3.0
func (x *GetProviderSchema_ServerCapabilities) ProtoReflect() protoreflect.Message
func (*GetProviderSchema_ServerCapabilities) Reset ¶ added in v1.3.0
func (x *GetProviderSchema_ServerCapabilities) Reset()
func (*GetProviderSchema_ServerCapabilities) String ¶ added in v1.3.0
func (x *GetProviderSchema_ServerCapabilities) String() string
type GetProvisionerSchema ¶
type GetProvisionerSchema struct {
// contains filtered or unexported fields
}
func (*GetProvisionerSchema) Descriptor
deprecated
func (*GetProvisionerSchema) Descriptor() ([]byte, []int)
Deprecated: Use GetProvisionerSchema.ProtoReflect.Descriptor instead.
func (*GetProvisionerSchema) ProtoMessage ¶
func (*GetProvisionerSchema) ProtoMessage()
func (*GetProvisionerSchema) ProtoReflect ¶ added in v0.15.0
func (x *GetProvisionerSchema) ProtoReflect() protoreflect.Message
func (*GetProvisionerSchema) Reset ¶
func (x *GetProvisionerSchema) Reset()
func (*GetProvisionerSchema) String ¶
func (x *GetProvisionerSchema) String() string
type GetProvisionerSchema_Request ¶
type GetProvisionerSchema_Request struct {
// contains filtered or unexported fields
}
func (*GetProvisionerSchema_Request) Descriptor
deprecated
func (*GetProvisionerSchema_Request) Descriptor() ([]byte, []int)
Deprecated: Use GetProvisionerSchema_Request.ProtoReflect.Descriptor instead.
func (*GetProvisionerSchema_Request) ProtoMessage ¶
func (*GetProvisionerSchema_Request) ProtoMessage()
func (*GetProvisionerSchema_Request) ProtoReflect ¶ added in v0.15.0
func (x *GetProvisionerSchema_Request) ProtoReflect() protoreflect.Message
func (*GetProvisionerSchema_Request) Reset ¶
func (x *GetProvisionerSchema_Request) Reset()
func (*GetProvisionerSchema_Request) String ¶
func (x *GetProvisionerSchema_Request) String() string
type GetProvisionerSchema_Response ¶
type GetProvisionerSchema_Response struct { Provisioner *Schema `protobuf:"bytes,1,opt,name=provisioner,proto3" json:"provisioner,omitempty"` Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` // contains filtered or unexported fields }
func (*GetProvisionerSchema_Response) Descriptor
deprecated
func (*GetProvisionerSchema_Response) Descriptor() ([]byte, []int)
Deprecated: Use GetProvisionerSchema_Response.ProtoReflect.Descriptor instead.
func (*GetProvisionerSchema_Response) GetDiagnostics ¶
func (x *GetProvisionerSchema_Response) GetDiagnostics() []*Diagnostic
func (*GetProvisionerSchema_Response) GetProvisioner ¶
func (x *GetProvisionerSchema_Response) GetProvisioner() *Schema
func (*GetProvisionerSchema_Response) ProtoMessage ¶
func (*GetProvisionerSchema_Response) ProtoMessage()
func (*GetProvisionerSchema_Response) ProtoReflect ¶ added in v0.15.0
func (x *GetProvisionerSchema_Response) ProtoReflect() protoreflect.Message
func (*GetProvisionerSchema_Response) Reset ¶
func (x *GetProvisionerSchema_Response) Reset()
func (*GetProvisionerSchema_Response) String ¶
func (x *GetProvisionerSchema_Response) String() string
type ImportResourceState ¶
type ImportResourceState struct {
// contains filtered or unexported fields
}
func (*ImportResourceState) Descriptor
deprecated
func (*ImportResourceState) Descriptor() ([]byte, []int)
Deprecated: Use ImportResourceState.ProtoReflect.Descriptor instead.
func (*ImportResourceState) ProtoMessage ¶
func (*ImportResourceState) ProtoMessage()
func (*ImportResourceState) ProtoReflect ¶ added in v0.15.0
func (x *ImportResourceState) ProtoReflect() protoreflect.Message
func (*ImportResourceState) Reset ¶
func (x *ImportResourceState) Reset()
func (*ImportResourceState) String ¶
func (x *ImportResourceState) String() string
type ImportResourceState_ImportedResource ¶
type ImportResourceState_ImportedResource struct { TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` State *DynamicValue `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` Private []byte `protobuf:"bytes,3,opt,name=private,proto3" json:"private,omitempty"` // contains filtered or unexported fields }
func (*ImportResourceState_ImportedResource) Descriptor
deprecated
func (*ImportResourceState_ImportedResource) Descriptor() ([]byte, []int)
Deprecated: Use ImportResourceState_ImportedResource.ProtoReflect.Descriptor instead.
func (*ImportResourceState_ImportedResource) GetPrivate ¶
func (x *ImportResourceState_ImportedResource) GetPrivate() []byte
func (*ImportResourceState_ImportedResource) GetState ¶
func (x *ImportResourceState_ImportedResource) GetState() *DynamicValue
func (*ImportResourceState_ImportedResource) GetTypeName ¶
func (x *ImportResourceState_ImportedResource) GetTypeName() string
func (*ImportResourceState_ImportedResource) ProtoMessage ¶
func (*ImportResourceState_ImportedResource) ProtoMessage()
func (*ImportResourceState_ImportedResource) ProtoReflect ¶ added in v0.15.0
func (x *ImportResourceState_ImportedResource) ProtoReflect() protoreflect.Message
func (*ImportResourceState_ImportedResource) Reset ¶
func (x *ImportResourceState_ImportedResource) Reset()
func (*ImportResourceState_ImportedResource) String ¶
func (x *ImportResourceState_ImportedResource) String() string
type ImportResourceState_Request ¶
type ImportResourceState_Request struct { TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ImportResourceState_Request) Descriptor
deprecated
func (*ImportResourceState_Request) Descriptor() ([]byte, []int)
Deprecated: Use ImportResourceState_Request.ProtoReflect.Descriptor instead.
func (*ImportResourceState_Request) GetId ¶
func (x *ImportResourceState_Request) GetId() string
func (*ImportResourceState_Request) GetTypeName ¶
func (x *ImportResourceState_Request) GetTypeName() string
func (*ImportResourceState_Request) ProtoMessage ¶
func (*ImportResourceState_Request) ProtoMessage()
func (*ImportResourceState_Request) ProtoReflect ¶ added in v0.15.0
func (x *ImportResourceState_Request) ProtoReflect() protoreflect.Message
func (*ImportResourceState_Request) Reset ¶
func (x *ImportResourceState_Request) Reset()
func (*ImportResourceState_Request) String ¶
func (x *ImportResourceState_Request) String() string
type ImportResourceState_Response ¶
type ImportResourceState_Response struct { ImportedResources []*ImportResourceState_ImportedResource `protobuf:"bytes,1,rep,name=imported_resources,json=importedResources,proto3" json:"imported_resources,omitempty"` Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` // contains filtered or unexported fields }
func (*ImportResourceState_Response) Descriptor
deprecated
func (*ImportResourceState_Response) Descriptor() ([]byte, []int)
Deprecated: Use ImportResourceState_Response.ProtoReflect.Descriptor instead.
func (*ImportResourceState_Response) GetDiagnostics ¶
func (x *ImportResourceState_Response) GetDiagnostics() []*Diagnostic
func (*ImportResourceState_Response) GetImportedResources ¶
func (x *ImportResourceState_Response) GetImportedResources() []*ImportResourceState_ImportedResource
func (*ImportResourceState_Response) ProtoMessage ¶
func (*ImportResourceState_Response) ProtoMessage()
func (*ImportResourceState_Response) ProtoReflect ¶ added in v0.15.0
func (x *ImportResourceState_Response) ProtoReflect() protoreflect.Message
func (*ImportResourceState_Response) Reset ¶
func (x *ImportResourceState_Response) Reset()
func (*ImportResourceState_Response) String ¶
func (x *ImportResourceState_Response) String() string
type PlanResourceChange ¶
type PlanResourceChange struct {
// contains filtered or unexported fields
}
func (*PlanResourceChange) Descriptor
deprecated
func (*PlanResourceChange) Descriptor() ([]byte, []int)
Deprecated: Use PlanResourceChange.ProtoReflect.Descriptor instead.
func (*PlanResourceChange) ProtoMessage ¶
func (*PlanResourceChange) ProtoMessage()
func (*PlanResourceChange) ProtoReflect ¶ added in v0.15.0
func (x *PlanResourceChange) ProtoReflect() protoreflect.Message
func (*PlanResourceChange) Reset ¶
func (x *PlanResourceChange) Reset()
func (*PlanResourceChange) String ¶
func (x *PlanResourceChange) String() string
type PlanResourceChange_Request ¶
type PlanResourceChange_Request struct { TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` PriorState *DynamicValue `protobuf:"bytes,2,opt,name=prior_state,json=priorState,proto3" json:"prior_state,omitempty"` ProposedNewState *DynamicValue `protobuf:"bytes,3,opt,name=proposed_new_state,json=proposedNewState,proto3" json:"proposed_new_state,omitempty"` Config *DynamicValue `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"` PriorPrivate []byte `protobuf:"bytes,5,opt,name=prior_private,json=priorPrivate,proto3" json:"prior_private,omitempty"` ProviderMeta *DynamicValue `protobuf:"bytes,6,opt,name=provider_meta,json=providerMeta,proto3" json:"provider_meta,omitempty"` // contains filtered or unexported fields }
func (*PlanResourceChange_Request) Descriptor
deprecated
func (*PlanResourceChange_Request) Descriptor() ([]byte, []int)
Deprecated: Use PlanResourceChange_Request.ProtoReflect.Descriptor instead.
func (*PlanResourceChange_Request) GetConfig ¶
func (x *PlanResourceChange_Request) GetConfig() *DynamicValue
func (*PlanResourceChange_Request) GetPriorPrivate ¶
func (x *PlanResourceChange_Request) GetPriorPrivate() []byte
func (*PlanResourceChange_Request) GetPriorState ¶
func (x *PlanResourceChange_Request) GetPriorState() *DynamicValue
func (*PlanResourceChange_Request) GetProposedNewState ¶
func (x *PlanResourceChange_Request) GetProposedNewState() *DynamicValue
func (*PlanResourceChange_Request) GetProviderMeta ¶ added in v0.13.0
func (x *PlanResourceChange_Request) GetProviderMeta() *DynamicValue
func (*PlanResourceChange_Request) GetTypeName ¶
func (x *PlanResourceChange_Request) GetTypeName() string
func (*PlanResourceChange_Request) ProtoMessage ¶
func (*PlanResourceChange_Request) ProtoMessage()
func (*PlanResourceChange_Request) ProtoReflect ¶ added in v0.15.0
func (x *PlanResourceChange_Request) ProtoReflect() protoreflect.Message
func (*PlanResourceChange_Request) Reset ¶
func (x *PlanResourceChange_Request) Reset()
func (*PlanResourceChange_Request) String ¶
func (x *PlanResourceChange_Request) String() string
type PlanResourceChange_Response ¶
type PlanResourceChange_Response struct { PlannedState *DynamicValue `protobuf:"bytes,1,opt,name=planned_state,json=plannedState,proto3" json:"planned_state,omitempty"` RequiresReplace []*AttributePath `protobuf:"bytes,2,rep,name=requires_replace,json=requiresReplace,proto3" json:"requires_replace,omitempty"` PlannedPrivate []byte `protobuf:"bytes,3,opt,name=planned_private,json=plannedPrivate,proto3" json:"planned_private,omitempty"` Diagnostics []*Diagnostic `protobuf:"bytes,4,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` // This may be set only by the helper/schema "SDK" in the main Terraform // repository, to request that Terraform Core >=0.12 permit additional // inconsistencies that can result from the legacy SDK type system // and its imprecise mapping to the >=0.12 type system. // The change in behavior implied by this flag makes sense only for the // specific details of the legacy SDK type system, and are not a general // mechanism to avoid proper type handling in providers. // // ==== DO NOT USE THIS ==== // ==== THIS MUST BE LEFT UNSET IN ALL OTHER SDKS ==== // ==== DO NOT USE THIS ==== LegacyTypeSystem bool `protobuf:"varint,5,opt,name=legacy_type_system,json=legacyTypeSystem,proto3" json:"legacy_type_system,omitempty"` // contains filtered or unexported fields }
func (*PlanResourceChange_Response) Descriptor
deprecated
func (*PlanResourceChange_Response) Descriptor() ([]byte, []int)
Deprecated: Use PlanResourceChange_Response.ProtoReflect.Descriptor instead.
func (*PlanResourceChange_Response) GetDiagnostics ¶
func (x *PlanResourceChange_Response) GetDiagnostics() []*Diagnostic
func (*PlanResourceChange_Response) GetLegacyTypeSystem ¶
func (x *PlanResourceChange_Response) GetLegacyTypeSystem() bool
func (*PlanResourceChange_Response) GetPlannedPrivate ¶
func (x *PlanResourceChange_Response) GetPlannedPrivate() []byte
func (*PlanResourceChange_Response) GetPlannedState ¶
func (x *PlanResourceChange_Response) GetPlannedState() *DynamicValue
func (*PlanResourceChange_Response) GetRequiresReplace ¶
func (x *PlanResourceChange_Response) GetRequiresReplace() []*AttributePath
func (*PlanResourceChange_Response) ProtoMessage ¶
func (*PlanResourceChange_Response) ProtoMessage()
func (*PlanResourceChange_Response) ProtoReflect ¶ added in v0.15.0
func (x *PlanResourceChange_Response) ProtoReflect() protoreflect.Message
func (*PlanResourceChange_Response) Reset ¶
func (x *PlanResourceChange_Response) Reset()
func (*PlanResourceChange_Response) String ¶
func (x *PlanResourceChange_Response) String() string
type PrepareProviderConfig ¶
type PrepareProviderConfig struct {
// contains filtered or unexported fields
}
func (*PrepareProviderConfig) Descriptor
deprecated
func (*PrepareProviderConfig) Descriptor() ([]byte, []int)
Deprecated: Use PrepareProviderConfig.ProtoReflect.Descriptor instead.
func (*PrepareProviderConfig) ProtoMessage ¶
func (*PrepareProviderConfig) ProtoMessage()
func (*PrepareProviderConfig) ProtoReflect ¶ added in v0.15.0
func (x *PrepareProviderConfig) ProtoReflect() protoreflect.Message
func (*PrepareProviderConfig) Reset ¶
func (x *PrepareProviderConfig) Reset()
func (*PrepareProviderConfig) String ¶
func (x *PrepareProviderConfig) String() string
type PrepareProviderConfig_Request ¶
type PrepareProviderConfig_Request struct { Config *DynamicValue `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*PrepareProviderConfig_Request) Descriptor
deprecated
func (*PrepareProviderConfig_Request) Descriptor() ([]byte, []int)
Deprecated: Use PrepareProviderConfig_Request.ProtoReflect.Descriptor instead.
func (*PrepareProviderConfig_Request) GetConfig ¶
func (x *PrepareProviderConfig_Request) GetConfig() *DynamicValue
func (*PrepareProviderConfig_Request) ProtoMessage ¶
func (*PrepareProviderConfig_Request) ProtoMessage()
func (*PrepareProviderConfig_Request) ProtoReflect ¶ added in v0.15.0
func (x *PrepareProviderConfig_Request) ProtoReflect() protoreflect.Message
func (*PrepareProviderConfig_Request) Reset ¶
func (x *PrepareProviderConfig_Request) Reset()
func (*PrepareProviderConfig_Request) String ¶
func (x *PrepareProviderConfig_Request) String() string
type PrepareProviderConfig_Response ¶
type PrepareProviderConfig_Response struct { PreparedConfig *DynamicValue `protobuf:"bytes,1,opt,name=prepared_config,json=preparedConfig,proto3" json:"prepared_config,omitempty"` Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` // contains filtered or unexported fields }
func (*PrepareProviderConfig_Response) Descriptor
deprecated
func (*PrepareProviderConfig_Response) Descriptor() ([]byte, []int)
Deprecated: Use PrepareProviderConfig_Response.ProtoReflect.Descriptor instead.
func (*PrepareProviderConfig_Response) GetDiagnostics ¶
func (x *PrepareProviderConfig_Response) GetDiagnostics() []*Diagnostic
func (*PrepareProviderConfig_Response) GetPreparedConfig ¶
func (x *PrepareProviderConfig_Response) GetPreparedConfig() *DynamicValue
func (*PrepareProviderConfig_Response) ProtoMessage ¶
func (*PrepareProviderConfig_Response) ProtoMessage()
func (*PrepareProviderConfig_Response) ProtoReflect ¶ added in v0.15.0
func (x *PrepareProviderConfig_Response) ProtoReflect() protoreflect.Message
func (*PrepareProviderConfig_Response) Reset ¶
func (x *PrepareProviderConfig_Response) Reset()
func (*PrepareProviderConfig_Response) String ¶
func (x *PrepareProviderConfig_Response) String() string
type ProviderClient ¶
type ProviderClient interface { // ////// Information about what a provider supports/expects GetSchema(ctx context.Context, in *GetProviderSchema_Request, opts ...grpc.CallOption) (*GetProviderSchema_Response, error) PrepareProviderConfig(ctx context.Context, in *PrepareProviderConfig_Request, opts ...grpc.CallOption) (*PrepareProviderConfig_Response, error) ValidateResourceTypeConfig(ctx context.Context, in *ValidateResourceTypeConfig_Request, opts ...grpc.CallOption) (*ValidateResourceTypeConfig_Response, error) ValidateDataSourceConfig(ctx context.Context, in *ValidateDataSourceConfig_Request, opts ...grpc.CallOption) (*ValidateDataSourceConfig_Response, error) UpgradeResourceState(ctx context.Context, in *UpgradeResourceState_Request, opts ...grpc.CallOption) (*UpgradeResourceState_Response, error) // ////// One-time initialization, called before other functions below Configure(ctx context.Context, in *Configure_Request, opts ...grpc.CallOption) (*Configure_Response, error) // ////// Managed Resource Lifecycle ReadResource(ctx context.Context, in *ReadResource_Request, opts ...grpc.CallOption) (*ReadResource_Response, error) PlanResourceChange(ctx context.Context, in *PlanResourceChange_Request, opts ...grpc.CallOption) (*PlanResourceChange_Response, error) ApplyResourceChange(ctx context.Context, in *ApplyResourceChange_Request, opts ...grpc.CallOption) (*ApplyResourceChange_Response, error) ImportResourceState(ctx context.Context, in *ImportResourceState_Request, opts ...grpc.CallOption) (*ImportResourceState_Response, error) ReadDataSource(ctx context.Context, in *ReadDataSource_Request, opts ...grpc.CallOption) (*ReadDataSource_Response, error) // ////// Graceful Shutdown Stop(ctx context.Context, in *Stop_Request, opts ...grpc.CallOption) (*Stop_Response, error) }
ProviderClient is the client API for Provider service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewProviderClient ¶
func NewProviderClient(cc grpc.ClientConnInterface) ProviderClient
type ProviderServer ¶
type ProviderServer interface { // ////// Information about what a provider supports/expects GetSchema(context.Context, *GetProviderSchema_Request) (*GetProviderSchema_Response, error) PrepareProviderConfig(context.Context, *PrepareProviderConfig_Request) (*PrepareProviderConfig_Response, error) ValidateResourceTypeConfig(context.Context, *ValidateResourceTypeConfig_Request) (*ValidateResourceTypeConfig_Response, error) ValidateDataSourceConfig(context.Context, *ValidateDataSourceConfig_Request) (*ValidateDataSourceConfig_Response, error) UpgradeResourceState(context.Context, *UpgradeResourceState_Request) (*UpgradeResourceState_Response, error) // ////// One-time initialization, called before other functions below Configure(context.Context, *Configure_Request) (*Configure_Response, error) // ////// Managed Resource Lifecycle ReadResource(context.Context, *ReadResource_Request) (*ReadResource_Response, error) PlanResourceChange(context.Context, *PlanResourceChange_Request) (*PlanResourceChange_Response, error) ApplyResourceChange(context.Context, *ApplyResourceChange_Request) (*ApplyResourceChange_Response, error) ImportResourceState(context.Context, *ImportResourceState_Request) (*ImportResourceState_Response, error) ReadDataSource(context.Context, *ReadDataSource_Request) (*ReadDataSource_Response, error) // ////// Graceful Shutdown Stop(context.Context, *Stop_Request) (*Stop_Response, error) }
ProviderServer is the server API for Provider service.
type ProvisionResource ¶
type ProvisionResource struct {
// contains filtered or unexported fields
}
func (*ProvisionResource) Descriptor
deprecated
func (*ProvisionResource) Descriptor() ([]byte, []int)
Deprecated: Use ProvisionResource.ProtoReflect.Descriptor instead.
func (*ProvisionResource) ProtoMessage ¶
func (*ProvisionResource) ProtoMessage()
func (*ProvisionResource) ProtoReflect ¶ added in v0.15.0
func (x *ProvisionResource) ProtoReflect() protoreflect.Message
func (*ProvisionResource) Reset ¶
func (x *ProvisionResource) Reset()
func (*ProvisionResource) String ¶
func (x *ProvisionResource) String() string
type ProvisionResource_Request ¶
type ProvisionResource_Request struct { Config *DynamicValue `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` Connection *DynamicValue `protobuf:"bytes,2,opt,name=connection,proto3" json:"connection,omitempty"` // contains filtered or unexported fields }
func (*ProvisionResource_Request) Descriptor
deprecated
func (*ProvisionResource_Request) Descriptor() ([]byte, []int)
Deprecated: Use ProvisionResource_Request.ProtoReflect.Descriptor instead.
func (*ProvisionResource_Request) GetConfig ¶
func (x *ProvisionResource_Request) GetConfig() *DynamicValue
func (*ProvisionResource_Request) GetConnection ¶
func (x *ProvisionResource_Request) GetConnection() *DynamicValue
func (*ProvisionResource_Request) ProtoMessage ¶
func (*ProvisionResource_Request) ProtoMessage()
func (*ProvisionResource_Request) ProtoReflect ¶ added in v0.15.0
func (x *ProvisionResource_Request) ProtoReflect() protoreflect.Message
func (*ProvisionResource_Request) Reset ¶
func (x *ProvisionResource_Request) Reset()
func (*ProvisionResource_Request) String ¶
func (x *ProvisionResource_Request) String() string
type ProvisionResource_Response ¶
type ProvisionResource_Response struct { Output string `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"` Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` // contains filtered or unexported fields }
func (*ProvisionResource_Response) Descriptor
deprecated
func (*ProvisionResource_Response) Descriptor() ([]byte, []int)
Deprecated: Use ProvisionResource_Response.ProtoReflect.Descriptor instead.
func (*ProvisionResource_Response) GetDiagnostics ¶
func (x *ProvisionResource_Response) GetDiagnostics() []*Diagnostic
func (*ProvisionResource_Response) GetOutput ¶
func (x *ProvisionResource_Response) GetOutput() string
func (*ProvisionResource_Response) ProtoMessage ¶
func (*ProvisionResource_Response) ProtoMessage()
func (*ProvisionResource_Response) ProtoReflect ¶ added in v0.15.0
func (x *ProvisionResource_Response) ProtoReflect() protoreflect.Message
func (*ProvisionResource_Response) Reset ¶
func (x *ProvisionResource_Response) Reset()
func (*ProvisionResource_Response) String ¶
func (x *ProvisionResource_Response) String() string
type ProvisionerClient ¶
type ProvisionerClient interface { GetSchema(ctx context.Context, in *GetProvisionerSchema_Request, opts ...grpc.CallOption) (*GetProvisionerSchema_Response, error) ValidateProvisionerConfig(ctx context.Context, in *ValidateProvisionerConfig_Request, opts ...grpc.CallOption) (*ValidateProvisionerConfig_Response, error) ProvisionResource(ctx context.Context, in *ProvisionResource_Request, opts ...grpc.CallOption) (Provisioner_ProvisionResourceClient, error) Stop(ctx context.Context, in *Stop_Request, opts ...grpc.CallOption) (*Stop_Response, error) }
ProvisionerClient is the client API for Provisioner service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewProvisionerClient ¶
func NewProvisionerClient(cc grpc.ClientConnInterface) ProvisionerClient
type ProvisionerServer ¶
type ProvisionerServer interface { GetSchema(context.Context, *GetProvisionerSchema_Request) (*GetProvisionerSchema_Response, error) ValidateProvisionerConfig(context.Context, *ValidateProvisionerConfig_Request) (*ValidateProvisionerConfig_Response, error) ProvisionResource(*ProvisionResource_Request, Provisioner_ProvisionResourceServer) error Stop(context.Context, *Stop_Request) (*Stop_Response, error) }
ProvisionerServer is the server API for Provisioner service.
type Provisioner_ProvisionResourceClient ¶
type Provisioner_ProvisionResourceClient interface { Recv() (*ProvisionResource_Response, error) grpc.ClientStream }
type Provisioner_ProvisionResourceServer ¶
type Provisioner_ProvisionResourceServer interface { Send(*ProvisionResource_Response) error grpc.ServerStream }
type RawState ¶
type RawState struct { Json []byte `protobuf:"bytes,1,opt,name=json,proto3" json:"json,omitempty"` Flatmap map[string]string `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
RawState holds the stored state for a resource to be upgraded by the provider. It can be in one of two formats, the current json encoded format in bytes, or the legacy flatmap format as a map of strings.
func (*RawState) Descriptor
deprecated
func (*RawState) GetFlatmap ¶
func (*RawState) ProtoMessage ¶
func (*RawState) ProtoMessage()
func (*RawState) ProtoReflect ¶ added in v0.15.0
func (x *RawState) ProtoReflect() protoreflect.Message
type ReadDataSource ¶
type ReadDataSource struct {
// contains filtered or unexported fields
}
func (*ReadDataSource) Descriptor
deprecated
func (*ReadDataSource) Descriptor() ([]byte, []int)
Deprecated: Use ReadDataSource.ProtoReflect.Descriptor instead.
func (*ReadDataSource) ProtoMessage ¶
func (*ReadDataSource) ProtoMessage()
func (*ReadDataSource) ProtoReflect ¶ added in v0.15.0
func (x *ReadDataSource) ProtoReflect() protoreflect.Message
func (*ReadDataSource) Reset ¶
func (x *ReadDataSource) Reset()
func (*ReadDataSource) String ¶
func (x *ReadDataSource) String() string
type ReadDataSource_Request ¶
type ReadDataSource_Request struct { TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` Config *DynamicValue `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` ProviderMeta *DynamicValue `protobuf:"bytes,3,opt,name=provider_meta,json=providerMeta,proto3" json:"provider_meta,omitempty"` // contains filtered or unexported fields }
func (*ReadDataSource_Request) Descriptor
deprecated
func (*ReadDataSource_Request) Descriptor() ([]byte, []int)
Deprecated: Use ReadDataSource_Request.ProtoReflect.Descriptor instead.
func (*ReadDataSource_Request) GetConfig ¶
func (x *ReadDataSource_Request) GetConfig() *DynamicValue
func (*ReadDataSource_Request) GetProviderMeta ¶ added in v0.13.0
func (x *ReadDataSource_Request) GetProviderMeta() *DynamicValue
func (*ReadDataSource_Request) GetTypeName ¶
func (x *ReadDataSource_Request) GetTypeName() string
func (*ReadDataSource_Request) ProtoMessage ¶
func (*ReadDataSource_Request) ProtoMessage()
func (*ReadDataSource_Request) ProtoReflect ¶ added in v0.15.0
func (x *ReadDataSource_Request) ProtoReflect() protoreflect.Message
func (*ReadDataSource_Request) Reset ¶
func (x *ReadDataSource_Request) Reset()
func (*ReadDataSource_Request) String ¶
func (x *ReadDataSource_Request) String() string
type ReadDataSource_Response ¶
type ReadDataSource_Response struct { State *DynamicValue `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` // contains filtered or unexported fields }
func (*ReadDataSource_Response) Descriptor
deprecated
func (*ReadDataSource_Response) Descriptor() ([]byte, []int)
Deprecated: Use ReadDataSource_Response.ProtoReflect.Descriptor instead.
func (*ReadDataSource_Response) GetDiagnostics ¶
func (x *ReadDataSource_Response) GetDiagnostics() []*Diagnostic
func (*ReadDataSource_Response) GetState ¶
func (x *ReadDataSource_Response) GetState() *DynamicValue
func (*ReadDataSource_Response) ProtoMessage ¶
func (*ReadDataSource_Response) ProtoMessage()
func (*ReadDataSource_Response) ProtoReflect ¶ added in v0.15.0
func (x *ReadDataSource_Response) ProtoReflect() protoreflect.Message
func (*ReadDataSource_Response) Reset ¶
func (x *ReadDataSource_Response) Reset()
func (*ReadDataSource_Response) String ¶
func (x *ReadDataSource_Response) String() string
type ReadResource ¶
type ReadResource struct {
// contains filtered or unexported fields
}
func (*ReadResource) Descriptor
deprecated
func (*ReadResource) Descriptor() ([]byte, []int)
Deprecated: Use ReadResource.ProtoReflect.Descriptor instead.
func (*ReadResource) ProtoMessage ¶
func (*ReadResource) ProtoMessage()
func (*ReadResource) ProtoReflect ¶ added in v0.15.0
func (x *ReadResource) ProtoReflect() protoreflect.Message
func (*ReadResource) Reset ¶
func (x *ReadResource) Reset()
func (*ReadResource) String ¶
func (x *ReadResource) String() string
type ReadResource_Request ¶
type ReadResource_Request struct { TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` CurrentState *DynamicValue `protobuf:"bytes,2,opt,name=current_state,json=currentState,proto3" json:"current_state,omitempty"` Private []byte `protobuf:"bytes,3,opt,name=private,proto3" json:"private,omitempty"` ProviderMeta *DynamicValue `protobuf:"bytes,4,opt,name=provider_meta,json=providerMeta,proto3" json:"provider_meta,omitempty"` // contains filtered or unexported fields }
Request is the message that is sent to the provider during the ReadResource RPC.
This message intentionally does not include configuration data as any configuration-based or configuration-conditional changes should occur during the PlanResourceChange RPC. Additionally, the configuration is not guaranteed to be wholly known nor match the given prior state, which could lead to unexpected provider behaviors for practitioners.
func (*ReadResource_Request) Descriptor
deprecated
func (*ReadResource_Request) Descriptor() ([]byte, []int)
Deprecated: Use ReadResource_Request.ProtoReflect.Descriptor instead.
func (*ReadResource_Request) GetCurrentState ¶
func (x *ReadResource_Request) GetCurrentState() *DynamicValue
func (*ReadResource_Request) GetPrivate ¶ added in v0.12.2
func (x *ReadResource_Request) GetPrivate() []byte
func (*ReadResource_Request) GetProviderMeta ¶ added in v0.13.0
func (x *ReadResource_Request) GetProviderMeta() *DynamicValue
func (*ReadResource_Request) GetTypeName ¶
func (x *ReadResource_Request) GetTypeName() string
func (*ReadResource_Request) ProtoMessage ¶
func (*ReadResource_Request) ProtoMessage()
func (*ReadResource_Request) ProtoReflect ¶ added in v0.15.0
func (x *ReadResource_Request) ProtoReflect() protoreflect.Message
func (*ReadResource_Request) Reset ¶
func (x *ReadResource_Request) Reset()
func (*ReadResource_Request) String ¶
func (x *ReadResource_Request) String() string
type ReadResource_Response ¶
type ReadResource_Response struct { NewState *DynamicValue `protobuf:"bytes,1,opt,name=new_state,json=newState,proto3" json:"new_state,omitempty"` Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` Private []byte `protobuf:"bytes,3,opt,name=private,proto3" json:"private,omitempty"` // contains filtered or unexported fields }
func (*ReadResource_Response) Descriptor
deprecated
func (*ReadResource_Response) Descriptor() ([]byte, []int)
Deprecated: Use ReadResource_Response.ProtoReflect.Descriptor instead.
func (*ReadResource_Response) GetDiagnostics ¶
func (x *ReadResource_Response) GetDiagnostics() []*Diagnostic
func (*ReadResource_Response) GetNewState ¶
func (x *ReadResource_Response) GetNewState() *DynamicValue
func (*ReadResource_Response) GetPrivate ¶ added in v0.12.2
func (x *ReadResource_Response) GetPrivate() []byte
func (*ReadResource_Response) ProtoMessage ¶
func (*ReadResource_Response) ProtoMessage()
func (*ReadResource_Response) ProtoReflect ¶ added in v0.15.0
func (x *ReadResource_Response) ProtoReflect() protoreflect.Message
func (*ReadResource_Response) Reset ¶
func (x *ReadResource_Response) Reset()
func (*ReadResource_Response) String ¶
func (x *ReadResource_Response) String() string
type Schema ¶
type Schema struct { // The version of the schema. // Schemas are versioned, so that providers can upgrade a saved resource // state when the schema is changed. Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` // Block is the top level configuration block for this schema. Block *Schema_Block `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"` // contains filtered or unexported fields }
Schema is the configuration schema for a Resource, Provider, or Provisioner.
func (*Schema) Descriptor
deprecated
func (*Schema) GetBlock ¶
func (x *Schema) GetBlock() *Schema_Block
func (*Schema) GetVersion ¶
func (*Schema) ProtoMessage ¶
func (*Schema) ProtoMessage()
func (*Schema) ProtoReflect ¶ added in v0.15.0
func (x *Schema) ProtoReflect() protoreflect.Message
type Schema_Attribute ¶
type Schema_Attribute struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Type []byte `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Required bool `protobuf:"varint,4,opt,name=required,proto3" json:"required,omitempty"` Optional bool `protobuf:"varint,5,opt,name=optional,proto3" json:"optional,omitempty"` Computed bool `protobuf:"varint,6,opt,name=computed,proto3" json:"computed,omitempty"` Sensitive bool `protobuf:"varint,7,opt,name=sensitive,proto3" json:"sensitive,omitempty"` DescriptionKind StringKind `` /* 133-byte string literal not displayed */ Deprecated bool `protobuf:"varint,9,opt,name=deprecated,proto3" json:"deprecated,omitempty"` // contains filtered or unexported fields }
func (*Schema_Attribute) Descriptor
deprecated
func (*Schema_Attribute) Descriptor() ([]byte, []int)
Deprecated: Use Schema_Attribute.ProtoReflect.Descriptor instead.
func (*Schema_Attribute) GetComputed ¶
func (x *Schema_Attribute) GetComputed() bool
func (*Schema_Attribute) GetDeprecated ¶ added in v0.13.0
func (x *Schema_Attribute) GetDeprecated() bool
func (*Schema_Attribute) GetDescription ¶
func (x *Schema_Attribute) GetDescription() string
func (*Schema_Attribute) GetDescriptionKind ¶ added in v0.13.0
func (x *Schema_Attribute) GetDescriptionKind() StringKind
func (*Schema_Attribute) GetName ¶
func (x *Schema_Attribute) GetName() string
func (*Schema_Attribute) GetOptional ¶
func (x *Schema_Attribute) GetOptional() bool
func (*Schema_Attribute) GetRequired ¶
func (x *Schema_Attribute) GetRequired() bool
func (*Schema_Attribute) GetSensitive ¶
func (x *Schema_Attribute) GetSensitive() bool
func (*Schema_Attribute) GetType ¶
func (x *Schema_Attribute) GetType() []byte
func (*Schema_Attribute) ProtoMessage ¶
func (*Schema_Attribute) ProtoMessage()
func (*Schema_Attribute) ProtoReflect ¶ added in v0.15.0
func (x *Schema_Attribute) ProtoReflect() protoreflect.Message
func (*Schema_Attribute) Reset ¶
func (x *Schema_Attribute) Reset()
func (*Schema_Attribute) String ¶
func (x *Schema_Attribute) String() string
type Schema_Block ¶
type Schema_Block struct { Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` Attributes []*Schema_Attribute `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty"` BlockTypes []*Schema_NestedBlock `protobuf:"bytes,3,rep,name=block_types,json=blockTypes,proto3" json:"block_types,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` DescriptionKind StringKind `` /* 133-byte string literal not displayed */ Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"` // contains filtered or unexported fields }
func (*Schema_Block) Descriptor
deprecated
func (*Schema_Block) Descriptor() ([]byte, []int)
Deprecated: Use Schema_Block.ProtoReflect.Descriptor instead.
func (*Schema_Block) GetAttributes ¶
func (x *Schema_Block) GetAttributes() []*Schema_Attribute
func (*Schema_Block) GetBlockTypes ¶
func (x *Schema_Block) GetBlockTypes() []*Schema_NestedBlock
func (*Schema_Block) GetDeprecated ¶ added in v0.13.0
func (x *Schema_Block) GetDeprecated() bool
func (*Schema_Block) GetDescription ¶ added in v0.13.0
func (x *Schema_Block) GetDescription() string
func (*Schema_Block) GetDescriptionKind ¶ added in v0.13.0
func (x *Schema_Block) GetDescriptionKind() StringKind
func (*Schema_Block) GetVersion ¶
func (x *Schema_Block) GetVersion() int64
func (*Schema_Block) ProtoMessage ¶
func (*Schema_Block) ProtoMessage()
func (*Schema_Block) ProtoReflect ¶ added in v0.15.0
func (x *Schema_Block) ProtoReflect() protoreflect.Message
func (*Schema_Block) Reset ¶
func (x *Schema_Block) Reset()
func (*Schema_Block) String ¶
func (x *Schema_Block) String() string
type Schema_NestedBlock ¶
type Schema_NestedBlock struct { TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` Block *Schema_Block `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"` Nesting Schema_NestedBlock_NestingMode `protobuf:"varint,3,opt,name=nesting,proto3,enum=tfplugin5.Schema_NestedBlock_NestingMode" json:"nesting,omitempty"` MinItems int64 `protobuf:"varint,4,opt,name=min_items,json=minItems,proto3" json:"min_items,omitempty"` MaxItems int64 `protobuf:"varint,5,opt,name=max_items,json=maxItems,proto3" json:"max_items,omitempty"` // contains filtered or unexported fields }
func (*Schema_NestedBlock) Descriptor
deprecated
func (*Schema_NestedBlock) Descriptor() ([]byte, []int)
Deprecated: Use Schema_NestedBlock.ProtoReflect.Descriptor instead.
func (*Schema_NestedBlock) GetBlock ¶
func (x *Schema_NestedBlock) GetBlock() *Schema_Block
func (*Schema_NestedBlock) GetMaxItems ¶
func (x *Schema_NestedBlock) GetMaxItems() int64
func (*Schema_NestedBlock) GetMinItems ¶
func (x *Schema_NestedBlock) GetMinItems() int64
func (*Schema_NestedBlock) GetNesting ¶
func (x *Schema_NestedBlock) GetNesting() Schema_NestedBlock_NestingMode
func (*Schema_NestedBlock) GetTypeName ¶
func (x *Schema_NestedBlock) GetTypeName() string
func (*Schema_NestedBlock) ProtoMessage ¶
func (*Schema_NestedBlock) ProtoMessage()
func (*Schema_NestedBlock) ProtoReflect ¶ added in v0.15.0
func (x *Schema_NestedBlock) ProtoReflect() protoreflect.Message
func (*Schema_NestedBlock) Reset ¶
func (x *Schema_NestedBlock) Reset()
func (*Schema_NestedBlock) String ¶
func (x *Schema_NestedBlock) String() string
type Schema_NestedBlock_NestingMode ¶
type Schema_NestedBlock_NestingMode int32
const ( Schema_NestedBlock_INVALID Schema_NestedBlock_NestingMode = 0 Schema_NestedBlock_SINGLE Schema_NestedBlock_NestingMode = 1 Schema_NestedBlock_LIST Schema_NestedBlock_NestingMode = 2 Schema_NestedBlock_SET Schema_NestedBlock_NestingMode = 3 Schema_NestedBlock_MAP Schema_NestedBlock_NestingMode = 4 Schema_NestedBlock_GROUP Schema_NestedBlock_NestingMode = 5 )
func (Schema_NestedBlock_NestingMode) Descriptor ¶ added in v0.15.0
func (Schema_NestedBlock_NestingMode) Descriptor() protoreflect.EnumDescriptor
func (Schema_NestedBlock_NestingMode) Enum ¶ added in v0.15.0
func (x Schema_NestedBlock_NestingMode) Enum() *Schema_NestedBlock_NestingMode
func (Schema_NestedBlock_NestingMode) EnumDescriptor
deprecated
func (Schema_NestedBlock_NestingMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use Schema_NestedBlock_NestingMode.Descriptor instead.
func (Schema_NestedBlock_NestingMode) Number ¶ added in v0.15.0
func (x Schema_NestedBlock_NestingMode) Number() protoreflect.EnumNumber
func (Schema_NestedBlock_NestingMode) String ¶
func (x Schema_NestedBlock_NestingMode) String() string
func (Schema_NestedBlock_NestingMode) Type ¶ added in v0.15.0
func (Schema_NestedBlock_NestingMode) Type() protoreflect.EnumType
type Stop ¶
type Stop struct {
// contains filtered or unexported fields
}
func (*Stop) Descriptor
deprecated
func (*Stop) ProtoMessage ¶
func (*Stop) ProtoMessage()
func (*Stop) ProtoReflect ¶ added in v0.15.0
func (x *Stop) ProtoReflect() protoreflect.Message
type Stop_Request ¶
type Stop_Request struct {
// contains filtered or unexported fields
}
func (*Stop_Request) Descriptor
deprecated
func (*Stop_Request) Descriptor() ([]byte, []int)
Deprecated: Use Stop_Request.ProtoReflect.Descriptor instead.
func (*Stop_Request) ProtoMessage ¶
func (*Stop_Request) ProtoMessage()
func (*Stop_Request) ProtoReflect ¶ added in v0.15.0
func (x *Stop_Request) ProtoReflect() protoreflect.Message
func (*Stop_Request) Reset ¶
func (x *Stop_Request) Reset()
func (*Stop_Request) String ¶
func (x *Stop_Request) String() string
type Stop_Response ¶
type Stop_Response struct { Error string `protobuf:"bytes,1,opt,name=Error,proto3" json:"Error,omitempty"` // contains filtered or unexported fields }
func (*Stop_Response) Descriptor
deprecated
func (*Stop_Response) Descriptor() ([]byte, []int)
Deprecated: Use Stop_Response.ProtoReflect.Descriptor instead.
func (*Stop_Response) GetError ¶
func (x *Stop_Response) GetError() string
func (*Stop_Response) ProtoMessage ¶
func (*Stop_Response) ProtoMessage()
func (*Stop_Response) ProtoReflect ¶ added in v0.15.0
func (x *Stop_Response) ProtoReflect() protoreflect.Message
func (*Stop_Response) Reset ¶
func (x *Stop_Response) Reset()
func (*Stop_Response) String ¶
func (x *Stop_Response) String() string
type StringKind ¶ added in v0.13.0
type StringKind int32
const ( StringKind_PLAIN StringKind = 0 StringKind_MARKDOWN StringKind = 1 )
func (StringKind) Descriptor ¶ added in v0.15.0
func (StringKind) Descriptor() protoreflect.EnumDescriptor
func (StringKind) Enum ¶ added in v0.15.0
func (x StringKind) Enum() *StringKind
func (StringKind) EnumDescriptor
deprecated
added in
v0.13.0
func (StringKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use StringKind.Descriptor instead.
func (StringKind) Number ¶ added in v0.15.0
func (x StringKind) Number() protoreflect.EnumNumber
func (StringKind) String ¶ added in v0.13.0
func (x StringKind) String() string
func (StringKind) Type ¶ added in v0.15.0
func (StringKind) Type() protoreflect.EnumType
type UnimplementedProviderServer ¶ added in v0.12.9
type UnimplementedProviderServer struct { }
UnimplementedProviderServer can be embedded to have forward compatible implementations.
func (*UnimplementedProviderServer) ApplyResourceChange ¶ added in v0.12.9
func (*UnimplementedProviderServer) ApplyResourceChange(context.Context, *ApplyResourceChange_Request) (*ApplyResourceChange_Response, error)
func (*UnimplementedProviderServer) Configure ¶ added in v0.12.9
func (*UnimplementedProviderServer) Configure(context.Context, *Configure_Request) (*Configure_Response, error)
func (*UnimplementedProviderServer) GetSchema ¶ added in v0.12.9
func (*UnimplementedProviderServer) GetSchema(context.Context, *GetProviderSchema_Request) (*GetProviderSchema_Response, error)
func (*UnimplementedProviderServer) ImportResourceState ¶ added in v0.12.9
func (*UnimplementedProviderServer) ImportResourceState(context.Context, *ImportResourceState_Request) (*ImportResourceState_Response, error)
func (*UnimplementedProviderServer) PlanResourceChange ¶ added in v0.12.9
func (*UnimplementedProviderServer) PlanResourceChange(context.Context, *PlanResourceChange_Request) (*PlanResourceChange_Response, error)
func (*UnimplementedProviderServer) PrepareProviderConfig ¶ added in v0.12.9
func (*UnimplementedProviderServer) PrepareProviderConfig(context.Context, *PrepareProviderConfig_Request) (*PrepareProviderConfig_Response, error)
func (*UnimplementedProviderServer) ReadDataSource ¶ added in v0.12.9
func (*UnimplementedProviderServer) ReadDataSource(context.Context, *ReadDataSource_Request) (*ReadDataSource_Response, error)
func (*UnimplementedProviderServer) ReadResource ¶ added in v0.12.9
func (*UnimplementedProviderServer) ReadResource(context.Context, *ReadResource_Request) (*ReadResource_Response, error)
func (*UnimplementedProviderServer) Stop ¶ added in v0.12.9
func (*UnimplementedProviderServer) Stop(context.Context, *Stop_Request) (*Stop_Response, error)
func (*UnimplementedProviderServer) UpgradeResourceState ¶ added in v0.12.9
func (*UnimplementedProviderServer) UpgradeResourceState(context.Context, *UpgradeResourceState_Request) (*UpgradeResourceState_Response, error)
func (*UnimplementedProviderServer) ValidateDataSourceConfig ¶ added in v0.12.9
func (*UnimplementedProviderServer) ValidateDataSourceConfig(context.Context, *ValidateDataSourceConfig_Request) (*ValidateDataSourceConfig_Response, error)
func (*UnimplementedProviderServer) ValidateResourceTypeConfig ¶ added in v0.12.9
func (*UnimplementedProviderServer) ValidateResourceTypeConfig(context.Context, *ValidateResourceTypeConfig_Request) (*ValidateResourceTypeConfig_Response, error)
type UnimplementedProvisionerServer ¶ added in v0.12.9
type UnimplementedProvisionerServer struct { }
UnimplementedProvisionerServer can be embedded to have forward compatible implementations.
func (*UnimplementedProvisionerServer) GetSchema ¶ added in v0.12.9
func (*UnimplementedProvisionerServer) GetSchema(context.Context, *GetProvisionerSchema_Request) (*GetProvisionerSchema_Response, error)
func (*UnimplementedProvisionerServer) ProvisionResource ¶ added in v0.12.9
func (*UnimplementedProvisionerServer) ProvisionResource(*ProvisionResource_Request, Provisioner_ProvisionResourceServer) error
func (*UnimplementedProvisionerServer) Stop ¶ added in v0.12.9
func (*UnimplementedProvisionerServer) Stop(context.Context, *Stop_Request) (*Stop_Response, error)
func (*UnimplementedProvisionerServer) ValidateProvisionerConfig ¶ added in v0.12.9
func (*UnimplementedProvisionerServer) ValidateProvisionerConfig(context.Context, *ValidateProvisionerConfig_Request) (*ValidateProvisionerConfig_Response, error)
type UpgradeResourceState ¶
type UpgradeResourceState struct {
// contains filtered or unexported fields
}
func (*UpgradeResourceState) Descriptor
deprecated
func (*UpgradeResourceState) Descriptor() ([]byte, []int)
Deprecated: Use UpgradeResourceState.ProtoReflect.Descriptor instead.
func (*UpgradeResourceState) ProtoMessage ¶
func (*UpgradeResourceState) ProtoMessage()
func (*UpgradeResourceState) ProtoReflect ¶ added in v0.15.0
func (x *UpgradeResourceState) ProtoReflect() protoreflect.Message
func (*UpgradeResourceState) Reset ¶
func (x *UpgradeResourceState) Reset()
func (*UpgradeResourceState) String ¶
func (x *UpgradeResourceState) String() string
type UpgradeResourceState_Request ¶
type UpgradeResourceState_Request struct { TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` // version is the schema_version number recorded in the state file Version int64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` // raw_state is the raw states as stored for the resource. Core does // not have access to the schema of prior_version, so it's the // provider's responsibility to interpret this value using the // appropriate older schema. The raw_state will be the json encoded // state, or a legacy flat-mapped format. RawState *RawState `protobuf:"bytes,3,opt,name=raw_state,json=rawState,proto3" json:"raw_state,omitempty"` // contains filtered or unexported fields }
Request is the message that is sent to the provider during the UpgradeResourceState RPC.
This message intentionally does not include configuration data as any configuration-based or configuration-conditional changes should occur during the PlanResourceChange RPC. Additionally, the configuration is not guaranteed to exist (in the case of resource destruction), be wholly known, nor match the given prior state, which could lead to unexpected provider behaviors for practitioners.
func (*UpgradeResourceState_Request) Descriptor
deprecated
func (*UpgradeResourceState_Request) Descriptor() ([]byte, []int)
Deprecated: Use UpgradeResourceState_Request.ProtoReflect.Descriptor instead.
func (*UpgradeResourceState_Request) GetRawState ¶
func (x *UpgradeResourceState_Request) GetRawState() *RawState
func (*UpgradeResourceState_Request) GetTypeName ¶
func (x *UpgradeResourceState_Request) GetTypeName() string
func (*UpgradeResourceState_Request) GetVersion ¶
func (x *UpgradeResourceState_Request) GetVersion() int64
func (*UpgradeResourceState_Request) ProtoMessage ¶
func (*UpgradeResourceState_Request) ProtoMessage()
func (*UpgradeResourceState_Request) ProtoReflect ¶ added in v0.15.0
func (x *UpgradeResourceState_Request) ProtoReflect() protoreflect.Message
func (*UpgradeResourceState_Request) Reset ¶
func (x *UpgradeResourceState_Request) Reset()
func (*UpgradeResourceState_Request) String ¶
func (x *UpgradeResourceState_Request) String() string
type UpgradeResourceState_Response ¶
type UpgradeResourceState_Response struct { // new_state is a msgpack-encoded data structure that, when interpreted with // the _current_ schema for this resource type, is functionally equivalent to // that which was given in prior_state_raw. UpgradedState *DynamicValue `protobuf:"bytes,1,opt,name=upgraded_state,json=upgradedState,proto3" json:"upgraded_state,omitempty"` // diagnostics describes any errors encountered during migration that could not // be safely resolved, and warnings about any possibly-risky assumptions made // in the upgrade process. Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` // contains filtered or unexported fields }
func (*UpgradeResourceState_Response) Descriptor
deprecated
func (*UpgradeResourceState_Response) Descriptor() ([]byte, []int)
Deprecated: Use UpgradeResourceState_Response.ProtoReflect.Descriptor instead.
func (*UpgradeResourceState_Response) GetDiagnostics ¶
func (x *UpgradeResourceState_Response) GetDiagnostics() []*Diagnostic
func (*UpgradeResourceState_Response) GetUpgradedState ¶
func (x *UpgradeResourceState_Response) GetUpgradedState() *DynamicValue
func (*UpgradeResourceState_Response) ProtoMessage ¶
func (*UpgradeResourceState_Response) ProtoMessage()
func (*UpgradeResourceState_Response) ProtoReflect ¶ added in v0.15.0
func (x *UpgradeResourceState_Response) ProtoReflect() protoreflect.Message
func (*UpgradeResourceState_Response) Reset ¶
func (x *UpgradeResourceState_Response) Reset()
func (*UpgradeResourceState_Response) String ¶
func (x *UpgradeResourceState_Response) String() string
type ValidateDataSourceConfig ¶
type ValidateDataSourceConfig struct {
// contains filtered or unexported fields
}
func (*ValidateDataSourceConfig) Descriptor
deprecated
func (*ValidateDataSourceConfig) Descriptor() ([]byte, []int)
Deprecated: Use ValidateDataSourceConfig.ProtoReflect.Descriptor instead.
func (*ValidateDataSourceConfig) ProtoMessage ¶
func (*ValidateDataSourceConfig) ProtoMessage()
func (*ValidateDataSourceConfig) ProtoReflect ¶ added in v0.15.0
func (x *ValidateDataSourceConfig) ProtoReflect() protoreflect.Message
func (*ValidateDataSourceConfig) Reset ¶
func (x *ValidateDataSourceConfig) Reset()
func (*ValidateDataSourceConfig) String ¶
func (x *ValidateDataSourceConfig) String() string
type ValidateDataSourceConfig_Request ¶
type ValidateDataSourceConfig_Request struct { TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` Config *DynamicValue `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*ValidateDataSourceConfig_Request) Descriptor
deprecated
func (*ValidateDataSourceConfig_Request) Descriptor() ([]byte, []int)
Deprecated: Use ValidateDataSourceConfig_Request.ProtoReflect.Descriptor instead.
func (*ValidateDataSourceConfig_Request) GetConfig ¶
func (x *ValidateDataSourceConfig_Request) GetConfig() *DynamicValue
func (*ValidateDataSourceConfig_Request) GetTypeName ¶
func (x *ValidateDataSourceConfig_Request) GetTypeName() string
func (*ValidateDataSourceConfig_Request) ProtoMessage ¶
func (*ValidateDataSourceConfig_Request) ProtoMessage()
func (*ValidateDataSourceConfig_Request) ProtoReflect ¶ added in v0.15.0
func (x *ValidateDataSourceConfig_Request) ProtoReflect() protoreflect.Message
func (*ValidateDataSourceConfig_Request) Reset ¶
func (x *ValidateDataSourceConfig_Request) Reset()
func (*ValidateDataSourceConfig_Request) String ¶
func (x *ValidateDataSourceConfig_Request) String() string
type ValidateDataSourceConfig_Response ¶
type ValidateDataSourceConfig_Response struct { Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` // contains filtered or unexported fields }
func (*ValidateDataSourceConfig_Response) Descriptor
deprecated
func (*ValidateDataSourceConfig_Response) Descriptor() ([]byte, []int)
Deprecated: Use ValidateDataSourceConfig_Response.ProtoReflect.Descriptor instead.
func (*ValidateDataSourceConfig_Response) GetDiagnostics ¶
func (x *ValidateDataSourceConfig_Response) GetDiagnostics() []*Diagnostic
func (*ValidateDataSourceConfig_Response) ProtoMessage ¶
func (*ValidateDataSourceConfig_Response) ProtoMessage()
func (*ValidateDataSourceConfig_Response) ProtoReflect ¶ added in v0.15.0
func (x *ValidateDataSourceConfig_Response) ProtoReflect() protoreflect.Message
func (*ValidateDataSourceConfig_Response) Reset ¶
func (x *ValidateDataSourceConfig_Response) Reset()
func (*ValidateDataSourceConfig_Response) String ¶
func (x *ValidateDataSourceConfig_Response) String() string
type ValidateProvisionerConfig ¶
type ValidateProvisionerConfig struct {
// contains filtered or unexported fields
}
func (*ValidateProvisionerConfig) Descriptor
deprecated
func (*ValidateProvisionerConfig) Descriptor() ([]byte, []int)
Deprecated: Use ValidateProvisionerConfig.ProtoReflect.Descriptor instead.
func (*ValidateProvisionerConfig) ProtoMessage ¶
func (*ValidateProvisionerConfig) ProtoMessage()
func (*ValidateProvisionerConfig) ProtoReflect ¶ added in v0.15.0
func (x *ValidateProvisionerConfig) ProtoReflect() protoreflect.Message
func (*ValidateProvisionerConfig) Reset ¶
func (x *ValidateProvisionerConfig) Reset()
func (*ValidateProvisionerConfig) String ¶
func (x *ValidateProvisionerConfig) String() string
type ValidateProvisionerConfig_Request ¶
type ValidateProvisionerConfig_Request struct { Config *DynamicValue `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*ValidateProvisionerConfig_Request) Descriptor
deprecated
func (*ValidateProvisionerConfig_Request) Descriptor() ([]byte, []int)
Deprecated: Use ValidateProvisionerConfig_Request.ProtoReflect.Descriptor instead.
func (*ValidateProvisionerConfig_Request) GetConfig ¶
func (x *ValidateProvisionerConfig_Request) GetConfig() *DynamicValue
func (*ValidateProvisionerConfig_Request) ProtoMessage ¶
func (*ValidateProvisionerConfig_Request) ProtoMessage()
func (*ValidateProvisionerConfig_Request) ProtoReflect ¶ added in v0.15.0
func (x *ValidateProvisionerConfig_Request) ProtoReflect() protoreflect.Message
func (*ValidateProvisionerConfig_Request) Reset ¶
func (x *ValidateProvisionerConfig_Request) Reset()
func (*ValidateProvisionerConfig_Request) String ¶
func (x *ValidateProvisionerConfig_Request) String() string
type ValidateProvisionerConfig_Response ¶
type ValidateProvisionerConfig_Response struct { Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` // contains filtered or unexported fields }
func (*ValidateProvisionerConfig_Response) Descriptor
deprecated
func (*ValidateProvisionerConfig_Response) Descriptor() ([]byte, []int)
Deprecated: Use ValidateProvisionerConfig_Response.ProtoReflect.Descriptor instead.
func (*ValidateProvisionerConfig_Response) GetDiagnostics ¶
func (x *ValidateProvisionerConfig_Response) GetDiagnostics() []*Diagnostic
func (*ValidateProvisionerConfig_Response) ProtoMessage ¶
func (*ValidateProvisionerConfig_Response) ProtoMessage()
func (*ValidateProvisionerConfig_Response) ProtoReflect ¶ added in v0.15.0
func (x *ValidateProvisionerConfig_Response) ProtoReflect() protoreflect.Message
func (*ValidateProvisionerConfig_Response) Reset ¶
func (x *ValidateProvisionerConfig_Response) Reset()
func (*ValidateProvisionerConfig_Response) String ¶
func (x *ValidateProvisionerConfig_Response) String() string
type ValidateResourceTypeConfig ¶
type ValidateResourceTypeConfig struct {
// contains filtered or unexported fields
}
func (*ValidateResourceTypeConfig) Descriptor
deprecated
func (*ValidateResourceTypeConfig) Descriptor() ([]byte, []int)
Deprecated: Use ValidateResourceTypeConfig.ProtoReflect.Descriptor instead.
func (*ValidateResourceTypeConfig) ProtoMessage ¶
func (*ValidateResourceTypeConfig) ProtoMessage()
func (*ValidateResourceTypeConfig) ProtoReflect ¶ added in v0.15.0
func (x *ValidateResourceTypeConfig) ProtoReflect() protoreflect.Message
func (*ValidateResourceTypeConfig) Reset ¶
func (x *ValidateResourceTypeConfig) Reset()
func (*ValidateResourceTypeConfig) String ¶
func (x *ValidateResourceTypeConfig) String() string
type ValidateResourceTypeConfig_Request ¶
type ValidateResourceTypeConfig_Request struct { TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` Config *DynamicValue `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*ValidateResourceTypeConfig_Request) Descriptor
deprecated
func (*ValidateResourceTypeConfig_Request) Descriptor() ([]byte, []int)
Deprecated: Use ValidateResourceTypeConfig_Request.ProtoReflect.Descriptor instead.
func (*ValidateResourceTypeConfig_Request) GetConfig ¶
func (x *ValidateResourceTypeConfig_Request) GetConfig() *DynamicValue
func (*ValidateResourceTypeConfig_Request) GetTypeName ¶
func (x *ValidateResourceTypeConfig_Request) GetTypeName() string
func (*ValidateResourceTypeConfig_Request) ProtoMessage ¶
func (*ValidateResourceTypeConfig_Request) ProtoMessage()
func (*ValidateResourceTypeConfig_Request) ProtoReflect ¶ added in v0.15.0
func (x *ValidateResourceTypeConfig_Request) ProtoReflect() protoreflect.Message
func (*ValidateResourceTypeConfig_Request) Reset ¶
func (x *ValidateResourceTypeConfig_Request) Reset()
func (*ValidateResourceTypeConfig_Request) String ¶
func (x *ValidateResourceTypeConfig_Request) String() string
type ValidateResourceTypeConfig_Response ¶
type ValidateResourceTypeConfig_Response struct { Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` // contains filtered or unexported fields }
func (*ValidateResourceTypeConfig_Response) Descriptor
deprecated
func (*ValidateResourceTypeConfig_Response) Descriptor() ([]byte, []int)
Deprecated: Use ValidateResourceTypeConfig_Response.ProtoReflect.Descriptor instead.
func (*ValidateResourceTypeConfig_Response) GetDiagnostics ¶
func (x *ValidateResourceTypeConfig_Response) GetDiagnostics() []*Diagnostic
func (*ValidateResourceTypeConfig_Response) ProtoMessage ¶
func (*ValidateResourceTypeConfig_Response) ProtoMessage()
func (*ValidateResourceTypeConfig_Response) ProtoReflect ¶ added in v0.15.0
func (x *ValidateResourceTypeConfig_Response) ProtoReflect() protoreflect.Message
func (*ValidateResourceTypeConfig_Response) Reset ¶
func (x *ValidateResourceTypeConfig_Response) Reset()
func (*ValidateResourceTypeConfig_Response) String ¶
func (x *ValidateResourceTypeConfig_Response) String() string