tfplugin6

package
v1.6.0-alpha1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2023 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	StringKind_name = map[int32]string{
		0: "PLAIN",
		1: "MARKDOWN",
	}
	StringKind_value = map[string]int32{
		"PLAIN":    0,
		"MARKDOWN": 1,
	}
)

Enum value maps for StringKind.

View Source
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.

View Source
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.

View Source
var (
	Schema_Object_NestingMode_name = map[int32]string{
		0: "INVALID",
		1: "SINGLE",
		2: "LIST",
		3: "SET",
		4: "MAP",
	}
	Schema_Object_NestingMode_value = map[string]int32{
		"INVALID": 0,
		"SINGLE":  1,
		"LIST":    2,
		"SET":     3,
		"MAP":     4,
	}
)

Enum value maps for Schema_Object_NestingMode.

View Source
var File_tfplugin6_proto protoreflect.FileDescriptor

Functions

func RegisterProviderServer

func RegisterProviderServer(s *grpc.Server, srv ProviderServer)

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 (*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 (*ApplyResourceChange_Response) Reset

func (x *ApplyResourceChange_Response) Reset()

func (*ApplyResourceChange_Response) 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 ConfigureProvider

type ConfigureProvider struct {
	// contains filtered or unexported fields
}

func (*ConfigureProvider) Descriptor deprecated

func (*ConfigureProvider) Descriptor() ([]byte, []int)

Deprecated: Use ConfigureProvider.ProtoReflect.Descriptor instead.

func (*ConfigureProvider) ProtoMessage

func (*ConfigureProvider) ProtoMessage()

func (*ConfigureProvider) ProtoReflect

func (x *ConfigureProvider) ProtoReflect() protoreflect.Message

func (*ConfigureProvider) Reset

func (x *ConfigureProvider) Reset()

func (*ConfigureProvider) String

func (x *ConfigureProvider) String() string

type ConfigureProvider_Request

type ConfigureProvider_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 (*ConfigureProvider_Request) Descriptor deprecated

func (*ConfigureProvider_Request) Descriptor() ([]byte, []int)

Deprecated: Use ConfigureProvider_Request.ProtoReflect.Descriptor instead.

func (*ConfigureProvider_Request) GetConfig

func (x *ConfigureProvider_Request) GetConfig() *DynamicValue

func (*ConfigureProvider_Request) GetTerraformVersion

func (x *ConfigureProvider_Request) GetTerraformVersion() string

func (*ConfigureProvider_Request) ProtoMessage

func (*ConfigureProvider_Request) ProtoMessage()

func (*ConfigureProvider_Request) ProtoReflect

func (*ConfigureProvider_Request) Reset

func (x *ConfigureProvider_Request) Reset()

func (*ConfigureProvider_Request) String

func (x *ConfigureProvider_Request) String() string

type ConfigureProvider_Response

type ConfigureProvider_Response struct {
	Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigureProvider_Response) Descriptor deprecated

func (*ConfigureProvider_Response) Descriptor() ([]byte, []int)

Deprecated: Use ConfigureProvider_Response.ProtoReflect.Descriptor instead.

func (*ConfigureProvider_Response) GetDiagnostics

func (x *ConfigureProvider_Response) GetDiagnostics() []*Diagnostic

func (*ConfigureProvider_Response) ProtoMessage

func (*ConfigureProvider_Response) ProtoMessage()

func (*ConfigureProvider_Response) ProtoReflect

func (*ConfigureProvider_Response) Reset

func (x *ConfigureProvider_Response) Reset()

func (*ConfigureProvider_Response) String

func (x *ConfigureProvider_Response) String() string

type Diagnostic

type Diagnostic struct {
	Severity  Diagnostic_Severity `protobuf:"varint,1,opt,name=severity,proto3,enum=tfplugin6.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) Enum

func (Diagnostic_Severity) EnumDescriptor deprecated

func (Diagnostic_Severity) EnumDescriptor() ([]byte, []int)

Deprecated: Use Diagnostic_Severity.Descriptor instead.

func (Diagnostic_Severity) Number

func (Diagnostic_Severity) String

func (x Diagnostic_Severity) String() string

func (Diagnostic_Severity) Type

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 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 (*GetProviderSchema_Request) Reset

func (x *GetProviderSchema_Request) Reset()

func (*GetProviderSchema_Request) String

func (x *GetProviderSchema_Request) String() string

type GetProviderSchema_Response

type GetProviderSchema_Response struct {
	Provider           *Schema                               `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	ResourceSchemas    map[string]*Schema                    `` /* 194-byte string literal not displayed */
	DataSourceSchemas  map[string]*Schema                    `` /* 202-byte string literal not displayed */
	Diagnostics        []*Diagnostic                         `protobuf:"bytes,4,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
	ProviderMeta       *Schema                               `protobuf:"bytes,5,opt,name=provider_meta,json=providerMeta,proto3" json:"provider_meta,omitempty"`
	ServerCapabilities *GetProviderSchema_ServerCapabilities `protobuf:"bytes,6,opt,name=server_capabilities,json=serverCapabilities,proto3" json:"server_capabilities,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProviderSchema_Response) Descriptor deprecated

func (*GetProviderSchema_Response) Descriptor() ([]byte, []int)

Deprecated: Use GetProviderSchema_Response.ProtoReflect.Descriptor instead.

func (*GetProviderSchema_Response) GetDataSourceSchemas

func (x *GetProviderSchema_Response) GetDataSourceSchemas() map[string]*Schema

func (*GetProviderSchema_Response) GetDiagnostics

func (x *GetProviderSchema_Response) GetDiagnostics() []*Diagnostic

func (*GetProviderSchema_Response) GetProvider

func (x *GetProviderSchema_Response) GetProvider() *Schema

func (*GetProviderSchema_Response) GetProviderMeta

func (x *GetProviderSchema_Response) GetProviderMeta() *Schema

func (*GetProviderSchema_Response) GetResourceSchemas

func (x *GetProviderSchema_Response) GetResourceSchemas() map[string]*Schema

func (*GetProviderSchema_Response) GetServerCapabilities

func (*GetProviderSchema_Response) ProtoMessage

func (*GetProviderSchema_Response) ProtoMessage()

func (*GetProviderSchema_Response) ProtoReflect

func (*GetProviderSchema_Response) Reset

func (x *GetProviderSchema_Response) Reset()

func (*GetProviderSchema_Response) String

func (x *GetProviderSchema_Response) String() string

type GetProviderSchema_ServerCapabilities

type GetProviderSchema_ServerCapabilities struct {

	// The plan_destroy capability signals that a provider expects a call
	// to PlanResourceChange when a resource is going to be destroyed.
	PlanDestroy bool `protobuf:"varint,1,opt,name=plan_destroy,json=planDestroy,proto3" json:"plan_destroy,omitempty"`
	// The get_provider_schema_optional capability indicates that this
	// provider does not require calling GetProviderSchema to operate
	// normally, and the caller can used a cached copy of the provider's
	// schema.
	GetProviderSchemaOptional bool `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

ServerCapabilities allows providers to communicate extra information regarding supported protocol features. This is used to indicate availability of certain forward-compatible changes which may be optional in a major protocol version, but cannot be tested for directly.

func (*GetProviderSchema_ServerCapabilities) Descriptor deprecated

func (*GetProviderSchema_ServerCapabilities) Descriptor() ([]byte, []int)

Deprecated: Use GetProviderSchema_ServerCapabilities.ProtoReflect.Descriptor instead.

func (*GetProviderSchema_ServerCapabilities) GetGetProviderSchemaOptional

func (x *GetProviderSchema_ServerCapabilities) GetGetProviderSchemaOptional() bool

func (*GetProviderSchema_ServerCapabilities) GetPlanDestroy

func (x *GetProviderSchema_ServerCapabilities) GetPlanDestroy() bool

func (*GetProviderSchema_ServerCapabilities) ProtoMessage

func (*GetProviderSchema_ServerCapabilities) ProtoMessage()

func (*GetProviderSchema_ServerCapabilities) ProtoReflect

func (*GetProviderSchema_ServerCapabilities) Reset

func (*GetProviderSchema_ServerCapabilities) 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 (*ImportResourceState_ImportedResource) GetTypeName

func (*ImportResourceState_ImportedResource) ProtoMessage

func (*ImportResourceState_ImportedResource) ProtoMessage()

func (*ImportResourceState_ImportedResource) ProtoReflect

func (*ImportResourceState_ImportedResource) Reset

func (*ImportResourceState_ImportedResource) 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 (*ImportResourceState_Request) GetTypeName

func (x *ImportResourceState_Request) GetTypeName() string

func (*ImportResourceState_Request) ProtoMessage

func (*ImportResourceState_Request) ProtoMessage()

func (*ImportResourceState_Request) ProtoReflect

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 (*ImportResourceState_Response) ProtoMessage

func (*ImportResourceState_Response) ProtoMessage()

func (*ImportResourceState_Response) ProtoReflect

func (*ImportResourceState_Response) Reset

func (x *ImportResourceState_Response) Reset()

func (*ImportResourceState_Response) 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 (*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 (*PlanResourceChange_Response) Reset

func (x *PlanResourceChange_Response) Reset()

func (*PlanResourceChange_Response) String

func (x *PlanResourceChange_Response) String() string

type ProviderClient

type ProviderClient interface {
	// ////// Information about what a provider supports/expects
	GetProviderSchema(ctx context.Context, in *GetProviderSchema_Request, opts ...grpc.CallOption) (*GetProviderSchema_Response, error)
	ValidateProviderConfig(ctx context.Context, in *ValidateProviderConfig_Request, opts ...grpc.CallOption) (*ValidateProviderConfig_Response, error)
	ValidateResourceConfig(ctx context.Context, in *ValidateResourceConfig_Request, opts ...grpc.CallOption) (*ValidateResourceConfig_Response, error)
	ValidateDataResourceConfig(ctx context.Context, in *ValidateDataResourceConfig_Request, opts ...grpc.CallOption) (*ValidateDataResourceConfig_Response, error)
	UpgradeResourceState(ctx context.Context, in *UpgradeResourceState_Request, opts ...grpc.CallOption) (*UpgradeResourceState_Response, error)
	// ////// One-time initialization, called before other functions below
	ConfigureProvider(ctx context.Context, in *ConfigureProvider_Request, opts ...grpc.CallOption) (*ConfigureProvider_Response, error)
	// ////// Managed Resource Lifecycle
	ReadResource(ctx context.Context, in *ReadResource_Request, opts ...grpc.CallOption) (*ReadResource_Response, error)
	PlanResourceChange(ctx context.Context, in *PlanResourceChange_Request, opts ...grpc.CallOption) (*PlanResourceChange_Response, error)
	ApplyResourceChange(ctx context.Context, in *ApplyResourceChange_Request, opts ...grpc.CallOption) (*ApplyResourceChange_Response, error)
	ImportResourceState(ctx context.Context, in *ImportResourceState_Request, opts ...grpc.CallOption) (*ImportResourceState_Response, error)
	ReadDataSource(ctx context.Context, in *ReadDataSource_Request, opts ...grpc.CallOption) (*ReadDataSource_Response, error)
	// ////// Graceful Shutdown
	StopProvider(ctx context.Context, in *StopProvider_Request, opts ...grpc.CallOption) (*StopProvider_Response, error)
}

ProviderClient is the client API for Provider service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewProviderClient

func NewProviderClient(cc grpc.ClientConnInterface) ProviderClient

type ProviderServer

type ProviderServer interface {
	// ////// Information about what a provider supports/expects
	GetProviderSchema(context.Context, *GetProviderSchema_Request) (*GetProviderSchema_Response, error)
	ValidateProviderConfig(context.Context, *ValidateProviderConfig_Request) (*ValidateProviderConfig_Response, error)
	ValidateResourceConfig(context.Context, *ValidateResourceConfig_Request) (*ValidateResourceConfig_Response, error)
	ValidateDataResourceConfig(context.Context, *ValidateDataResourceConfig_Request) (*ValidateDataResourceConfig_Response, error)
	UpgradeResourceState(context.Context, *UpgradeResourceState_Request) (*UpgradeResourceState_Response, error)
	// ////// One-time initialization, called before other functions below
	ConfigureProvider(context.Context, *ConfigureProvider_Request) (*ConfigureProvider_Response, error)
	// ////// Managed Resource Lifecycle
	ReadResource(context.Context, *ReadResource_Request) (*ReadResource_Response, error)
	PlanResourceChange(context.Context, *PlanResourceChange_Request) (*PlanResourceChange_Response, error)
	ApplyResourceChange(context.Context, *ApplyResourceChange_Request) (*ApplyResourceChange_Response, error)
	ImportResourceState(context.Context, *ImportResourceState_Request) (*ImportResourceState_Response, error)
	ReadDataSource(context.Context, *ReadDataSource_Request) (*ReadDataSource_Response, error)
	// ////// Graceful Shutdown
	StopProvider(context.Context, *StopProvider_Request) (*StopProvider_Response, error)
}

ProviderServer is the server API for Provider service.

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) Descriptor() ([]byte, []int)

Deprecated: Use RawState.ProtoReflect.Descriptor instead.

func (*RawState) GetFlatmap

func (x *RawState) GetFlatmap() map[string]string

func (*RawState) GetJson

func (x *RawState) GetJson() []byte

func (*RawState) ProtoMessage

func (*RawState) ProtoMessage()

func (*RawState) ProtoReflect

func (x *RawState) ProtoReflect() protoreflect.Message

func (*RawState) Reset

func (x *RawState) Reset()

func (*RawState) String

func (x *RawState) String() string

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 or Provider.

func (*Schema) Descriptor deprecated

func (*Schema) Descriptor() ([]byte, []int)

Deprecated: Use Schema.ProtoReflect.Descriptor instead.

func (*Schema) GetBlock

func (x *Schema) GetBlock() *Schema_Block

func (*Schema) GetVersion

func (x *Schema) GetVersion() int64

func (*Schema) ProtoMessage

func (*Schema) ProtoMessage()

func (*Schema) ProtoReflect

func (x *Schema) ProtoReflect() protoreflect.Message

func (*Schema) Reset

func (x *Schema) Reset()

func (*Schema) String

func (x *Schema) String() string

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"`
	NestedType      *Schema_Object `protobuf:"bytes,10,opt,name=nested_type,json=nestedType,proto3" json:"nested_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) GetNestedType

func (x *Schema_Attribute) GetNestedType() *Schema_Object

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=tfplugin6.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 (*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) Enum

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 (Schema_NestedBlock_NestingMode) String

func (Schema_NestedBlock_NestingMode) Type

type Schema_Object

type Schema_Object struct {
	Attributes []*Schema_Attribute       `protobuf:"bytes,1,rep,name=attributes,proto3" json:"attributes,omitempty"`
	Nesting    Schema_Object_NestingMode `protobuf:"varint,3,opt,name=nesting,proto3,enum=tfplugin6.Schema_Object_NestingMode" json:"nesting,omitempty"`
	// MinItems and MaxItems were never used in the protocol, and have no
	// effect on validation.
	//
	// Deprecated: Marked as deprecated in tfplugin6.proto.
	MinItems int64 `protobuf:"varint,4,opt,name=min_items,json=minItems,proto3" json:"min_items,omitempty"`
	// Deprecated: Marked as deprecated in tfplugin6.proto.
	MaxItems int64 `protobuf:"varint,5,opt,name=max_items,json=maxItems,proto3" json:"max_items,omitempty"`
	// contains filtered or unexported fields
}

func (*Schema_Object) Descriptor deprecated

func (*Schema_Object) Descriptor() ([]byte, []int)

Deprecated: Use Schema_Object.ProtoReflect.Descriptor instead.

func (*Schema_Object) GetAttributes

func (x *Schema_Object) GetAttributes() []*Schema_Attribute

func (*Schema_Object) GetMaxItems deprecated

func (x *Schema_Object) GetMaxItems() int64

Deprecated: Marked as deprecated in tfplugin6.proto.

func (*Schema_Object) GetMinItems deprecated

func (x *Schema_Object) GetMinItems() int64

Deprecated: Marked as deprecated in tfplugin6.proto.

func (*Schema_Object) GetNesting

func (x *Schema_Object) GetNesting() Schema_Object_NestingMode

func (*Schema_Object) ProtoMessage

func (*Schema_Object) ProtoMessage()

func (*Schema_Object) ProtoReflect

func (x *Schema_Object) ProtoReflect() protoreflect.Message

func (*Schema_Object) Reset

func (x *Schema_Object) Reset()

func (*Schema_Object) String

func (x *Schema_Object) String() string

type Schema_Object_NestingMode

type Schema_Object_NestingMode int32
const (
	Schema_Object_INVALID Schema_Object_NestingMode = 0
	Schema_Object_SINGLE  Schema_Object_NestingMode = 1
	Schema_Object_LIST    Schema_Object_NestingMode = 2
	Schema_Object_SET     Schema_Object_NestingMode = 3
	Schema_Object_MAP     Schema_Object_NestingMode = 4
)

func (Schema_Object_NestingMode) Descriptor

func (Schema_Object_NestingMode) Enum

func (Schema_Object_NestingMode) EnumDescriptor deprecated

func (Schema_Object_NestingMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use Schema_Object_NestingMode.Descriptor instead.

func (Schema_Object_NestingMode) Number

func (Schema_Object_NestingMode) String

func (x Schema_Object_NestingMode) String() string

func (Schema_Object_NestingMode) Type

type StopProvider

type StopProvider struct {
	// contains filtered or unexported fields
}

func (*StopProvider) Descriptor deprecated

func (*StopProvider) Descriptor() ([]byte, []int)

Deprecated: Use StopProvider.ProtoReflect.Descriptor instead.

func (*StopProvider) ProtoMessage

func (*StopProvider) ProtoMessage()

func (*StopProvider) ProtoReflect

func (x *StopProvider) ProtoReflect() protoreflect.Message

func (*StopProvider) Reset

func (x *StopProvider) Reset()

func (*StopProvider) String

func (x *StopProvider) String() string

type StopProvider_Request

type StopProvider_Request struct {
	// contains filtered or unexported fields
}

func (*StopProvider_Request) Descriptor deprecated

func (*StopProvider_Request) Descriptor() ([]byte, []int)

Deprecated: Use StopProvider_Request.ProtoReflect.Descriptor instead.

func (*StopProvider_Request) ProtoMessage

func (*StopProvider_Request) ProtoMessage()

func (*StopProvider_Request) ProtoReflect

func (x *StopProvider_Request) ProtoReflect() protoreflect.Message

func (*StopProvider_Request) Reset

func (x *StopProvider_Request) Reset()

func (*StopProvider_Request) String

func (x *StopProvider_Request) String() string

type StopProvider_Response

type StopProvider_Response struct {
	Error string `protobuf:"bytes,1,opt,name=Error,proto3" json:"Error,omitempty"`
	// contains filtered or unexported fields
}

func (*StopProvider_Response) Descriptor deprecated

func (*StopProvider_Response) Descriptor() ([]byte, []int)

Deprecated: Use StopProvider_Response.ProtoReflect.Descriptor instead.

func (*StopProvider_Response) GetError

func (x *StopProvider_Response) GetError() string

func (*StopProvider_Response) ProtoMessage

func (*StopProvider_Response) ProtoMessage()

func (*StopProvider_Response) ProtoReflect

func (x *StopProvider_Response) ProtoReflect() protoreflect.Message

func (*StopProvider_Response) Reset

func (x *StopProvider_Response) Reset()

func (*StopProvider_Response) String

func (x *StopProvider_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

type UnimplementedProviderServer

type UnimplementedProviderServer struct {
}

UnimplementedProviderServer can be embedded to have forward compatible implementations.

func (*UnimplementedProviderServer) ConfigureProvider

func (*UnimplementedProviderServer) GetProviderSchema

func (*UnimplementedProviderServer) ReadDataSource

func (*UnimplementedProviderServer) ReadResource

func (*UnimplementedProviderServer) StopProvider

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 (*UpgradeResourceState_Request) Reset

func (x *UpgradeResourceState_Request) Reset()

func (*UpgradeResourceState_Request) 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 (*UpgradeResourceState_Response) Reset

func (x *UpgradeResourceState_Response) Reset()

func (*UpgradeResourceState_Response) String

type ValidateDataResourceConfig

type ValidateDataResourceConfig struct {
	// contains filtered or unexported fields
}

func (*ValidateDataResourceConfig) Descriptor deprecated

func (*ValidateDataResourceConfig) Descriptor() ([]byte, []int)

Deprecated: Use ValidateDataResourceConfig.ProtoReflect.Descriptor instead.

func (*ValidateDataResourceConfig) ProtoMessage

func (*ValidateDataResourceConfig) ProtoMessage()

func (*ValidateDataResourceConfig) ProtoReflect

func (*ValidateDataResourceConfig) Reset

func (x *ValidateDataResourceConfig) Reset()

func (*ValidateDataResourceConfig) String

func (x *ValidateDataResourceConfig) String() string

type ValidateDataResourceConfig_Request

type ValidateDataResourceConfig_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 (*ValidateDataResourceConfig_Request) Descriptor deprecated

func (*ValidateDataResourceConfig_Request) Descriptor() ([]byte, []int)

Deprecated: Use ValidateDataResourceConfig_Request.ProtoReflect.Descriptor instead.

func (*ValidateDataResourceConfig_Request) GetConfig

func (*ValidateDataResourceConfig_Request) GetTypeName

func (x *ValidateDataResourceConfig_Request) GetTypeName() string

func (*ValidateDataResourceConfig_Request) ProtoMessage

func (*ValidateDataResourceConfig_Request) ProtoMessage()

func (*ValidateDataResourceConfig_Request) ProtoReflect

func (*ValidateDataResourceConfig_Request) Reset

func (*ValidateDataResourceConfig_Request) String

type ValidateDataResourceConfig_Response

type ValidateDataResourceConfig_Response struct {
	Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateDataResourceConfig_Response) Descriptor deprecated

func (*ValidateDataResourceConfig_Response) Descriptor() ([]byte, []int)

Deprecated: Use ValidateDataResourceConfig_Response.ProtoReflect.Descriptor instead.

func (*ValidateDataResourceConfig_Response) GetDiagnostics

func (x *ValidateDataResourceConfig_Response) GetDiagnostics() []*Diagnostic

func (*ValidateDataResourceConfig_Response) ProtoMessage

func (*ValidateDataResourceConfig_Response) ProtoMessage()

func (*ValidateDataResourceConfig_Response) ProtoReflect

func (*ValidateDataResourceConfig_Response) Reset

func (*ValidateDataResourceConfig_Response) String

type ValidateProviderConfig

type ValidateProviderConfig struct {
	// contains filtered or unexported fields
}

func (*ValidateProviderConfig) Descriptor deprecated

func (*ValidateProviderConfig) Descriptor() ([]byte, []int)

Deprecated: Use ValidateProviderConfig.ProtoReflect.Descriptor instead.

func (*ValidateProviderConfig) ProtoMessage

func (*ValidateProviderConfig) ProtoMessage()

func (*ValidateProviderConfig) ProtoReflect

func (x *ValidateProviderConfig) ProtoReflect() protoreflect.Message

func (*ValidateProviderConfig) Reset

func (x *ValidateProviderConfig) Reset()

func (*ValidateProviderConfig) String

func (x *ValidateProviderConfig) String() string

type ValidateProviderConfig_Request

type ValidateProviderConfig_Request struct {
	Config *DynamicValue `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateProviderConfig_Request) Descriptor deprecated

func (*ValidateProviderConfig_Request) Descriptor() ([]byte, []int)

Deprecated: Use ValidateProviderConfig_Request.ProtoReflect.Descriptor instead.

func (*ValidateProviderConfig_Request) GetConfig

func (*ValidateProviderConfig_Request) ProtoMessage

func (*ValidateProviderConfig_Request) ProtoMessage()

func (*ValidateProviderConfig_Request) ProtoReflect

func (*ValidateProviderConfig_Request) Reset

func (x *ValidateProviderConfig_Request) Reset()

func (*ValidateProviderConfig_Request) String

type ValidateProviderConfig_Response

type ValidateProviderConfig_Response struct {
	Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateProviderConfig_Response) Descriptor deprecated

func (*ValidateProviderConfig_Response) Descriptor() ([]byte, []int)

Deprecated: Use ValidateProviderConfig_Response.ProtoReflect.Descriptor instead.

func (*ValidateProviderConfig_Response) GetDiagnostics

func (x *ValidateProviderConfig_Response) GetDiagnostics() []*Diagnostic

func (*ValidateProviderConfig_Response) ProtoMessage

func (*ValidateProviderConfig_Response) ProtoMessage()

func (*ValidateProviderConfig_Response) ProtoReflect

func (*ValidateProviderConfig_Response) Reset

func (*ValidateProviderConfig_Response) String

type ValidateResourceConfig

type ValidateResourceConfig struct {
	// contains filtered or unexported fields
}

func (*ValidateResourceConfig) Descriptor deprecated

func (*ValidateResourceConfig) Descriptor() ([]byte, []int)

Deprecated: Use ValidateResourceConfig.ProtoReflect.Descriptor instead.

func (*ValidateResourceConfig) ProtoMessage

func (*ValidateResourceConfig) ProtoMessage()

func (*ValidateResourceConfig) ProtoReflect

func (x *ValidateResourceConfig) ProtoReflect() protoreflect.Message

func (*ValidateResourceConfig) Reset

func (x *ValidateResourceConfig) Reset()

func (*ValidateResourceConfig) String

func (x *ValidateResourceConfig) String() string

type ValidateResourceConfig_Request

type ValidateResourceConfig_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 (*ValidateResourceConfig_Request) Descriptor deprecated

func (*ValidateResourceConfig_Request) Descriptor() ([]byte, []int)

Deprecated: Use ValidateResourceConfig_Request.ProtoReflect.Descriptor instead.

func (*ValidateResourceConfig_Request) GetConfig

func (*ValidateResourceConfig_Request) GetTypeName

func (x *ValidateResourceConfig_Request) GetTypeName() string

func (*ValidateResourceConfig_Request) ProtoMessage

func (*ValidateResourceConfig_Request) ProtoMessage()

func (*ValidateResourceConfig_Request) ProtoReflect

func (*ValidateResourceConfig_Request) Reset

func (x *ValidateResourceConfig_Request) Reset()

func (*ValidateResourceConfig_Request) String

type ValidateResourceConfig_Response

type ValidateResourceConfig_Response struct {
	Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateResourceConfig_Response) Descriptor deprecated

func (*ValidateResourceConfig_Response) Descriptor() ([]byte, []int)

Deprecated: Use ValidateResourceConfig_Response.ProtoReflect.Descriptor instead.

func (*ValidateResourceConfig_Response) GetDiagnostics

func (x *ValidateResourceConfig_Response) GetDiagnostics() []*Diagnostic

func (*ValidateResourceConfig_Response) ProtoMessage

func (*ValidateResourceConfig_Response) ProtoMessage()

func (*ValidateResourceConfig_Response) ProtoReflect

func (*ValidateResourceConfig_Response) Reset

func (*ValidateResourceConfig_Response) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL