tfplugin5

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Provider_GetMetadata_FullMethodName                = "/tfplugin5.Provider/GetMetadata"
	Provider_GetSchema_FullMethodName                  = "/tfplugin5.Provider/GetSchema"
	Provider_PrepareProviderConfig_FullMethodName      = "/tfplugin5.Provider/PrepareProviderConfig"
	Provider_ValidateResourceTypeConfig_FullMethodName = "/tfplugin5.Provider/ValidateResourceTypeConfig"
	Provider_ValidateDataSourceConfig_FullMethodName   = "/tfplugin5.Provider/ValidateDataSourceConfig"
	Provider_UpgradeResourceState_FullMethodName       = "/tfplugin5.Provider/UpgradeResourceState"
	Provider_Configure_FullMethodName                  = "/tfplugin5.Provider/Configure"
	Provider_ReadResource_FullMethodName               = "/tfplugin5.Provider/ReadResource"
	Provider_PlanResourceChange_FullMethodName         = "/tfplugin5.Provider/PlanResourceChange"
	Provider_ApplyResourceChange_FullMethodName        = "/tfplugin5.Provider/ApplyResourceChange"
	Provider_ImportResourceState_FullMethodName        = "/tfplugin5.Provider/ImportResourceState"
	Provider_MoveResourceState_FullMethodName          = "/tfplugin5.Provider/MoveResourceState"
	Provider_ReadDataSource_FullMethodName             = "/tfplugin5.Provider/ReadDataSource"
	Provider_GetFunctions_FullMethodName               = "/tfplugin5.Provider/GetFunctions"
	Provider_CallFunction_FullMethodName               = "/tfplugin5.Provider/CallFunction"
	Provider_Stop_FullMethodName                       = "/tfplugin5.Provider/Stop"
)
View Source
const (
	Provisioner_GetSchema_FullMethodName                 = "/tfplugin5.Provisioner/GetSchema"
	Provisioner_ValidateProvisionerConfig_FullMethodName = "/tfplugin5.Provisioner/ValidateProvisionerConfig"
	Provisioner_ProvisionResource_FullMethodName         = "/tfplugin5.Provisioner/ProvisionResource"
	Provisioner_Stop_FullMethodName                      = "/tfplugin5.Provisioner/Stop"
)

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 File_tfplugin5_proto protoreflect.FileDescriptor
View Source
var Provider_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "tfplugin5.Provider",
	HandlerType: (*ProviderServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetMetadata",
			Handler:    _Provider_GetMetadata_Handler,
		},
		{
			MethodName: "GetSchema",
			Handler:    _Provider_GetSchema_Handler,
		},
		{
			MethodName: "PrepareProviderConfig",
			Handler:    _Provider_PrepareProviderConfig_Handler,
		},
		{
			MethodName: "ValidateResourceTypeConfig",
			Handler:    _Provider_ValidateResourceTypeConfig_Handler,
		},
		{
			MethodName: "ValidateDataSourceConfig",
			Handler:    _Provider_ValidateDataSourceConfig_Handler,
		},
		{
			MethodName: "UpgradeResourceState",
			Handler:    _Provider_UpgradeResourceState_Handler,
		},
		{
			MethodName: "Configure",
			Handler:    _Provider_Configure_Handler,
		},
		{
			MethodName: "ReadResource",
			Handler:    _Provider_ReadResource_Handler,
		},
		{
			MethodName: "PlanResourceChange",
			Handler:    _Provider_PlanResourceChange_Handler,
		},
		{
			MethodName: "ApplyResourceChange",
			Handler:    _Provider_ApplyResourceChange_Handler,
		},
		{
			MethodName: "ImportResourceState",
			Handler:    _Provider_ImportResourceState_Handler,
		},
		{
			MethodName: "MoveResourceState",
			Handler:    _Provider_MoveResourceState_Handler,
		},
		{
			MethodName: "ReadDataSource",
			Handler:    _Provider_ReadDataSource_Handler,
		},
		{
			MethodName: "GetFunctions",
			Handler:    _Provider_GetFunctions_Handler,
		},
		{
			MethodName: "CallFunction",
			Handler:    _Provider_CallFunction_Handler,
		},
		{
			MethodName: "Stop",
			Handler:    _Provider_Stop_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "tfplugin5.proto",
}

Provider_ServiceDesc is the grpc.ServiceDesc for Provider service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Provisioner_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "tfplugin5.Provisioner",
	HandlerType: (*ProvisionerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetSchema",
			Handler:    _Provisioner_GetSchema_Handler,
		},
		{
			MethodName: "ValidateProvisionerConfig",
			Handler:    _Provisioner_ValidateProvisionerConfig_Handler,
		},
		{
			MethodName: "Stop",
			Handler:    _Provisioner_Stop_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "ProvisionResource",
			Handler:       _Provisioner_ProvisionResource_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "tfplugin5.proto",
}

Provisioner_ServiceDesc is the grpc.ServiceDesc for Provisioner service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterProviderServer

func RegisterProviderServer(s grpc.ServiceRegistrar, srv ProviderServer)

func RegisterProvisionerServer

func RegisterProvisionerServer(s grpc.ServiceRegistrar, 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 (*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 CallFunction added in v0.20.0

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

func (*CallFunction) Descriptor deprecated added in v0.20.0

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

Deprecated: Use CallFunction.ProtoReflect.Descriptor instead.

func (*CallFunction) ProtoMessage added in v0.20.0

func (*CallFunction) ProtoMessage()

func (*CallFunction) ProtoReflect added in v0.20.0

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

func (*CallFunction) Reset added in v0.20.0

func (x *CallFunction) Reset()

func (*CallFunction) String added in v0.20.0

func (x *CallFunction) String() string

type CallFunction_Request added in v0.20.0

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 added in v0.20.0

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

Deprecated: Use CallFunction_Request.ProtoReflect.Descriptor instead.

func (*CallFunction_Request) GetArguments added in v0.20.0

func (x *CallFunction_Request) GetArguments() []*DynamicValue

func (*CallFunction_Request) GetName added in v0.20.0

func (x *CallFunction_Request) GetName() string

func (*CallFunction_Request) ProtoMessage added in v0.20.0

func (*CallFunction_Request) ProtoMessage()

func (*CallFunction_Request) ProtoReflect added in v0.20.0

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

func (*CallFunction_Request) Reset added in v0.20.0

func (x *CallFunction_Request) Reset()

func (*CallFunction_Request) String added in v0.20.0

func (x *CallFunction_Request) String() string

type CallFunction_Response added in v0.20.0

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 added in v0.20.0

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

Deprecated: Use CallFunction_Response.ProtoReflect.Descriptor instead.

func (*CallFunction_Response) GetError added in v0.22.0

func (x *CallFunction_Response) GetError() *FunctionError

func (*CallFunction_Response) GetResult added in v0.20.0

func (x *CallFunction_Response) GetResult() *DynamicValue

func (*CallFunction_Response) ProtoMessage added in v0.20.0

func (*CallFunction_Response) ProtoMessage()

func (*CallFunction_Response) ProtoReflect added in v0.20.0

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

func (*CallFunction_Response) Reset added in v0.20.0

func (x *CallFunction_Response) Reset()

func (*CallFunction_Response) String added in v0.20.0

func (x *CallFunction_Response) String() string

type Configure

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

func (*Configure) Descriptor deprecated

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

Deprecated: Use Configure.ProtoReflect.Descriptor instead.

func (*Configure) ProtoMessage

func (*Configure) ProtoMessage()

func (*Configure) ProtoReflect

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

func (*Configure) Reset

func (x *Configure) Reset()

func (*Configure) String

func (x *Configure) String() string

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) 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 Function added in v0.20.0

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 added in v0.20.0

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

Deprecated: Use Function.ProtoReflect.Descriptor instead.

func (*Function) GetDeprecationMessage added in v0.20.0

func (x *Function) GetDeprecationMessage() string

func (*Function) GetDescription added in v0.20.0

func (x *Function) GetDescription() string

func (*Function) GetDescriptionKind added in v0.20.0

func (x *Function) GetDescriptionKind() StringKind

func (*Function) GetParameters added in v0.20.0

func (x *Function) GetParameters() []*Function_Parameter

func (*Function) GetReturn added in v0.20.0

func (x *Function) GetReturn() *Function_Return

func (*Function) GetSummary added in v0.20.0

func (x *Function) GetSummary() string

func (*Function) GetVariadicParameter added in v0.20.0

func (x *Function) GetVariadicParameter() *Function_Parameter

func (*Function) ProtoMessage added in v0.20.0

func (*Function) ProtoMessage()

func (*Function) ProtoReflect added in v0.20.0

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

func (*Function) Reset added in v0.20.0

func (x *Function) Reset()

func (*Function) String added in v0.20.0

func (x *Function) String() string

type FunctionError added in v0.22.0

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 added in v0.22.0

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

Deprecated: Use FunctionError.ProtoReflect.Descriptor instead.

func (*FunctionError) GetFunctionArgument added in v0.22.0

func (x *FunctionError) GetFunctionArgument() int64

func (*FunctionError) GetText added in v0.22.0

func (x *FunctionError) GetText() string

func (*FunctionError) ProtoMessage added in v0.22.0

func (*FunctionError) ProtoMessage()

func (*FunctionError) ProtoReflect added in v0.22.0

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

func (*FunctionError) Reset added in v0.22.0

func (x *FunctionError) Reset()

func (*FunctionError) String added in v0.22.0

func (x *FunctionError) String() string

type Function_Parameter added in v0.20.0

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 added in v0.20.0

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

Deprecated: Use Function_Parameter.ProtoReflect.Descriptor instead.

func (*Function_Parameter) GetAllowNullValue added in v0.20.0

func (x *Function_Parameter) GetAllowNullValue() bool

func (*Function_Parameter) GetAllowUnknownValues added in v0.20.0

func (x *Function_Parameter) GetAllowUnknownValues() bool

func (*Function_Parameter) GetDescription added in v0.20.0

func (x *Function_Parameter) GetDescription() string

func (*Function_Parameter) GetDescriptionKind added in v0.20.0

func (x *Function_Parameter) GetDescriptionKind() StringKind

func (*Function_Parameter) GetName added in v0.20.0

func (x *Function_Parameter) GetName() string

func (*Function_Parameter) GetType added in v0.20.0

func (x *Function_Parameter) GetType() []byte

func (*Function_Parameter) ProtoMessage added in v0.20.0

func (*Function_Parameter) ProtoMessage()

func (*Function_Parameter) ProtoReflect added in v0.20.0

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

func (*Function_Parameter) Reset added in v0.20.0

func (x *Function_Parameter) Reset()

func (*Function_Parameter) String added in v0.20.0

func (x *Function_Parameter) String() string

type Function_Return added in v0.20.0

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 added in v0.20.0

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

Deprecated: Use Function_Return.ProtoReflect.Descriptor instead.

func (*Function_Return) GetType added in v0.20.0

func (x *Function_Return) GetType() []byte

func (*Function_Return) ProtoMessage added in v0.20.0

func (*Function_Return) ProtoMessage()

func (*Function_Return) ProtoReflect added in v0.20.0

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

func (*Function_Return) Reset added in v0.20.0

func (x *Function_Return) Reset()

func (*Function_Return) String added in v0.20.0

func (x *Function_Return) String() string

type GetFunctions added in v0.20.0

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

func (*GetFunctions) Descriptor deprecated added in v0.20.0

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

Deprecated: Use GetFunctions.ProtoReflect.Descriptor instead.

func (*GetFunctions) ProtoMessage added in v0.20.0

func (*GetFunctions) ProtoMessage()

func (*GetFunctions) ProtoReflect added in v0.20.0

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

func (*GetFunctions) Reset added in v0.20.0

func (x *GetFunctions) Reset()

func (*GetFunctions) String added in v0.20.0

func (x *GetFunctions) String() string

type GetFunctions_Request added in v0.20.0

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

func (*GetFunctions_Request) Descriptor deprecated added in v0.20.0

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

Deprecated: Use GetFunctions_Request.ProtoReflect.Descriptor instead.

func (*GetFunctions_Request) ProtoMessage added in v0.20.0

func (*GetFunctions_Request) ProtoMessage()

func (*GetFunctions_Request) ProtoReflect added in v0.20.0

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

func (*GetFunctions_Request) Reset added in v0.20.0

func (x *GetFunctions_Request) Reset()

func (*GetFunctions_Request) String added in v0.20.0

func (x *GetFunctions_Request) String() string

type GetFunctions_Response added in v0.20.0

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 added in v0.20.0

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

Deprecated: Use GetFunctions_Response.ProtoReflect.Descriptor instead.

func (*GetFunctions_Response) GetDiagnostics added in v0.20.0

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

func (*GetFunctions_Response) GetFunctions added in v0.20.0

func (x *GetFunctions_Response) GetFunctions() map[string]*Function

func (*GetFunctions_Response) ProtoMessage added in v0.20.0

func (*GetFunctions_Response) ProtoMessage()

func (*GetFunctions_Response) ProtoReflect added in v0.20.0

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

func (*GetFunctions_Response) Reset added in v0.20.0

func (x *GetFunctions_Response) Reset()

func (*GetFunctions_Response) String added in v0.20.0

func (x *GetFunctions_Response) String() string

type GetMetadata added in v0.19.0

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

func (*GetMetadata) Descriptor deprecated added in v0.19.0

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

Deprecated: Use GetMetadata.ProtoReflect.Descriptor instead.

func (*GetMetadata) ProtoMessage added in v0.19.0

func (*GetMetadata) ProtoMessage()

func (*GetMetadata) ProtoReflect added in v0.19.0

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

func (*GetMetadata) Reset added in v0.19.0

func (x *GetMetadata) Reset()

func (*GetMetadata) String added in v0.19.0

func (x *GetMetadata) String() string

type GetMetadata_DataSourceMetadata added in v0.19.0

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 added in v0.19.0

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

Deprecated: Use GetMetadata_DataSourceMetadata.ProtoReflect.Descriptor instead.

func (*GetMetadata_DataSourceMetadata) GetTypeName added in v0.19.0

func (x *GetMetadata_DataSourceMetadata) GetTypeName() string

func (*GetMetadata_DataSourceMetadata) ProtoMessage added in v0.19.0

func (*GetMetadata_DataSourceMetadata) ProtoMessage()

func (*GetMetadata_DataSourceMetadata) ProtoReflect added in v0.19.0

func (*GetMetadata_DataSourceMetadata) Reset added in v0.19.0

func (x *GetMetadata_DataSourceMetadata) Reset()

func (*GetMetadata_DataSourceMetadata) String added in v0.19.0

type GetMetadata_FunctionMetadata added in v0.20.0

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 added in v0.20.0

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

Deprecated: Use GetMetadata_FunctionMetadata.ProtoReflect.Descriptor instead.

func (*GetMetadata_FunctionMetadata) GetName added in v0.20.0

func (x *GetMetadata_FunctionMetadata) GetName() string

func (*GetMetadata_FunctionMetadata) ProtoMessage added in v0.20.0

func (*GetMetadata_FunctionMetadata) ProtoMessage()

func (*GetMetadata_FunctionMetadata) ProtoReflect added in v0.20.0

func (*GetMetadata_FunctionMetadata) Reset added in v0.20.0

func (x *GetMetadata_FunctionMetadata) Reset()

func (*GetMetadata_FunctionMetadata) String added in v0.20.0

type GetMetadata_Request added in v0.19.0

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

func (*GetMetadata_Request) Descriptor deprecated added in v0.19.0

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

Deprecated: Use GetMetadata_Request.ProtoReflect.Descriptor instead.

func (*GetMetadata_Request) ProtoMessage added in v0.19.0

func (*GetMetadata_Request) ProtoMessage()

func (*GetMetadata_Request) ProtoReflect added in v0.19.0

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

func (*GetMetadata_Request) Reset added in v0.19.0

func (x *GetMetadata_Request) Reset()

func (*GetMetadata_Request) String added in v0.19.0

func (x *GetMetadata_Request) String() string

type GetMetadata_ResourceMetadata added in v0.19.0

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 added in v0.19.0

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

Deprecated: Use GetMetadata_ResourceMetadata.ProtoReflect.Descriptor instead.

func (*GetMetadata_ResourceMetadata) GetTypeName added in v0.19.0

func (x *GetMetadata_ResourceMetadata) GetTypeName() string

func (*GetMetadata_ResourceMetadata) ProtoMessage added in v0.19.0

func (*GetMetadata_ResourceMetadata) ProtoMessage()

func (*GetMetadata_ResourceMetadata) ProtoReflect added in v0.19.0

func (*GetMetadata_ResourceMetadata) Reset added in v0.19.0

func (x *GetMetadata_ResourceMetadata) Reset()

func (*GetMetadata_ResourceMetadata) String added in v0.19.0

type GetMetadata_Response added in v0.19.0

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 added in v0.19.0

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

Deprecated: Use GetMetadata_Response.ProtoReflect.Descriptor instead.

func (*GetMetadata_Response) GetDataSources added in v0.19.0

func (*GetMetadata_Response) GetDiagnostics added in v0.19.0

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

func (*GetMetadata_Response) GetFunctions added in v0.20.0

func (*GetMetadata_Response) GetResources added in v0.19.0

func (*GetMetadata_Response) GetServerCapabilities added in v0.19.0

func (x *GetMetadata_Response) GetServerCapabilities() *ServerCapabilities

func (*GetMetadata_Response) ProtoMessage added in v0.19.0

func (*GetMetadata_Response) ProtoMessage()

func (*GetMetadata_Response) ProtoReflect added in v0.19.0

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

func (*GetMetadata_Response) Reset added in v0.19.0

func (x *GetMetadata_Response) Reset()

func (*GetMetadata_Response) String added in v0.19.0

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 (*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 added in v0.20.0

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 added in v0.11.0

func (x *GetProviderSchema_Response) GetServerCapabilities() *ServerCapabilities

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

func (x *GetProvisionerSchema_Request) Reset()

func (*GetProvisionerSchema_Request) 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 (*GetProvisionerSchema_Response) Reset

func (x *GetProvisionerSchema_Response) Reset()

func (*GetProvisionerSchema_Response) 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 MoveResourceState added in v0.21.0

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

func (*MoveResourceState) Descriptor deprecated added in v0.21.0

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

Deprecated: Use MoveResourceState.ProtoReflect.Descriptor instead.

func (*MoveResourceState) ProtoMessage added in v0.21.0

func (*MoveResourceState) ProtoMessage()

func (*MoveResourceState) ProtoReflect added in v0.21.0

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

func (*MoveResourceState) Reset added in v0.21.0

func (x *MoveResourceState) Reset()

func (*MoveResourceState) String added in v0.21.0

func (x *MoveResourceState) String() string

type MoveResourceState_Request added in v0.21.0

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 added in v0.21.0

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

Deprecated: Use MoveResourceState_Request.ProtoReflect.Descriptor instead.

func (*MoveResourceState_Request) GetSourcePrivate added in v0.21.0

func (x *MoveResourceState_Request) GetSourcePrivate() []byte

func (*MoveResourceState_Request) GetSourceProviderAddress added in v0.21.0

func (x *MoveResourceState_Request) GetSourceProviderAddress() string

func (*MoveResourceState_Request) GetSourceSchemaVersion added in v0.21.0

func (x *MoveResourceState_Request) GetSourceSchemaVersion() int64

func (*MoveResourceState_Request) GetSourceState added in v0.21.0

func (x *MoveResourceState_Request) GetSourceState() *RawState

func (*MoveResourceState_Request) GetSourceTypeName added in v0.21.0

func (x *MoveResourceState_Request) GetSourceTypeName() string

func (*MoveResourceState_Request) GetTargetTypeName added in v0.21.0

func (x *MoveResourceState_Request) GetTargetTypeName() string

func (*MoveResourceState_Request) ProtoMessage added in v0.21.0

func (*MoveResourceState_Request) ProtoMessage()

func (*MoveResourceState_Request) ProtoReflect added in v0.21.0

func (*MoveResourceState_Request) Reset added in v0.21.0

func (x *MoveResourceState_Request) Reset()

func (*MoveResourceState_Request) String added in v0.21.0

func (x *MoveResourceState_Request) String() string

type MoveResourceState_Response added in v0.21.0

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 added in v0.21.0

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

Deprecated: Use MoveResourceState_Response.ProtoReflect.Descriptor instead.

func (*MoveResourceState_Response) GetDiagnostics added in v0.21.0

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

func (*MoveResourceState_Response) GetTargetPrivate added in v0.21.0

func (x *MoveResourceState_Response) GetTargetPrivate() []byte

func (*MoveResourceState_Response) GetTargetState added in v0.21.0

func (x *MoveResourceState_Response) GetTargetState() *DynamicValue

func (*MoveResourceState_Response) ProtoMessage added in v0.21.0

func (*MoveResourceState_Response) ProtoMessage()

func (*MoveResourceState_Response) ProtoReflect added in v0.21.0

func (*MoveResourceState_Response) Reset added in v0.21.0

func (x *MoveResourceState_Response) Reset()

func (*MoveResourceState_Response) String added in v0.21.0

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

func (*PrepareProviderConfig_Request) ProtoMessage()

func (*PrepareProviderConfig_Request) ProtoReflect

func (*PrepareProviderConfig_Request) Reset

func (x *PrepareProviderConfig_Request) Reset()

func (*PrepareProviderConfig_Request) 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 (*PrepareProviderConfig_Response) Reset

func (x *PrepareProviderConfig_Response) Reset()

func (*PrepareProviderConfig_Response) 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://pkg.go.dev/google.golang.org/grpc/?tab=doc#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)
	// contains filtered or unexported methods
}

ProviderServer is the server API for Provider service. All implementations must embed UnimplementedProviderServer for forward compatibility

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

func (x *ProvisionResource_Response) Reset()

func (*ProvisionResource_Response) String

func (x *ProvisionResource_Response) String() string

type ProvisionerClient

ProvisionerClient is the client API for Provisioner service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

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)
	// contains filtered or unexported methods
}

