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 CallFunction
- type CallFunction_Request
- func (*CallFunction_Request) Descriptor() ([]byte, []int)deprecated
- func (x *CallFunction_Request) GetArguments() []*DynamicValue
- func (x *CallFunction_Request) GetName() string
- func (*CallFunction_Request) ProtoMessage()
- func (x *CallFunction_Request) ProtoReflect() protoreflect.Message
- func (x *CallFunction_Request) Reset()
- func (x *CallFunction_Request) String() string
- type CallFunction_Response
- func (*CallFunction_Response) Descriptor() ([]byte, []int)deprecated
- func (x *CallFunction_Response) GetError() *FunctionError
- func (x *CallFunction_Response) GetResult() *DynamicValue
- func (*CallFunction_Response) ProtoMessage()
- func (x *CallFunction_Response) ProtoReflect() protoreflect.Message
- func (x *CallFunction_Response) Reset()
- func (x *CallFunction_Response) String() string
- 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 Function
- func (*Function) Descriptor() ([]byte, []int)deprecated
- func (x *Function) GetDeprecationMessage() string
- func (x *Function) GetDescription() string
- func (x *Function) GetDescriptionKind() StringKind
- func (x *Function) GetParameters() []*Function_Parameter
- func (x *Function) GetReturn() *Function_Return
- func (x *Function) GetSummary() string
- func (x *Function) GetVariadicParameter() *Function_Parameter
- func (*Function) ProtoMessage()
- func (x *Function) ProtoReflect() protoreflect.Message
- func (x *Function) Reset()
- func (x *Function) String() string
- type FunctionError
- func (*FunctionError) Descriptor() ([]byte, []int)deprecated
- func (x *FunctionError) GetFunctionArgument() int64
- func (x *FunctionError) GetText() string
- func (*FunctionError) ProtoMessage()
- func (x *FunctionError) ProtoReflect() protoreflect.Message
- func (x *FunctionError) Reset()
- func (x *FunctionError) String() string
- type Function_Parameter
- func (*Function_Parameter) Descriptor() ([]byte, []int)deprecated
- func (x *Function_Parameter) GetAllowNullValue() bool
- func (x *Function_Parameter) GetAllowUnknownValues() bool
- func (x *Function_Parameter) GetDescription() string
- func (x *Function_Parameter) GetDescriptionKind() StringKind
- func (x *Function_Parameter) GetName() string
- func (x *Function_Parameter) GetType() []byte
- func (*Function_Parameter) ProtoMessage()
- func (x *Function_Parameter) ProtoReflect() protoreflect.Message
- func (x *Function_Parameter) Reset()
- func (x *Function_Parameter) String() string
- type Function_Return
- type GetFunctions
- type GetFunctions_Request
- type GetFunctions_Response
- func (*GetFunctions_Response) Descriptor() ([]byte, []int)deprecated
- func (x *GetFunctions_Response) GetDiagnostics() []*Diagnostic
- func (x *GetFunctions_Response) GetFunctions() map[string]*Function
- func (*GetFunctions_Response) ProtoMessage()
- func (x *GetFunctions_Response) ProtoReflect() protoreflect.Message
- func (x *GetFunctions_Response) Reset()
- func (x *GetFunctions_Response) String() string
- type GetMetadata
- type GetMetadata_DataSourceMetadata
- func (*GetMetadata_DataSourceMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *GetMetadata_DataSourceMetadata) GetTypeName() string
- func (*GetMetadata_DataSourceMetadata) ProtoMessage()
- func (x *GetMetadata_DataSourceMetadata) ProtoReflect() protoreflect.Message
- func (x *GetMetadata_DataSourceMetadata) Reset()
- func (x *GetMetadata_DataSourceMetadata) String() string
- type GetMetadata_FunctionMetadata
- func (*GetMetadata_FunctionMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *GetMetadata_FunctionMetadata) GetName() string
- func (*GetMetadata_FunctionMetadata) ProtoMessage()
- func (x *GetMetadata_FunctionMetadata) ProtoReflect() protoreflect.Message
- func (x *GetMetadata_FunctionMetadata) Reset()
- func (x *GetMetadata_FunctionMetadata) String() string
- type GetMetadata_Request
- type GetMetadata_ResourceMetadata
- func (*GetMetadata_ResourceMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *GetMetadata_ResourceMetadata) GetTypeName() string
- func (*GetMetadata_ResourceMetadata) ProtoMessage()
- func (x *GetMetadata_ResourceMetadata) ProtoReflect() protoreflect.Message
- func (x *GetMetadata_ResourceMetadata) Reset()
- func (x *GetMetadata_ResourceMetadata) String() string
- type GetMetadata_Response
- func (*GetMetadata_Response) Descriptor() ([]byte, []int)deprecated
- func (x *GetMetadata_Response) GetDataSources() []*GetMetadata_DataSourceMetadata
- func (x *GetMetadata_Response) GetDiagnostics() []*Diagnostic
- func (x *GetMetadata_Response) GetFunctions() []*GetMetadata_FunctionMetadata
- func (x *GetMetadata_Response) GetResources() []*GetMetadata_ResourceMetadata
- func (x *GetMetadata_Response) GetServerCapabilities() *ServerCapabilities
- func (*GetMetadata_Response) ProtoMessage()
- func (x *GetMetadata_Response) ProtoReflect() protoreflect.Message
- func (x *GetMetadata_Response) Reset()
- func (x *GetMetadata_Response) 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) GetFunctions() map[string]*Function
- 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() *ServerCapabilities
- func (*GetProviderSchema_Response) ProtoMessage()
- func (x *GetProviderSchema_Response) ProtoReflect() protoreflect.Message
- func (x *GetProviderSchema_Response) Reset()
- func (x *GetProviderSchema_Response) 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 MoveResourceState
- type MoveResourceState_Request
- func (*MoveResourceState_Request) Descriptor() ([]byte, []int)deprecated
- func (x *MoveResourceState_Request) GetSourcePrivate() []byte
- func (x *MoveResourceState_Request) GetSourceProviderAddress() string
- func (x *MoveResourceState_Request) GetSourceSchemaVersion() int64
- func (x *MoveResourceState_Request) GetSourceState() *RawState
- func (x *MoveResourceState_Request) GetSourceTypeName() string
- func (x *MoveResourceState_Request) GetTargetTypeName() string
- func (*MoveResourceState_Request) ProtoMessage()
- func (x *MoveResourceState_Request) ProtoReflect() protoreflect.Message
- func (x *MoveResourceState_Request) Reset()
- func (x *MoveResourceState_Request) String() string
- type MoveResourceState_Response
- func (*MoveResourceState_Response) Descriptor() ([]byte, []int)deprecated
- func (x *MoveResourceState_Response) GetDiagnostics() []*Diagnostic
- func (x *MoveResourceState_Response) GetTargetPrivate() []byte
- func (x *MoveResourceState_Response) GetTargetState() *DynamicValue
- func (*MoveResourceState_Response) ProtoMessage()
- func (x *MoveResourceState_Response) ProtoReflect() protoreflect.Message
- func (x *MoveResourceState_Response) Reset()
- func (x *MoveResourceState_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 ServerCapabilities
- func (*ServerCapabilities) Descriptor() ([]byte, []int)deprecated
- func (x *ServerCapabilities) GetGetProviderSchemaOptional() bool
- func (x *ServerCapabilities) GetMoveResourceState() bool
- func (x *ServerCapabilities) GetPlanDestroy() bool
- func (*ServerCapabilities) ProtoMessage()
- func (x *ServerCapabilities) ProtoReflect() protoreflect.Message
- func (x *ServerCapabilities) Reset()
- func (x *ServerCapabilities) String() string
- type Stop
- type Stop_Request
- type Stop_Response
- type StringKind
- type UnimplementedProviderServer
- func (*UnimplementedProviderServer) ApplyResourceChange(context.Context, *ApplyResourceChange_Request) (*ApplyResourceChange_Response, error)
- func (*UnimplementedProviderServer) CallFunction(context.Context, *CallFunction_Request) (*CallFunction_Response, error)
- func (*UnimplementedProviderServer) Configure(context.Context, *Configure_Request) (*Configure_Response, error)
- func (*UnimplementedProviderServer) GetFunctions(context.Context, *GetFunctions_Request) (*GetFunctions_Response, error)
- func (*UnimplementedProviderServer) GetMetadata(context.Context, *GetMetadata_Request) (*GetMetadata_Response, error)
- func (*UnimplementedProviderServer) GetSchema(context.Context, *GetProviderSchema_Request) (*GetProviderSchema_Response, error)
- func (*UnimplementedProviderServer) ImportResourceState(context.Context, *ImportResourceState_Request) (*ImportResourceState_Response, error)
- func (*UnimplementedProviderServer) MoveResourceState(context.Context, *MoveResourceState_Request) (*MoveResourceState_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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 CallFunction ¶
type CallFunction struct {
// contains filtered or unexported fields
}
func (*CallFunction) Descriptor
deprecated
func (*CallFunction) Descriptor() ([]byte, []int)
Deprecated: Use CallFunction.ProtoReflect.Descriptor instead.
func (*CallFunction) ProtoMessage ¶
func (*CallFunction) ProtoMessage()
func (*CallFunction) ProtoReflect ¶
func (x *CallFunction) ProtoReflect() protoreflect.Message
func (*CallFunction) Reset ¶
func (x *CallFunction) Reset()
func (*CallFunction) String ¶
func (x *CallFunction) String() string
type CallFunction_Request ¶
type CallFunction_Request struct { // name is the name of the function being called. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // arguments is the data of each function argument value. Arguments []*DynamicValue `protobuf:"bytes,2,rep,name=arguments,proto3" json:"arguments,omitempty"` // contains filtered or unexported fields }
func (*CallFunction_Request) Descriptor
deprecated
func (*CallFunction_Request) Descriptor() ([]byte, []int)
Deprecated: Use CallFunction_Request.ProtoReflect.Descriptor instead.
func (*CallFunction_Request) GetArguments ¶
func (x *CallFunction_Request) GetArguments() []*DynamicValue
func (*CallFunction_Request) GetName ¶
func (x *CallFunction_Request) GetName() string
func (*CallFunction_Request) ProtoMessage ¶
func (*CallFunction_Request) ProtoMessage()
func (*CallFunction_Request) ProtoReflect ¶
func (x *CallFunction_Request) ProtoReflect() protoreflect.Message
func (*CallFunction_Request) Reset ¶
func (x *CallFunction_Request) Reset()
func (*CallFunction_Request) String ¶
func (x *CallFunction_Request) String() string
type CallFunction_Response ¶
type CallFunction_Response struct { // result is result value after running the function logic. Result *DynamicValue `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // error is any error from the function logic. Error *FunctionError `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*CallFunction_Response) Descriptor
deprecated
func (*CallFunction_Response) Descriptor() ([]byte, []int)
Deprecated: Use CallFunction_Response.ProtoReflect.Descriptor instead.
func (*CallFunction_Response) GetError ¶
func (x *CallFunction_Response) GetError() *FunctionError
func (*CallFunction_Response) GetResult ¶
func (x *CallFunction_Response) GetResult() *DynamicValue
func (*CallFunction_Response) ProtoMessage ¶
func (*CallFunction_Response) ProtoMessage()
func (*CallFunction_Response) ProtoReflect ¶
func (x *CallFunction_Response) ProtoReflect() protoreflect.Message
func (*CallFunction_Response) Reset ¶
func (x *CallFunction_Response) Reset()
func (*CallFunction_Response) String ¶
func (x *CallFunction_Response) String() string
type Configure ¶
type Configure struct {
// contains filtered or unexported fields
}
func (*Configure) Descriptor
deprecated
func (*Configure) ProtoMessage ¶
func (*Configure) ProtoMessage()
func (*Configure) ProtoReflect ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (Diagnostic_Severity) Descriptor() protoreflect.EnumDescriptor
func (Diagnostic_Severity) Enum ¶
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 ¶
func (x Diagnostic_Severity) Number() protoreflect.EnumNumber
func (Diagnostic_Severity) String ¶
func (x Diagnostic_Severity) String() string
func (Diagnostic_Severity) Type ¶
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 ¶
func (x *DynamicValue) ProtoReflect() protoreflect.Message
func (*DynamicValue) Reset ¶
func (x *DynamicValue) Reset()
func (*DynamicValue) String ¶
func (x *DynamicValue) String() string
type Function ¶
type Function struct { // parameters is the ordered list of positional function parameters. Parameters []*Function_Parameter `protobuf:"bytes,1,rep,name=parameters,proto3" json:"parameters,omitempty"` // variadic_parameter is an optional final parameter which accepts // zero or more argument values, in which Terraform will send an // ordered list of the parameter type. VariadicParameter *Function_Parameter `protobuf:"bytes,2,opt,name=variadic_parameter,json=variadicParameter,proto3" json:"variadic_parameter,omitempty"` // return is the function result. Return *Function_Return `protobuf:"bytes,3,opt,name=return,proto3" json:"return,omitempty"` // summary is the human-readable shortened documentation for the function. Summary string `protobuf:"bytes,4,opt,name=summary,proto3" json:"summary,omitempty"` // description is human-readable documentation for the function. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // description_kind is the formatting of the description. DescriptionKind StringKind `` /* 133-byte string literal not displayed */ // deprecation_message is human-readable documentation if the // function is deprecated. DeprecationMessage string `protobuf:"bytes,7,opt,name=deprecation_message,json=deprecationMessage,proto3" json:"deprecation_message,omitempty"` // contains filtered or unexported fields }
func (*Function) Descriptor
deprecated
func (*Function) GetDeprecationMessage ¶
func (*Function) GetDescription ¶
func (*Function) GetDescriptionKind ¶
func (x *Function) GetDescriptionKind() StringKind
func (*Function) GetParameters ¶
func (x *Function) GetParameters() []*Function_Parameter
func (*Function) GetReturn ¶
func (x *Function) GetReturn() *Function_Return
func (*Function) GetSummary ¶
func (*Function) GetVariadicParameter ¶
func (x *Function) GetVariadicParameter() *Function_Parameter
func (*Function) ProtoMessage ¶
func (*Function) ProtoMessage()
func (*Function) ProtoReflect ¶
func (x *Function) ProtoReflect() protoreflect.Message
type FunctionError ¶
type FunctionError struct { Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // The optional function_argument records the index position of the // argument which caused the error. FunctionArgument *int64 `protobuf:"varint,2,opt,name=function_argument,json=functionArgument,proto3,oneof" json:"function_argument,omitempty"` // contains filtered or unexported fields }
func (*FunctionError) Descriptor
deprecated
func (*FunctionError) Descriptor() ([]byte, []int)
Deprecated: Use FunctionError.ProtoReflect.Descriptor instead.
func (*FunctionError) GetFunctionArgument ¶
func (x *FunctionError) GetFunctionArgument() int64
func (*FunctionError) GetText ¶
func (x *FunctionError) GetText() string
func (*FunctionError) ProtoMessage ¶
func (*FunctionError) ProtoMessage()
func (*FunctionError) ProtoReflect ¶
func (x *FunctionError) ProtoReflect() protoreflect.Message
func (*FunctionError) Reset ¶
func (x *FunctionError) Reset()
func (*FunctionError) String ¶
func (x *FunctionError) String() string
type Function_Parameter ¶
type Function_Parameter struct { // name is the human-readable display name for the parameter. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // type is the type constraint for the parameter. Type []byte `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // allow_null_value when enabled denotes that a null argument value can // be passed to the provider. When disabled, Terraform returns an error // if the argument value is null. AllowNullValue bool `protobuf:"varint,3,opt,name=allow_null_value,json=allowNullValue,proto3" json:"allow_null_value,omitempty"` // allow_unknown_values when enabled denotes that only wholly known // argument values will be passed to the provider. When disabled, // Terraform skips the function call entirely and assumes an unknown // value result from the function. AllowUnknownValues bool `protobuf:"varint,4,opt,name=allow_unknown_values,json=allowUnknownValues,proto3" json:"allow_unknown_values,omitempty"` // description is human-readable documentation for the parameter. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // description_kind is the formatting of the description. DescriptionKind StringKind `` /* 133-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Function_Parameter) Descriptor
deprecated
func (*Function_Parameter) Descriptor() ([]byte, []int)
Deprecated: Use Function_Parameter.ProtoReflect.Descriptor instead.
func (*Function_Parameter) GetAllowNullValue ¶
func (x *Function_Parameter) GetAllowNullValue() bool
func (*Function_Parameter) GetAllowUnknownValues ¶
func (x *Function_Parameter) GetAllowUnknownValues() bool
func (*Function_Parameter) GetDescription ¶
func (x *Function_Parameter) GetDescription() string
func (*Function_Parameter) GetDescriptionKind ¶
func (x *Function_Parameter) GetDescriptionKind() StringKind
func (*Function_Parameter) GetName ¶
func (x *Function_Parameter) GetName() string
func (*Function_Parameter) GetType ¶
func (x *Function_Parameter) GetType() []byte
func (*Function_Parameter) ProtoMessage ¶
func (*Function_Parameter) ProtoMessage()
func (*Function_Parameter) ProtoReflect ¶
func (x *Function_Parameter) ProtoReflect() protoreflect.Message
func (*Function_Parameter) Reset ¶
func (x *Function_Parameter) Reset()
func (*Function_Parameter) String ¶
func (x *Function_Parameter) String() string
type Function_Return ¶
type Function_Return struct { // type is the type constraint for the function result. Type []byte `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Function_Return) Descriptor
deprecated
func (*Function_Return) Descriptor() ([]byte, []int)
Deprecated: Use Function_Return.ProtoReflect.Descriptor instead.
func (*Function_Return) GetType ¶
func (x *Function_Return) GetType() []byte
func (*Function_Return) ProtoMessage ¶
func (*Function_Return) ProtoMessage()
func (*Function_Return) ProtoReflect ¶
func (x *Function_Return) ProtoReflect() protoreflect.Message
func (*Function_Return) Reset ¶
func (x *Function_Return) Reset()
func (*Function_Return) String ¶
func (x *Function_Return) String() string
type GetFunctions ¶
type GetFunctions struct {
// contains filtered or unexported fields
}
func (*GetFunctions) Descriptor
deprecated
func (*GetFunctions) Descriptor() ([]byte, []int)
Deprecated: Use GetFunctions.ProtoReflect.Descriptor instead.
func (*GetFunctions) ProtoMessage ¶
func (*GetFunctions) ProtoMessage()
func (*GetFunctions) ProtoReflect ¶
func (x *GetFunctions) ProtoReflect() protoreflect.Message
func (*GetFunctions) Reset ¶
func (x *GetFunctions) Reset()
func (*GetFunctions) String ¶
func (x *GetFunctions) String() string
type GetFunctions_Request ¶
type GetFunctions_Request struct {
// contains filtered or unexported fields
}
func (*GetFunctions_Request) Descriptor
deprecated
func (*GetFunctions_Request) Descriptor() ([]byte, []int)
Deprecated: Use GetFunctions_Request.ProtoReflect.Descriptor instead.
func (*GetFunctions_Request) ProtoMessage ¶
func (*GetFunctions_Request) ProtoMessage()
func (*GetFunctions_Request) ProtoReflect ¶
func (x *GetFunctions_Request) ProtoReflect() protoreflect.Message
func (*GetFunctions_Request) Reset ¶
func (x *GetFunctions_Request) Reset()
func (*GetFunctions_Request) String ¶
func (x *GetFunctions_Request) String() string
type GetFunctions_Response ¶
type GetFunctions_Response struct { // functions is a mapping of function names to definitions. Functions map[string]*Function `` /* 159-byte string literal not displayed */ // diagnostics is any warnings or errors. Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` // contains filtered or unexported fields }
func (*GetFunctions_Response) Descriptor
deprecated
func (*GetFunctions_Response) Descriptor() ([]byte, []int)
Deprecated: Use GetFunctions_Response.ProtoReflect.Descriptor instead.
func (*GetFunctions_Response) GetDiagnostics ¶
func (x *GetFunctions_Response) GetDiagnostics() []*Diagnostic
func (*GetFunctions_Response) GetFunctions ¶
func (x *GetFunctions_Response) GetFunctions() map[string]*Function
func (*GetFunctions_Response) ProtoMessage ¶
func (*GetFunctions_Response) ProtoMessage()
func (*GetFunctions_Response) ProtoReflect ¶
func (x *GetFunctions_Response) ProtoReflect() protoreflect.Message
func (*GetFunctions_Response) Reset ¶
func (x *GetFunctions_Response) Reset()
func (*GetFunctions_Response) String ¶
func (x *GetFunctions_Response) String() string
type GetMetadata ¶
type GetMetadata struct {
// contains filtered or unexported fields
}
func (*GetMetadata) Descriptor
deprecated
func (*GetMetadata) Descriptor() ([]byte, []int)
Deprecated: Use GetMetadata.ProtoReflect.Descriptor instead.
func (*GetMetadata) ProtoMessage ¶
func (*GetMetadata) ProtoMessage()
func (*GetMetadata) ProtoReflect ¶
func (x *GetMetadata) ProtoReflect() protoreflect.Message
func (*GetMetadata) Reset ¶
func (x *GetMetadata) Reset()
func (*GetMetadata) String ¶
func (x *GetMetadata) String() string
type GetMetadata_DataSourceMetadata ¶
type GetMetadata_DataSourceMetadata struct { TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` // contains filtered or unexported fields }
func (*GetMetadata_DataSourceMetadata) Descriptor
deprecated
func (*GetMetadata_DataSourceMetadata) Descriptor() ([]byte, []int)
Deprecated: Use GetMetadata_DataSourceMetadata.ProtoReflect.Descriptor instead.
func (*GetMetadata_DataSourceMetadata) GetTypeName ¶
func (x *GetMetadata_DataSourceMetadata) GetTypeName() string
func (*GetMetadata_DataSourceMetadata) ProtoMessage ¶
func (*GetMetadata_DataSourceMetadata) ProtoMessage()
func (*GetMetadata_DataSourceMetadata) ProtoReflect ¶
func (x *GetMetadata_DataSourceMetadata) ProtoReflect() protoreflect.Message
func (*GetMetadata_DataSourceMetadata) Reset ¶
func (x *GetMetadata_DataSourceMetadata) Reset()
func (*GetMetadata_DataSourceMetadata) String ¶
func (x *GetMetadata_DataSourceMetadata) String() string
type GetMetadata_FunctionMetadata ¶
type GetMetadata_FunctionMetadata struct { // name is the function name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetMetadata_FunctionMetadata) Descriptor
deprecated
func (*GetMetadata_FunctionMetadata) Descriptor() ([]byte, []int)
Deprecated: Use GetMetadata_FunctionMetadata.ProtoReflect.Descriptor instead.
func (*GetMetadata_FunctionMetadata) GetName ¶
func (x *GetMetadata_FunctionMetadata) GetName() string
func (*GetMetadata_FunctionMetadata) ProtoMessage ¶
func (*GetMetadata_FunctionMetadata) ProtoMessage()
func (*GetMetadata_FunctionMetadata) ProtoReflect ¶
func (x *GetMetadata_FunctionMetadata) ProtoReflect() protoreflect.Message
func (*GetMetadata_FunctionMetadata) Reset ¶
func (x *GetMetadata_FunctionMetadata) Reset()
func (*GetMetadata_FunctionMetadata) String ¶
func (x *GetMetadata_FunctionMetadata) String() string
type GetMetadata_Request ¶
type GetMetadata_Request struct {
// contains filtered or unexported fields
}
func (*GetMetadata_Request) Descriptor
deprecated
func (*GetMetadata_Request) Descriptor() ([]byte, []int)
Deprecated: Use GetMetadata_Request.ProtoReflect.Descriptor instead.
func (*GetMetadata_Request) ProtoMessage ¶
func (*GetMetadata_Request) ProtoMessage()
func (*GetMetadata_Request) ProtoReflect ¶
func (x *GetMetadata_Request) ProtoReflect() protoreflect.Message
func (*GetMetadata_Request) Reset ¶
func (x *GetMetadata_Request) Reset()
func (*GetMetadata_Request) String ¶
func (x *GetMetadata_Request) String() string
type GetMetadata_ResourceMetadata ¶
type GetMetadata_ResourceMetadata struct { TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` // contains filtered or unexported fields }
func (*GetMetadata_ResourceMetadata) Descriptor
deprecated
func (*GetMetadata_ResourceMetadata) Descriptor() ([]byte, []int)
Deprecated: Use GetMetadata_ResourceMetadata.ProtoReflect.Descriptor instead.
func (*GetMetadata_ResourceMetadata) GetTypeName ¶
func (x *GetMetadata_ResourceMetadata) GetTypeName() string
func (*GetMetadata_ResourceMetadata) ProtoMessage ¶
func (*GetMetadata_ResourceMetadata) ProtoMessage()
func (*GetMetadata_ResourceMetadata) ProtoReflect ¶
func (x *GetMetadata_ResourceMetadata) ProtoReflect() protoreflect.Message
func (*GetMetadata_ResourceMetadata) Reset ¶
func (x *GetMetadata_ResourceMetadata) Reset()
func (*GetMetadata_ResourceMetadata) String ¶
func (x *GetMetadata_ResourceMetadata) String() string
type GetMetadata_Response ¶
type GetMetadata_Response struct { ServerCapabilities *ServerCapabilities `protobuf:"bytes,1,opt,name=server_capabilities,json=serverCapabilities,proto3" json:"server_capabilities,omitempty"` Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` DataSources []*GetMetadata_DataSourceMetadata `protobuf:"bytes,3,rep,name=data_sources,json=dataSources,proto3" json:"data_sources,omitempty"` Resources []*GetMetadata_ResourceMetadata `protobuf:"bytes,4,rep,name=resources,proto3" json:"resources,omitempty"` // functions returns metadata for any functions. Functions []*GetMetadata_FunctionMetadata `protobuf:"bytes,5,rep,name=functions,proto3" json:"functions,omitempty"` // contains filtered or unexported fields }
func (*GetMetadata_Response) Descriptor
deprecated
func (*GetMetadata_Response) Descriptor() ([]byte, []int)
Deprecated: Use GetMetadata_Response.ProtoReflect.Descriptor instead.
func (*GetMetadata_Response) GetDataSources ¶
func (x *GetMetadata_Response) GetDataSources() []*GetMetadata_DataSourceMetadata
func (*GetMetadata_Response) GetDiagnostics ¶
func (x *GetMetadata_Response) GetDiagnostics() []*Diagnostic
func (*GetMetadata_Response) GetFunctions ¶
func (x *GetMetadata_Response) GetFunctions() []*GetMetadata_FunctionMetadata
func (*GetMetadata_Response) GetResources ¶
func (x *GetMetadata_Response) GetResources() []*GetMetadata_ResourceMetadata
func (*GetMetadata_Response) GetServerCapabilities ¶
func (x *GetMetadata_Response) GetServerCapabilities() *ServerCapabilities
func (*GetMetadata_Response) ProtoMessage ¶
func (*GetMetadata_Response) ProtoMessage()
func (*GetMetadata_Response) ProtoReflect ¶
func (x *GetMetadata_Response) ProtoReflect() protoreflect.Message
func (*GetMetadata_Response) Reset ¶
func (x *GetMetadata_Response) Reset()
func (*GetMetadata_Response) String ¶
func (x *GetMetadata_Response) 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 ¶
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 ¶
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 *ServerCapabilities `protobuf:"bytes,6,opt,name=server_capabilities,json=serverCapabilities,proto3" json:"server_capabilities,omitempty"` // functions is a mapping of function names to definitions. Functions map[string]*Function `` /* 159-byte string literal not displayed */ // 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) GetFunctions ¶
func (x *GetProviderSchema_Response) GetFunctions() map[string]*Function
func (*GetProviderSchema_Response) GetProvider ¶
func (x *GetProviderSchema_Response) GetProvider() *Schema
func (*GetProviderSchema_Response) GetProviderMeta ¶
func (x *GetProviderSchema_Response) GetProviderMeta() *Schema
func (*GetProviderSchema_Response) GetResourceSchemas ¶
func (x *GetProviderSchema_Response) GetResourceSchemas() map[string]*Schema
func (*GetProviderSchema_Response) GetServerCapabilities ¶
func (x *GetProviderSchema_Response) GetServerCapabilities() *ServerCapabilities
func (*GetProviderSchema_Response) ProtoMessage ¶
func (*GetProviderSchema_Response) ProtoMessage()
func (*GetProviderSchema_Response) ProtoReflect ¶
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 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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 MoveResourceState ¶
type MoveResourceState struct {
// contains filtered or unexported fields
}
func (*MoveResourceState) Descriptor
deprecated
func (*MoveResourceState) Descriptor() ([]byte, []int)
Deprecated: Use MoveResourceState.ProtoReflect.Descriptor instead.
func (*MoveResourceState) ProtoMessage ¶
func (*MoveResourceState) ProtoMessage()
func (*MoveResourceState) ProtoReflect ¶
func (x *MoveResourceState) ProtoReflect() protoreflect.Message
func (*MoveResourceState) Reset ¶
func (x *MoveResourceState) Reset()
func (*MoveResourceState) String ¶
func (x *MoveResourceState) String() string
type MoveResourceState_Request ¶
type MoveResourceState_Request struct { // The address of the provider the resource is being moved from. SourceProviderAddress string `` /* 126-byte string literal not displayed */ // The resource type that the resource is being moved from. SourceTypeName string `protobuf:"bytes,2,opt,name=source_type_name,json=sourceTypeName,proto3" json:"source_type_name,omitempty"` // The schema version of the resource type that the resource is being // moved from. SourceSchemaVersion int64 `protobuf:"varint,3,opt,name=source_schema_version,json=sourceSchemaVersion,proto3" json:"source_schema_version,omitempty"` // The raw state of the resource being moved. Only the json field is // populated, as there should be no legacy providers using the flatmap // format that support newly introduced RPCs. SourceState *RawState `protobuf:"bytes,4,opt,name=source_state,json=sourceState,proto3" json:"source_state,omitempty"` // The resource type that the resource is being moved to. TargetTypeName string `protobuf:"bytes,5,opt,name=target_type_name,json=targetTypeName,proto3" json:"target_type_name,omitempty"` // The private state of the resource being moved. SourcePrivate []byte `protobuf:"bytes,6,opt,name=source_private,json=sourcePrivate,proto3" json:"source_private,omitempty"` // contains filtered or unexported fields }
func (*MoveResourceState_Request) Descriptor
deprecated
func (*MoveResourceState_Request) Descriptor() ([]byte, []int)
Deprecated: Use MoveResourceState_Request.ProtoReflect.Descriptor instead.
func (*MoveResourceState_Request) GetSourcePrivate ¶
func (x *MoveResourceState_Request) GetSourcePrivate() []byte
func (*MoveResourceState_Request) GetSourceProviderAddress ¶
func (x *MoveResourceState_Request) GetSourceProviderAddress() string
func (*MoveResourceState_Request) GetSourceSchemaVersion ¶
func (x *MoveResourceState_Request) GetSourceSchemaVersion() int64
func (*MoveResourceState_Request) GetSourceState ¶
func (x *MoveResourceState_Request) GetSourceState() *RawState
func (*MoveResourceState_Request) GetSourceTypeName ¶
func (x *MoveResourceState_Request) GetSourceTypeName() string
func (*MoveResourceState_Request) GetTargetTypeName ¶
func (x *MoveResourceState_Request) GetTargetTypeName() string
func (*MoveResourceState_Request) ProtoMessage ¶
func (*MoveResourceState_Request) ProtoMessage()
func (*MoveResourceState_Request) ProtoReflect ¶
func (x *MoveResourceState_Request) ProtoReflect() protoreflect.Message
func (*MoveResourceState_Request) Reset ¶
func (x *MoveResourceState_Request) Reset()
func (*MoveResourceState_Request) String ¶
func (x *MoveResourceState_Request) String() string
type MoveResourceState_Response ¶
type MoveResourceState_Response struct { // The state of the resource after it has been moved. TargetState *DynamicValue `protobuf:"bytes,1,opt,name=target_state,json=targetState,proto3" json:"target_state,omitempty"` // Any diagnostics that occurred during the move. Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` // The private state of the resource after it has been moved. TargetPrivate []byte `protobuf:"bytes,3,opt,name=target_private,json=targetPrivate,proto3" json:"target_private,omitempty"` // contains filtered or unexported fields }
func (*MoveResourceState_Response) Descriptor
deprecated
func (*MoveResourceState_Response) Descriptor() ([]byte, []int)
Deprecated: Use MoveResourceState_Response.ProtoReflect.Descriptor instead.
func (*MoveResourceState_Response) GetDiagnostics ¶
func (x *MoveResourceState_Response) GetDiagnostics() []*Diagnostic
func (*MoveResourceState_Response) GetTargetPrivate ¶
func (x *MoveResourceState_Response) GetTargetPrivate() []byte
func (*MoveResourceState_Response) GetTargetState ¶
func (x *MoveResourceState_Response) GetTargetState() *DynamicValue
func (*MoveResourceState_Response) ProtoMessage ¶
func (*MoveResourceState_Response) ProtoMessage()
func (*MoveResourceState_Response) ProtoReflect ¶
func (x *MoveResourceState_Response) ProtoReflect() protoreflect.Message
func (*MoveResourceState_Response) Reset ¶
func (x *MoveResourceState_Response) Reset()
func (*MoveResourceState_Response) String ¶
func (x *MoveResourceState_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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 { // GetMetadata returns upfront information about server capabilities and // supported resource types without requiring the server to instantiate all // schema information, which may be memory intensive. This RPC is optional, // where clients may receive an unimplemented RPC error. Clients should // ignore the error and call the GetSchema RPC as a fallback. GetMetadata(ctx context.Context, in *GetMetadata_Request, opts ...grpc.CallOption) (*GetMetadata_Response, error) // GetSchema returns schema information for the provider, data resources, // and managed resources. 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) MoveResourceState(ctx context.Context, in *MoveResourceState_Request, opts ...grpc.CallOption) (*MoveResourceState_Response, error) ReadDataSource(ctx context.Context, in *ReadDataSource_Request, opts ...grpc.CallOption) (*ReadDataSource_Response, error) // GetFunctions returns the definitions of all functions. GetFunctions(ctx context.Context, in *GetFunctions_Request, opts ...grpc.CallOption) (*GetFunctions_Response, error) // CallFunction runs the provider-defined function logic and returns // the result with any diagnostics. CallFunction(ctx context.Context, in *CallFunction_Request, opts ...grpc.CallOption) (*CallFunction_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 { // GetMetadata returns upfront information about server capabilities and // supported resource types without requiring the server to instantiate all // schema information, which may be memory intensive. This RPC is optional, // where clients may receive an unimplemented RPC error. Clients should // ignore the error and call the GetSchema RPC as a fallback. GetMetadata(context.Context, *GetMetadata_Request) (*GetMetadata_Response, error) // GetSchema returns schema information for the provider, data resources, // and managed resources. 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) MoveResourceState(context.Context, *MoveResourceState_Request) (*MoveResourceState_Response, error) ReadDataSource(context.Context, *ReadDataSource_Request) (*ReadDataSource_Response, error) // GetFunctions returns the definitions of all functions. GetFunctions(context.Context, *GetFunctions_Request) (*GetFunctions_Response, error) // CallFunction runs the provider-defined function logic and returns // the result with any diagnostics. CallFunction(context.Context, *CallFunction_Request) (*CallFunction_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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (x *ReadResource_Request) GetPrivate() []byte
func (*ReadResource_Request) GetProviderMeta ¶
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 ¶
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 ¶
func (x *ReadResource_Response) GetPrivate() []byte
func (*ReadResource_Response) ProtoMessage ¶
func (*ReadResource_Response) ProtoMessage()
func (*ReadResource_Response) ProtoReflect ¶
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 ¶
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 ¶
func (x *Schema_Attribute) GetDeprecated() bool
func (*Schema_Attribute) GetDescription ¶
func (x *Schema_Attribute) GetDescription() string
func (*Schema_Attribute) GetDescriptionKind ¶
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 ¶
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 ¶
func (x *Schema_Block) GetDeprecated() bool
func (*Schema_Block) GetDescription ¶
func (x *Schema_Block) GetDescription() string
func (*Schema_Block) GetDescriptionKind ¶
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 ¶
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 ¶
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 ¶
func (Schema_NestedBlock_NestingMode) Descriptor() protoreflect.EnumDescriptor
func (Schema_NestedBlock_NestingMode) Enum ¶
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 ¶
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 ¶
func (Schema_NestedBlock_NestingMode) Type() protoreflect.EnumType
type ServerCapabilities ¶
type 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 */ // The move_resource_state capability signals that a provider supports the // MoveResourceState RPC. MoveResourceState bool `protobuf:"varint,3,opt,name=move_resource_state,json=moveResourceState,proto3" json:"move_resource_state,omitempty"` // 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 (*ServerCapabilities) Descriptor
deprecated
func (*ServerCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use ServerCapabilities.ProtoReflect.Descriptor instead.
func (*ServerCapabilities) GetGetProviderSchemaOptional ¶
func (x *ServerCapabilities) GetGetProviderSchemaOptional() bool
func (*ServerCapabilities) GetMoveResourceState ¶
func (x *ServerCapabilities) GetMoveResourceState() bool
func (*ServerCapabilities) GetPlanDestroy ¶
func (x *ServerCapabilities) GetPlanDestroy() bool
func (*ServerCapabilities) ProtoMessage ¶
func (*ServerCapabilities) ProtoMessage()
func (*ServerCapabilities) ProtoReflect ¶
func (x *ServerCapabilities) ProtoReflect() protoreflect.Message
func (*ServerCapabilities) Reset ¶
func (x *ServerCapabilities) Reset()
func (*ServerCapabilities) String ¶
func (x *ServerCapabilities) String() string
type Stop ¶
type Stop struct {
// contains filtered or unexported fields
}
func (*Stop) Descriptor
deprecated
func (*Stop) ProtoMessage ¶
func (*Stop) ProtoMessage()
func (*Stop) ProtoReflect ¶
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 ¶
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 ¶
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 ¶
type StringKind int32
const ( StringKind_PLAIN StringKind = 0 StringKind_MARKDOWN StringKind = 1 )
func (StringKind) Descriptor ¶
func (StringKind) Descriptor() protoreflect.EnumDescriptor
func (StringKind) Enum ¶
func (x StringKind) Enum() *StringKind
func (StringKind) EnumDescriptor
deprecated
func (StringKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use StringKind.Descriptor instead.
func (StringKind) Number ¶
func (x StringKind) Number() protoreflect.EnumNumber
func (StringKind) String ¶
func (x StringKind) String() string
func (StringKind) Type ¶
func (StringKind) Type() protoreflect.EnumType
type UnimplementedProviderServer ¶
type UnimplementedProviderServer struct { }
UnimplementedProviderServer can be embedded to have forward compatible implementations.
func (*UnimplementedProviderServer) ApplyResourceChange ¶
func (*UnimplementedProviderServer) ApplyResourceChange(context.Context, *ApplyResourceChange_Request) (*ApplyResourceChange_Response, error)
func (*UnimplementedProviderServer) CallFunction ¶
func (*UnimplementedProviderServer) CallFunction(context.Context, *CallFunction_Request) (*CallFunction_Response, error)
func (*UnimplementedProviderServer) Configure ¶
func (*UnimplementedProviderServer) Configure(context.Context, *Configure_Request) (*Configure_Response, error)
func (*UnimplementedProviderServer) GetFunctions ¶
func (*UnimplementedProviderServer) GetFunctions(context.Context, *GetFunctions_Request) (*GetFunctions_Response, error)
func (*UnimplementedProviderServer) GetMetadata ¶
func (*UnimplementedProviderServer) GetMetadata(context.Context, *GetMetadata_Request) (*GetMetadata_Response, error)
func (*UnimplementedProviderServer) GetSchema ¶
func (*UnimplementedProviderServer) GetSchema(context.Context, *GetProviderSchema_Request) (*GetProviderSchema_Response, error)
func (*UnimplementedProviderServer) ImportResourceState ¶
func (*UnimplementedProviderServer) ImportResourceState(context.Context, *ImportResourceState_Request) (*ImportResourceState_Response, error)
func (*UnimplementedProviderServer) MoveResourceState ¶
func (*UnimplementedProviderServer) MoveResourceState(context.Context, *MoveResourceState_Request) (*MoveResourceState_Response, error)
func (*UnimplementedProviderServer) PlanResourceChange ¶
func (*UnimplementedProviderServer) PlanResourceChange(context.Context, *PlanResourceChange_Request) (*PlanResourceChange_Response, error)
func (*UnimplementedProviderServer) PrepareProviderConfig ¶
func (*UnimplementedProviderServer) PrepareProviderConfig(context.Context, *PrepareProviderConfig_Request) (*PrepareProviderConfig_Response, error)
func (*UnimplementedProviderServer) ReadDataSource ¶
func (*UnimplementedProviderServer) ReadDataSource(context.Context, *ReadDataSource_Request) (*ReadDataSource_Response, error)
func (*UnimplementedProviderServer) ReadResource ¶
func (*UnimplementedProviderServer) ReadResource(context.Context, *ReadResource_Request) (*ReadResource_Response, error)
func (*UnimplementedProviderServer) Stop ¶
func (*UnimplementedProviderServer) Stop(context.Context, *Stop_Request) (*Stop_Response, error)
func (*UnimplementedProviderServer) UpgradeResourceState ¶
func (*UnimplementedProviderServer) UpgradeResourceState(context.Context, *UpgradeResourceState_Request) (*UpgradeResourceState_Response, error)
func (*UnimplementedProviderServer) ValidateDataSourceConfig ¶
func (*UnimplementedProviderServer) ValidateDataSourceConfig(context.Context, *ValidateDataSourceConfig_Request) (*ValidateDataSourceConfig_Response, error)
func (*UnimplementedProviderServer) ValidateResourceTypeConfig ¶
func (*UnimplementedProviderServer) ValidateResourceTypeConfig(context.Context, *ValidateResourceTypeConfig_Request) (*ValidateResourceTypeConfig_Response, error)
type UnimplementedProvisionerServer ¶
type UnimplementedProvisionerServer struct { }
UnimplementedProvisionerServer can be embedded to have forward compatible implementations.
func (*UnimplementedProvisionerServer) GetSchema ¶
func (*UnimplementedProvisionerServer) GetSchema(context.Context, *GetProvisionerSchema_Request) (*GetProvisionerSchema_Response, error)
func (*UnimplementedProvisionerServer) ProvisionResource ¶
func (*UnimplementedProvisionerServer) ProvisionResource(*ProvisionResource_Request, Provisioner_ProvisionResourceServer) error
func (*UnimplementedProvisionerServer) Stop ¶
func (*UnimplementedProvisionerServer) Stop(context.Context, *Stop_Request) (*Stop_Response, error)
func (*UnimplementedProvisionerServer) ValidateProvisionerConfig ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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