ProvisionerServer is the server API for Provisioner service. All implementations must embed UnimplementedProvisionerServer for forward compatibility

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) 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, Provider, or Provisioner.

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"`
	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 (*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 ServerCapabilities added in v0.19.0

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 added in v0.19.0

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

Deprecated: Use ServerCapabilities.ProtoReflect.Descriptor instead.

func (*ServerCapabilities) GetGetProviderSchemaOptional added in v0.19.0

func (x *ServerCapabilities) GetGetProviderSchemaOptional() bool

func (*ServerCapabilities) GetMoveResourceState added in v0.21.0

func (x *ServerCapabilities) GetMoveResourceState() bool

func (*ServerCapabilities) GetPlanDestroy added in v0.19.0

func (x *ServerCapabilities) GetPlanDestroy() bool

func (*ServerCapabilities) ProtoMessage added in v0.19.0

func (*ServerCapabilities) ProtoMessage()

func (*ServerCapabilities) ProtoReflect added in v0.19.0

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

func (*ServerCapabilities) Reset added in v0.19.0

func (x *ServerCapabilities) Reset()

func (*ServerCapabilities) String added in v0.19.0

func (x *ServerCapabilities) String() string

type Stop

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

func (*Stop) Descriptor deprecated

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

Deprecated: Use Stop.ProtoReflect.Descriptor instead.

func (*Stop) ProtoMessage

func (*Stop) ProtoMessage()

func (*Stop) ProtoReflect

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

func (*Stop) Reset

func (x *Stop) Reset()

func (*Stop) String

func (x *Stop) String() string

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

type UnimplementedProviderServer

type UnimplementedProviderServer struct {
}

UnimplementedProviderServer must be embedded to have forward compatible implementations.

func (UnimplementedProviderServer) CallFunction added in v0.20.0

func (UnimplementedProviderServer) Configure

func (UnimplementedProviderServer) GetFunctions added in v0.20.0

func (UnimplementedProviderServer) GetMetadata added in v0.19.0

func (UnimplementedProviderServer) MoveResourceState added in v0.21.0

func (UnimplementedProviderServer) ReadDataSource

func (UnimplementedProviderServer) ReadResource

func (UnimplementedProviderServer) Stop

type UnimplementedProvisionerServer

type UnimplementedProvisionerServer struct {
}

UnimplementedProvisionerServer must be embedded to have forward compatible implementations.

func (UnimplementedProvisionerServer) Stop

type UnsafeProviderServer

type UnsafeProviderServer interface {
	// contains filtered or unexported methods
}

UnsafeProviderServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProviderServer will result in compilation errors.

type UnsafeProvisionerServer

type UnsafeProvisionerServer interface {
	// contains filtered or unexported methods
}

UnsafeProvisionerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProvisionerServer will result in compilation errors.

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 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 (*ValidateDataSourceConfig_Request) GetTypeName

func (x *ValidateDataSourceConfig_Request) GetTypeName() string

func (*ValidateDataSourceConfig_Request) ProtoMessage

func (*ValidateDataSourceConfig_Request) ProtoMessage()

func (*ValidateDataSourceConfig_Request) ProtoReflect

func (*ValidateDataSourceConfig_Request) Reset

func (*ValidateDataSourceConfig_Request) 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 (*ValidateDataSourceConfig_Response) Reset

func (*ValidateDataSourceConfig_Response) 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 (*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 (*ValidateProvisionerConfig_Request) ProtoMessage

func (*ValidateProvisionerConfig_Request) ProtoMessage()

func (*ValidateProvisionerConfig_Request) ProtoReflect

func (*ValidateProvisionerConfig_Request) Reset

func (*ValidateProvisionerConfig_Request) 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 (*ValidateProvisionerConfig_Response) Reset

func (*ValidateProvisionerConfig_Response) 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 (*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 (*ValidateResourceTypeConfig_Request) GetTypeName

func (x *ValidateResourceTypeConfig_Request) GetTypeName() string

func (*ValidateResourceTypeConfig_Request) ProtoMessage

func (*ValidateResourceTypeConfig_Request) ProtoMessage()

func (*ValidateResourceTypeConfig_Request) ProtoReflect

func (*ValidateResourceTypeConfig_Request) Reset

func (*ValidateResourceTypeConfig_Request) 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 (*ValidateResourceTypeConfig_Response) Reset

func (*ValidateResourceTypeConfig_Response) String

Jump to

Keyboard shortcuts

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