providerserverv1

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2025 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Provider_GetNamespace_FullMethodName                     = "/providerserverv1.Provider/GetNamespace"
	Provider_GetConfigDefinition_FullMethodName              = "/providerserverv1.Provider/GetConfigDefinition"
	Provider_ListResourceTypes_FullMethodName                = "/providerserverv1.Provider/ListResourceTypes"
	Provider_ListLinkTypes_FullMethodName                    = "/providerserverv1.Provider/ListLinkTypes"
	Provider_ListDataSourceTypes_FullMethodName              = "/providerserverv1.Provider/ListDataSourceTypes"
	Provider_ListCustomVariableTypes_FullMethodName          = "/providerserverv1.Provider/ListCustomVariableTypes"
	Provider_ListFunctions_FullMethodName                    = "/providerserverv1.Provider/ListFunctions"
	Provider_GetRetryPolicy_FullMethodName                   = "/providerserverv1.Provider/GetRetryPolicy"
	Provider_CustomValidateResource_FullMethodName           = "/providerserverv1.Provider/CustomValidateResource"
	Provider_GetResourceSpecDefinition_FullMethodName        = "/providerserverv1.Provider/GetResourceSpecDefinition"
	Provider_CanResourceLinkTo_FullMethodName                = "/providerserverv1.Provider/CanResourceLinkTo"
	Provider_GetResourceStabilisedDeps_FullMethodName        = "/providerserverv1.Provider/GetResourceStabilisedDeps"
	Provider_IsResourceCommonTerminal_FullMethodName         = "/providerserverv1.Provider/IsResourceCommonTerminal"
	Provider_GetResourceType_FullMethodName                  = "/providerserverv1.Provider/GetResourceType"
	Provider_GetResourceTypeDescription_FullMethodName       = "/providerserverv1.Provider/GetResourceTypeDescription"
	Provider_GetResourceExamples_FullMethodName              = "/providerserverv1.Provider/GetResourceExamples"
	Provider_DeployResource_FullMethodName                   = "/providerserverv1.Provider/DeployResource"
	Provider_ResourceHasStabilised_FullMethodName            = "/providerserverv1.Provider/ResourceHasStabilised"
	Provider_GetResourceExternalState_FullMethodName         = "/providerserverv1.Provider/GetResourceExternalState"
	Provider_DestroyResource_FullMethodName                  = "/providerserverv1.Provider/DestroyResource"
	Provider_StageLinkChanges_FullMethodName                 = "/providerserverv1.Provider/StageLinkChanges"
	Provider_UpdateLinkResourceA_FullMethodName              = "/providerserverv1.Provider/UpdateLinkResourceA"
	Provider_UpdateLinkResourceB_FullMethodName              = "/providerserverv1.Provider/UpdateLinkResourceB"
	Provider_UpdateLinkIntermediaryResources_FullMethodName  = "/providerserverv1.Provider/UpdateLinkIntermediaryResources"
	Provider_GetLinkPriorityResource_FullMethodName          = "/providerserverv1.Provider/GetLinkPriorityResource"
	Provider_GetLinkTypeDescription_FullMethodName           = "/providerserverv1.Provider/GetLinkTypeDescription"
	Provider_GetLinkAnnotationDefinitions_FullMethodName     = "/providerserverv1.Provider/GetLinkAnnotationDefinitions"
	Provider_GetLinkKind_FullMethodName                      = "/providerserverv1.Provider/GetLinkKind"
	Provider_GetDataSourceType_FullMethodName                = "/providerserverv1.Provider/GetDataSourceType"
	Provider_GetDataSourceTypeDescription_FullMethodName     = "/providerserverv1.Provider/GetDataSourceTypeDescription"
	Provider_GetDataSourceExamples_FullMethodName            = "/providerserverv1.Provider/GetDataSourceExamples"
	Provider_CustomValidateDataSource_FullMethodName         = "/providerserverv1.Provider/CustomValidateDataSource"
	Provider_GetDataSourceSpecDefinition_FullMethodName      = "/providerserverv1.Provider/GetDataSourceSpecDefinition"
	Provider_GetDataSourceFilterFields_FullMethodName        = "/providerserverv1.Provider/GetDataSourceFilterFields"
	Provider_FetchDataSource_FullMethodName                  = "/providerserverv1.Provider/FetchDataSource"
	Provider_GetCustomVariableType_FullMethodName            = "/providerserverv1.Provider/GetCustomVariableType"
	Provider_GetCustomVariableTypeDescription_FullMethodName = "/providerserverv1.Provider/GetCustomVariableTypeDescription"
	Provider_GetCustomVariableTypeOptions_FullMethodName     = "/providerserverv1.Provider/GetCustomVariableTypeOptions"
	Provider_GetCustomVariableTypeExamples_FullMethodName    = "/providerserverv1.Provider/GetCustomVariableTypeExamples"
	Provider_GetFunctionDefinition_FullMethodName            = "/providerserverv1.Provider/GetFunctionDefinition"
	Provider_CallFunction_FullMethodName                     = "/providerserverv1.Provider/CallFunction"
)
View Source
const (
	// The protocol version that is used during the handshake to ensure the plugin
	// is compatible with the host service.
	ProtocolVersion = "1.0"
)

Variables

View Source
var (
	DataSourceSpecSchemaType_name = map[int32]string{
		0: "DATA_SOURCE_SPEC_STRING",
		1: "DATA_SOURCE_SPEC_INTEGER",
		2: "DATA_SOURCE_SPEC_FLOAT",
		3: "DATA_SOURCE_SPEC_BOOLEAN",
		4: "DATA_SOURCE_SPEC_ARRAY",
	}
	DataSourceSpecSchemaType_value = map[string]int32{
		"DATA_SOURCE_SPEC_STRING":  0,
		"DATA_SOURCE_SPEC_INTEGER": 1,
		"DATA_SOURCE_SPEC_FLOAT":   2,
		"DATA_SOURCE_SPEC_BOOLEAN": 3,
		"DATA_SOURCE_SPEC_ARRAY":   4,
	}
)

Enum value maps for DataSourceSpecSchemaType.

View Source
var (
	LinkPriorityResource_name = map[int32]string{
		0: "LINK_PRIORITY_RESOURCE_NONE",
		1: "LINK_PRIORITY_RESOURCE_A",
		2: "LINK_PRIORITY_RESOURCE_B",
	}
	LinkPriorityResource_value = map[string]int32{
		"LINK_PRIORITY_RESOURCE_NONE": 0,
		"LINK_PRIORITY_RESOURCE_A":    1,
		"LINK_PRIORITY_RESOURCE_B":    2,
	}
)

Enum value maps for LinkPriorityResource.

View Source
var (
	LinkKind_name = map[int32]string{
		0: "LINK_KIND_HARD",
		1: "LINK_KIND_SOFT",
	}
	LinkKind_value = map[string]int32{
		"LINK_KIND_HARD": 0,
		"LINK_KIND_SOFT": 1,
	}
)

Enum value maps for LinkKind.

View Source
var (
	LinkUpdateType_name = map[int32]string{
		0: "LINK_UPDATE_TYPE_CREATE",
		1: "LINK_UPDATE_TYPE_DESTROY",
		2: "LINK_UPDATE_TYPE_UPDATE",
	}
	LinkUpdateType_value = map[string]int32{
		"LINK_UPDATE_TYPE_CREATE":  0,
		"LINK_UPDATE_TYPE_DESTROY": 1,
		"LINK_UPDATE_TYPE_UPDATE":  2,
	}
)

Enum value maps for LinkUpdateType.

View Source
var (
	LinkStatus_name = map[int32]string{
		0:  "LINK_STATUS_UNKNOWN",
		1:  "LINK_STATUS_CREATING",
		2:  "LINK_STATUS_CREATED",
		3:  "LINK_STATUS_CREATE_FAILED",
		4:  "LINK_STATUS_CREATE_ROLLING_BACK",
		5:  "LINK_STATUS_CREATE_ROLLBACK_FAILED",
		6:  "LINK_STATUS_CREATE_ROLLBACK_COMPLETE",
		7:  "LINK_STATUS_DESTROYING",
		8:  "LINK_STATUS_DESTROYED",
		9:  "LINK_STATUS_DESTROY_FAILED",
		10: "LINK_STATUS_DESTROY_ROLLING_BACK",
		11: "LINK_STATUS_DESTROY_ROLLBACK_FAILED",
		12: "LINK_STATUS_DESTROY_ROLLBACK_COMPLETE",
		13: "LINK_STATUS_UPDATING",
		14: "LINK_STATUS_UPDATED",
		15: "LINK_STATUS_UPDATE_FAILED",
		16: "LINK_STATUS_UPDATE_ROLLING_BACK",
		17: "LINK_STATUS_UPDATE_ROLLBACK_FAILED",
		18: "LINK_STATUS_UPDATE_ROLLBACK_COMPLETE",
	}
	LinkStatus_value = map[string]int32{
		"LINK_STATUS_UNKNOWN":                   0,
		"LINK_STATUS_CREATING":                  1,
		"LINK_STATUS_CREATED":                   2,
		"LINK_STATUS_CREATE_FAILED":             3,
		"LINK_STATUS_CREATE_ROLLING_BACK":       4,
		"LINK_STATUS_CREATE_ROLLBACK_FAILED":    5,
		"LINK_STATUS_CREATE_ROLLBACK_COMPLETE":  6,
		"LINK_STATUS_DESTROYING":                7,
		"LINK_STATUS_DESTROYED":                 8,
		"LINK_STATUS_DESTROY_FAILED":            9,
		"LINK_STATUS_DESTROY_ROLLING_BACK":      10,
		"LINK_STATUS_DESTROY_ROLLBACK_FAILED":   11,
		"LINK_STATUS_DESTROY_ROLLBACK_COMPLETE": 12,
		"LINK_STATUS_UPDATING":                  13,
		"LINK_STATUS_UPDATED":                   14,
		"LINK_STATUS_UPDATE_FAILED":             15,
		"LINK_STATUS_UPDATE_ROLLING_BACK":       16,
		"LINK_STATUS_UPDATE_ROLLBACK_FAILED":    17,
		"LINK_STATUS_UPDATE_ROLLBACK_COMPLETE":  18,
	}
)

Enum value maps for LinkStatus.

View Source
var (
	PreciseLinkStatus_name = map[int32]string{
		0:  "PRECISE_LINK_STATUS_UNKNOWN",
		1:  "PRECISE_LINK_STATUS_UPDATING_RESOURCE_A",
		2:  "PRECISE_LINK_STATUS_RESOURCE_A_UPDATED",
		3:  "PRECISE_LINK_STATUS_RESOURCE_A_UPDATE_FAILED",
		4:  "PRECISE_LINK_STATUS_RESOURCE_A_UPDATE_ROLLING_BACK",
		5:  "PRECISE_LINK_STATUS_RESOURCE_A_UPDATE_ROLLBACK_FAILED",
		6:  "PRECISE_LINK_STATUS_RESOURCE_A_UPDATE_ROLLBACK_COMPLETE",
		7:  "PRECISE_LINK_STATUS_UPDATING_RESOURCE_B",
		8:  "PRECISE_LINK_STATUS_RESOURCE_B_UPDATED",
		9:  "PRECISE_LINK_STATUS_RESOURCE_B_UPDATE_FAILED",
		10: "PRECISE_LINK_STATUS_RESOURCE_B_UPDATE_ROLLING_BACK",
		11: "PRECISE_LINK_STATUS_RESOURCE_B_UPDATE_ROLLBACK_FAILED",
		12: "PRECISE_LINK_STATUS_RESOURCE_B_UPDATE_ROLLBACK_COMPLETE",
		13: "PRECISE_LINK_STATUS_UPDATING_INTERMEDIARY_RESOURCES",
		14: "PRECISE_LINK_STATUS_INTERMEDIARY_RESOURCES_UPDATED",
		15: "PRECISE_LINK_STATUS_INTERMEDIARY_RESOURCE_UPDATED_FAILED",
		16: "PRECISE_LINK_STATUS_INTERMEDIARY_RESOURCE_UPDATE_ROLLING_BACK",
		17: "PRECISE_LINK_STATUS_INTERMEDIARY_RESOURCE_UPDATE_ROLLBACK_FAILED",
		18: "PRECISE_LINK_STATUS_INTERMEDIARY_RESOURCE_UPDATE_ROLLBACK_COMPLETE",
	}
	PreciseLinkStatus_value = map[string]int32{
		"PRECISE_LINK_STATUS_UNKNOWN":                                        0,
		"PRECISE_LINK_STATUS_UPDATING_RESOURCE_A":                            1,
		"PRECISE_LINK_STATUS_RESOURCE_A_UPDATED":                             2,
		"PRECISE_LINK_STATUS_RESOURCE_A_UPDATE_FAILED":                       3,
		"PRECISE_LINK_STATUS_RESOURCE_A_UPDATE_ROLLING_BACK":                 4,
		"PRECISE_LINK_STATUS_RESOURCE_A_UPDATE_ROLLBACK_FAILED":              5,
		"PRECISE_LINK_STATUS_RESOURCE_A_UPDATE_ROLLBACK_COMPLETE":            6,
		"PRECISE_LINK_STATUS_UPDATING_RESOURCE_B":                            7,
		"PRECISE_LINK_STATUS_RESOURCE_B_UPDATED":                             8,
		"PRECISE_LINK_STATUS_RESOURCE_B_UPDATE_FAILED":                       9,
		"PRECISE_LINK_STATUS_RESOURCE_B_UPDATE_ROLLING_BACK":                 10,
		"PRECISE_LINK_STATUS_RESOURCE_B_UPDATE_ROLLBACK_FAILED":              11,
		"PRECISE_LINK_STATUS_RESOURCE_B_UPDATE_ROLLBACK_COMPLETE":            12,
		"PRECISE_LINK_STATUS_UPDATING_INTERMEDIARY_RESOURCES":                13,
		"PRECISE_LINK_STATUS_INTERMEDIARY_RESOURCES_UPDATED":                 14,
		"PRECISE_LINK_STATUS_INTERMEDIARY_RESOURCE_UPDATED_FAILED":           15,
		"PRECISE_LINK_STATUS_INTERMEDIARY_RESOURCE_UPDATE_ROLLING_BACK":      16,
		"PRECISE_LINK_STATUS_INTERMEDIARY_RESOURCE_UPDATE_ROLLBACK_FAILED":   17,
		"PRECISE_LINK_STATUS_INTERMEDIARY_RESOURCE_UPDATE_ROLLBACK_COMPLETE": 18,
	}
)

Enum value maps for PreciseLinkStatus.

View Source
var File_plugin_framework_providerserverv1_provider_proto protoreflect.FileDescriptor
View Source
var Provider_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "providerserverv1.Provider",
	HandlerType: (*ProviderServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetNamespace",
			Handler:    _Provider_GetNamespace_Handler,
		},
		{
			MethodName: "GetConfigDefinition",
			Handler:    _Provider_GetConfigDefinition_Handler,
		},
		{
			MethodName: "ListResourceTypes",
			Handler:    _Provider_ListResourceTypes_Handler,
		},
		{
			MethodName: "ListLinkTypes",
			Handler:    _Provider_ListLinkTypes_Handler,
		},
		{
			MethodName: "ListDataSourceTypes",
			Handler:    _Provider_ListDataSourceTypes_Handler,
		},
		{
			MethodName: "ListCustomVariableTypes",
			Handler:    _Provider_ListCustomVariableTypes_Handler,
		},
		{
			MethodName: "ListFunctions",
			Handler:    _Provider_ListFunctions_Handler,
		},
		{
			MethodName: "GetRetryPolicy",
			Handler:    _Provider_GetRetryPolicy_Handler,
		},
		{
			MethodName: "CustomValidateResource",
			Handler:    _Provider_CustomValidateResource_Handler,
		},
		{
			MethodName: "GetResourceSpecDefinition",
			Handler:    _Provider_GetResourceSpecDefinition_Handler,
		},
		{
			MethodName: "CanResourceLinkTo",
			Handler:    _Provider_CanResourceLinkTo_Handler,
		},
		{
			MethodName: "GetResourceStabilisedDeps",
			Handler:    _Provider_GetResourceStabilisedDeps_Handler,
		},
		{
			MethodName: "IsResourceCommonTerminal",
			Handler:    _Provider_IsResourceCommonTerminal_Handler,
		},
		{
			MethodName: "GetResourceType",
			Handler:    _Provider_GetResourceType_Handler,
		},
		{
			MethodName: "GetResourceTypeDescription",
			Handler:    _Provider_GetResourceTypeDescription_Handler,
		},
		{
			MethodName: "GetResourceExamples",
			Handler:    _Provider_GetResourceExamples_Handler,
		},
		{
			MethodName: "DeployResource",
			Handler:    _Provider_DeployResource_Handler,
		},
		{
			MethodName: "ResourceHasStabilised",
			Handler:    _Provider_ResourceHasStabilised_Handler,
		},
		{
			MethodName: "GetResourceExternalState",
			Handler:    _Provider_GetResourceExternalState_Handler,
		},
		{
			MethodName: "DestroyResource",
			Handler:    _Provider_DestroyResource_Handler,
		},
		{
			MethodName: "StageLinkChanges",
			Handler:    _Provider_StageLinkChanges_Handler,
		},
		{
			MethodName: "UpdateLinkResourceA",
			Handler:    _Provider_UpdateLinkResourceA_Handler,
		},
		{
			MethodName: "UpdateLinkResourceB",
			Handler:    _Provider_UpdateLinkResourceB_Handler,
		},
		{
			MethodName: "UpdateLinkIntermediaryResources",
			Handler:    _Provider_UpdateLinkIntermediaryResources_Handler,
		},
		{
			MethodName: "GetLinkPriorityResource",
			Handler:    _Provider_GetLinkPriorityResource_Handler,
		},
		{
			MethodName: "GetLinkTypeDescription",
			Handler:    _Provider_GetLinkTypeDescription_Handler,
		},
		{
			MethodName: "GetLinkAnnotationDefinitions",
			Handler:    _Provider_GetLinkAnnotationDefinitions_Handler,
		},
		{
			MethodName: "GetLinkKind",
			Handler:    _Provider_GetLinkKind_Handler,
		},
		{
			MethodName: "GetDataSourceType",
			Handler:    _Provider_GetDataSourceType_Handler,
		},
		{
			MethodName: "GetDataSourceTypeDescription",
			Handler:    _Provider_GetDataSourceTypeDescription_Handler,
		},
		{
			MethodName: "GetDataSourceExamples",
			Handler:    _Provider_GetDataSourceExamples_Handler,
		},
		{
			MethodName: "CustomValidateDataSource",
			Handler:    _Provider_CustomValidateDataSource_Handler,
		},
		{
			MethodName: "GetDataSourceSpecDefinition",
			Handler:    _Provider_GetDataSourceSpecDefinition_Handler,
		},
		{
			MethodName: "GetDataSourceFilterFields",
			Handler:    _Provider_GetDataSourceFilterFields_Handler,
		},
		{
			MethodName: "FetchDataSource",
			Handler:    _Provider_FetchDataSource_Handler,
		},
		{
			MethodName: "GetCustomVariableType",
			Handler:    _Provider_GetCustomVariableType_Handler,
		},
		{
			MethodName: "GetCustomVariableTypeDescription",
			Handler:    _Provider_GetCustomVariableTypeDescription_Handler,
		},
		{
			MethodName: "GetCustomVariableTypeOptions",
			Handler:    _Provider_GetCustomVariableTypeOptions_Handler,
		},
		{
			MethodName: "GetCustomVariableTypeExamples",
			Handler:    _Provider_GetCustomVariableTypeExamples_Handler,
		},
		{
			MethodName: "GetFunctionDefinition",
			Handler:    _Provider_GetFunctionDefinition_Handler,
		},
		{
			MethodName: "CallFunction",
			Handler:    _Provider_CallFunction_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "plugin-framework/providerserverv1/provider.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)

Functions

func NewServer

func NewServer(
	pluginID string,
	pluginMetadata *pluginservicev1.PluginMetadata,
	provider ProviderServer,
	pluginServiceClient pluginservicev1.ServiceClient,
	hostInfoContainer pluginutils.HostInfoContainer,
	opts ...pluginbase.ServerOption[ProviderServer],
) *pluginbase.Server[ProviderServer]

NewServer creates a new plugin server for a provider plugin, taking care of registration and running the server.

func RegisterProviderServer

func RegisterProviderServer(s grpc.ServiceRegistrar, srv ProviderServer)

func WrapProviderClient

func WrapProviderClient(client ProviderClient, hostID string) provider.Provider

WrapProviderClient wraps a provider plugin v1 ProviderClient in a blueprint framework Provider to allow the deploy engine to interact with the provider in a way that is compatible with the blueprint framework and is agnostic to the underlying communication protocol.

Types

type CanResourceLinkToResponse

type CanResourceLinkToResponse struct {

	// Types that are valid to be assigned to Response:
	//
	//	*CanResourceLinkToResponse_ResourceTypes
	//	*CanResourceLinkToResponse_ErrorResponse
	Response isCanResourceLinkToResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

CanResourceLinkToResponse is the response for a request to get all the resource types that a given resource type can link to.

func (*CanResourceLinkToResponse) Descriptor deprecated

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

Deprecated: Use CanResourceLinkToResponse.ProtoReflect.Descriptor instead.

func (*CanResourceLinkToResponse) GetErrorResponse

func (x *CanResourceLinkToResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse

func (*CanResourceLinkToResponse) GetResourceTypes

func (x *CanResourceLinkToResponse) GetResourceTypes() *sharedtypesv1.CanLinkTo

func (*CanResourceLinkToResponse) GetResponse

func (x *CanResourceLinkToResponse) GetResponse() isCanResourceLinkToResponse_Response

func (*CanResourceLinkToResponse) ProtoMessage

func (*CanResourceLinkToResponse) ProtoMessage()

func (*CanResourceLinkToResponse) ProtoReflect

func (*CanResourceLinkToResponse) Reset

func (x *CanResourceLinkToResponse) Reset()

func (*CanResourceLinkToResponse) String

func (x *CanResourceLinkToResponse) String() string

type CanResourceLinkToResponse_ErrorResponse

type CanResourceLinkToResponse_ErrorResponse struct {
	ErrorResponse *sharedtypesv1.ErrorResponse `protobuf:"bytes,2,opt,name=error_response,json=errorResponse,oneof"`
}

type CanResourceLinkToResponse_ResourceTypes

type CanResourceLinkToResponse_ResourceTypes struct {
	ResourceTypes *sharedtypesv1.CanLinkTo `protobuf:"bytes,1,opt,name=resource_types,json=resourceTypes,oneof"`
}

type CustomValidateDataSourceCompleteResponse

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

CustomValidateDataSourceCompleteResponse contains the result of custom data source validation.

func (*CustomValidateDataSourceCompleteResponse) Descriptor deprecated

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

Deprecated: Use CustomValidateDataSourceCompleteResponse.ProtoReflect.Descriptor instead.

func (*CustomValidateDataSourceCompleteResponse) GetDiagnostics

func (*CustomValidateDataSourceCompleteResponse) ProtoMessage

func (*CustomValidateDataSourceCompleteResponse) ProtoReflect

func (*CustomValidateDataSourceCompleteResponse) Reset

func (*CustomValidateDataSourceCompleteResponse) String

type CustomValidateDataSourceRequest

type CustomValidateDataSourceRequest struct {
	DataSourceType *DataSourceType `protobuf:"bytes,1,opt,name=data_source_type,json=dataSourceType" json:"data_source_type,omitempty"`
	// The ID of the host making the request
	// to the provider.
	HostId           string                         `protobuf:"bytes,2,opt,name=host_id,json=hostId" json:"host_id,omitempty"`
	SchemaDataSource *schemapb.DataSource           `protobuf:"bytes,3,opt,name=schema_data_source,json=schemaDataSource" json:"schema_data_source,omitempty"`
	Context          *sharedtypesv1.ProviderContext `protobuf:"bytes,4,opt,name=context" json:"context,omitempty"`
	// contains filtered or unexported fields
}

CustomValidateDataSourceRequest is the request input for custom data source validation requests.

func (*CustomValidateDataSourceRequest) Descriptor deprecated

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

Deprecated: Use CustomValidateDataSourceRequest.ProtoReflect.Descriptor instead.

func (*CustomValidateDataSourceRequest) GetContext

func (*CustomValidateDataSourceRequest) GetDataSourceType

func (x *CustomValidateDataSourceRequest) GetDataSourceType() *DataSourceType

func (*CustomValidateDataSourceRequest) GetHostId

func (x *CustomValidateDataSourceRequest) GetHostId() string

func (*CustomValidateDataSourceRequest) GetSchemaDataSource

func (x *CustomValidateDataSourceRequest) GetSchemaDataSource() *schemapb.DataSource

func (*CustomValidateDataSourceRequest) ProtoMessage

func (*CustomValidateDataSourceRequest) ProtoMessage()

func (*CustomValidateDataSourceRequest) ProtoReflect

func (*CustomValidateDataSourceRequest) Reset

func (*CustomValidateDataSourceRequest) String

type CustomValidateDataSourceResponse

type CustomValidateDataSourceResponse struct {

	// Types that are valid to be assigned to Response:
	//
	//	*CustomValidateDataSourceResponse_CompleteResponse
	//	*CustomValidateDataSourceResponse_ErrorResponse
	Response isCustomValidateDataSourceResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

CustomValidateDataSourceResponse is the response containing the result of custom data source validation.

func (*CustomValidateDataSourceResponse) Descriptor deprecated

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

Deprecated: Use CustomValidateDataSourceResponse.ProtoReflect.Descriptor instead.

func (*CustomValidateDataSourceResponse) GetCompleteResponse

func (*CustomValidateDataSourceResponse) GetErrorResponse

func (*CustomValidateDataSourceResponse) GetResponse

func (x *CustomValidateDataSourceResponse) GetResponse() isCustomValidateDataSourceResponse_Response

func (*CustomValidateDataSourceResponse) ProtoMessage

func (*CustomValidateDataSourceResponse) ProtoMessage()

func (*CustomValidateDataSourceResponse) ProtoReflect

func (*CustomValidateDataSourceResponse) Reset

func (*CustomValidateDataSourceResponse) String

type CustomValidateDataSourceResponse_CompleteResponse

type CustomValidateDataSourceResponse_CompleteResponse struct {
	CompleteResponse *CustomValidateDataSourceCompleteResponse `protobuf:"bytes,1,opt,name=complete_response,json=completeResponse,oneof"`
}

type CustomValidateDataSourceResponse_ErrorResponse

type CustomValidateDataSourceResponse_ErrorResponse struct {
	ErrorResponse *sharedtypesv1.ErrorResponse `protobuf:"bytes,2,opt,name=error_response,json=errorResponse,oneof"`
}

type CustomValidateResourceCompleteResponse

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

CustomValidateResourceCompleteResponse is the response returned by the provider plugin when custom resource validation has been completed.

func (*CustomValidateResourceCompleteResponse) Descriptor deprecated

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

Deprecated: Use CustomValidateResourceCompleteResponse.ProtoReflect.Descriptor instead.

func (*CustomValidateResourceCompleteResponse) GetDiagnostics

func (*CustomValidateResourceCompleteResponse) ProtoMessage

func (*CustomValidateResourceCompleteResponse) ProtoReflect

func (*CustomValidateResourceCompleteResponse) Reset

func (*CustomValidateResourceCompleteResponse) String

type CustomValidateResourceRequest

type CustomValidateResourceRequest struct {

	// The type of resource being validate.
	ResourceType *sharedtypesv1.ResourceType `protobuf:"bytes,1,opt,name=resource_type,json=resourceType" json:"resource_type,omitempty"`
	// The ID of the host making the request
	// to the provider.
	HostId string `protobuf:"bytes,2,opt,name=host_id,json=hostId" json:"host_id,omitempty"`
	// The resource schema as parsed within a blueprint.
	SchemaResource *schemapb.Resource `protobuf:"bytes,3,opt,name=schema_resource,json=schemaResource" json:"schema_resource,omitempty"`
	// Runtime configuration for the current environment
	// specific to the current provider.
	Context *sharedtypesv1.ProviderContext `protobuf:"bytes,4,opt,name=context" json:"context,omitempty"`
	// contains filtered or unexported fields
}

CustomValidateResourceRequest is the request for custom resource validation.

func (*CustomValidateResourceRequest) Descriptor deprecated

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

Deprecated: Use CustomValidateResourceRequest.ProtoReflect.Descriptor instead.

func (*CustomValidateResourceRequest) GetContext

func (*CustomValidateResourceRequest) GetHostId

func (x *CustomValidateResourceRequest) GetHostId() string

func (*CustomValidateResourceRequest) GetResourceType

func (*CustomValidateResourceRequest) GetSchemaResource

func (x *CustomValidateResourceRequest) GetSchemaResource() *schemapb.Resource

func (*CustomValidateResourceRequest) ProtoMessage

func (*CustomValidateResourceRequest) ProtoMessage()

func (*CustomValidateResourceRequest) ProtoReflect

func (*CustomValidateResourceRequest) Reset

func (x *CustomValidateResourceRequest) Reset()

func (*CustomValidateResourceRequest) String

type CustomValidateResourceResponse

type CustomValidateResourceResponse struct {

	// Types that are valid to be assigned to Response:
	//
	//	*CustomValidateResourceResponse_CompleteResponse
	//	*CustomValidateResourceResponse_ErrorResponse
	Response isCustomValidateResourceResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

CustomValidateResourceResponse is the response for custom resource validation, can be a validation complete response or an error response.

func (*CustomValidateResourceResponse) Descriptor deprecated

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

Deprecated: Use CustomValidateResourceResponse.ProtoReflect.Descriptor instead.

func (*CustomValidateResourceResponse) GetCompleteResponse

func (*CustomValidateResourceResponse) GetErrorResponse

func (*CustomValidateResourceResponse) GetResponse

func (x *CustomValidateResourceResponse) GetResponse() isCustomValidateResourceResponse_Response

func (*CustomValidateResourceResponse) ProtoMessage

func (*CustomValidateResourceResponse) ProtoMessage()

func (*CustomValidateResourceResponse) ProtoReflect

func (*CustomValidateResourceResponse) Reset

func (x *CustomValidateResourceResponse) Reset()

func (*CustomValidateResourceResponse) String

type CustomValidateResourceResponse_CompleteResponse

type CustomValidateResourceResponse_CompleteResponse struct {
	CompleteResponse *CustomValidateResourceCompleteResponse `protobuf:"bytes,1,opt,name=complete_response,json=completeResponse,oneof"`
}

type CustomValidateResourceResponse_ErrorResponse

type CustomValidateResourceResponse_ErrorResponse struct {
	ErrorResponse *sharedtypesv1.ErrorResponse `protobuf:"bytes,2,opt,name=error_response,json=errorResponse,oneof"`
}

type CustomVariableType

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

The type of custom variable to be used to determine the available values for a variable in a blueprint.

func (*CustomVariableType) Descriptor deprecated

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

Deprecated: Use CustomVariableType.ProtoReflect.Descriptor instead.

func (*CustomVariableType) GetType

func (x *CustomVariableType) GetType() string

func (*CustomVariableType) ProtoMessage

func (*CustomVariableType) ProtoMessage()

func (*CustomVariableType) ProtoReflect

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

func (*CustomVariableType) Reset

func (x *CustomVariableType) Reset()

func (*CustomVariableType) String

func (x *CustomVariableType) String() string

type CustomVariableTypeInfo

type CustomVariableTypeInfo struct {

	// The type of the data source.
	Type *CustomVariableType `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
	// The human-readable label for the data source type.
	Label string `protobuf:"bytes,2,opt,name=label" json:"label,omitempty"`
	// contains filtered or unexported fields
}

CustomVariableTypeInfo provides information about a custom variable type that can be used for documentation and tooling.

func (*CustomVariableTypeInfo) Descriptor deprecated

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

Deprecated: Use CustomVariableTypeInfo.ProtoReflect.Descriptor instead.

func (*CustomVariableTypeInfo) GetLabel

func (x *CustomVariableTypeInfo) GetLabel() string

func (*CustomVariableTypeInfo) GetType

func (*CustomVariableTypeInfo) ProtoMessage

func (*CustomVariableTypeInfo) ProtoMessage()

func (*CustomVariableTypeInfo) ProtoReflect

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

func (*CustomVariableTypeInfo) Reset

func (x *CustomVariableTypeInfo) Reset()

func (*CustomVariableTypeInfo) String

func (x *CustomVariableTypeInfo) String() string

type CustomVariableTypeOption

type CustomVariableTypeOption struct {

	// The value of the custom variable type option.
	Value *schemapb.ScalarValue `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"`
	// The human-readable label for the custom variable type option.
	Label string `protobuf:"bytes,2,opt,name=label" json:"label,omitempty"`
	// The human-readable description for the custom variable type option.
	Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"`
	// The human-readable description for the custom variable type option
	// that is formatted with markdown.
	FormattedDescription string `protobuf:"bytes,4,opt,name=formatted_description,json=formattedDescription" json:"formatted_description,omitempty"`
	// contains filtered or unexported fields
}

CustomVariableTypeOption is an option for a custom variable type containing a value, label and description.

func (*CustomVariableTypeOption) Descriptor deprecated

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

Deprecated: Use CustomVariableTypeOption.ProtoReflect.Descriptor instead.

func (*CustomVariableTypeOption) GetDescription

func (x *CustomVariableTypeOption) GetDescription() string

func (*CustomVariableTypeOption) GetFormattedDescription

func (x *CustomVariableTypeOption) GetFormattedDescription() string

func (*CustomVariableTypeOption) GetLabel

func (x *CustomVariableTypeOption) GetLabel() string

func (*CustomVariableTypeOption) GetValue

func (*CustomVariableTypeOption) ProtoMessage

func (*CustomVariableTypeOption) ProtoMessage()

func (*CustomVariableTypeOption) ProtoReflect

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

func (*CustomVariableTypeOption) Reset

func (x *CustomVariableTypeOption) Reset()

func (*CustomVariableTypeOption) String

func (x *CustomVariableTypeOption) String() string

type CustomVariableTypeOptions

type CustomVariableTypeOptions struct {
	Options map[string]*CustomVariableTypeOption `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

CustomVariableTypeOptions provides options for a custom variable type.

func (*CustomVariableTypeOptions) Descriptor deprecated

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

Deprecated: Use CustomVariableTypeOptions.ProtoReflect.Descriptor instead.

func (*CustomVariableTypeOptions) GetOptions

func (*CustomVariableTypeOptions) ProtoMessage

func (*CustomVariableTypeOptions) ProtoMessage()

func (*CustomVariableTypeOptions) ProtoReflect

func (*CustomVariableTypeOptions) Reset

func (x *CustomVariableTypeOptions) Reset()

func (*CustomVariableTypeOptions) String

func (x *CustomVariableTypeOptions) String() string

type CustomVariableTypeOptionsResponse

type CustomVariableTypeOptionsResponse struct {

	// Types that are valid to be assigned to Response:
	//
	//	*CustomVariableTypeOptionsResponse_Options
	//	*CustomVariableTypeOptionsResponse_ErrorResponse
	Response isCustomVariableTypeOptionsResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

CustomVariableTypeOptionsResponse is the response containing the options for a custom variable type.

func (*CustomVariableTypeOptionsResponse) Descriptor deprecated

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

Deprecated: Use CustomVariableTypeOptionsResponse.ProtoReflect.Descriptor instead.

func (*CustomVariableTypeOptionsResponse) GetErrorResponse

func (*CustomVariableTypeOptionsResponse) GetOptions

func (*CustomVariableTypeOptionsResponse) GetResponse

func (x *CustomVariableTypeOptionsResponse) GetResponse() isCustomVariableTypeOptionsResponse_Response

func (*CustomVariableTypeOptionsResponse) ProtoMessage

func (*CustomVariableTypeOptionsResponse) ProtoMessage()

func (*CustomVariableTypeOptionsResponse) ProtoReflect

func (*CustomVariableTypeOptionsResponse) Reset

func (*CustomVariableTypeOptionsResponse) String

type CustomVariableTypeOptionsResponse_ErrorResponse

type CustomVariableTypeOptionsResponse_ErrorResponse struct {
	ErrorResponse *sharedtypesv1.ErrorResponse `protobuf:"bytes,2,opt,name=error_response,json=errorResponse,oneof"`
}

type CustomVariableTypeOptionsResponse_Options

type CustomVariableTypeOptionsResponse_Options struct {
	Options *CustomVariableTypeOptions `protobuf:"bytes,1,opt,name=options,oneof"`
}

type CustomVariableTypeRequest

type CustomVariableTypeRequest struct {

	// The type of custom variable type to carry out an action
	// on or retrieve some information about.
	CustomVariableType *CustomVariableType `protobuf:"bytes,1,opt,name=custom_variable_type,json=customVariableType" json:"custom_variable_type,omitempty"`
	// The ID of the host making the request
	// to the provider.
	HostId string `protobuf:"bytes,2,opt,name=host_id,json=hostId" json:"host_id,omitempty"`
	// Runtime configuration for the current environment
	// specific to the current provider.
	Context *sharedtypesv1.ProviderContext `protobuf:"bytes,3,opt,name=context" json:"context,omitempty"`
	// contains filtered or unexported fields
}

CustomVariableTypeRequest is the request input for custom variable type requests that only require a custom variable type and the current context.

func (*CustomVariableTypeRequest) Descriptor deprecated

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

Deprecated: Use CustomVariableTypeRequest.ProtoReflect.Descriptor instead.

func (*CustomVariableTypeRequest) GetContext

func (*CustomVariableTypeRequest) GetCustomVariableType

func (x *CustomVariableTypeRequest) GetCustomVariableType() *CustomVariableType

func (*CustomVariableTypeRequest) GetHostId

func (x *CustomVariableTypeRequest) GetHostId() string

func (*CustomVariableTypeRequest) ProtoMessage

func (*CustomVariableTypeRequest) ProtoMessage()

func (*CustomVariableTypeRequest) ProtoReflect

func (*CustomVariableTypeRequest) Reset

func (x *CustomVariableTypeRequest) Reset()

func (*CustomVariableTypeRequest) String

func (x *CustomVariableTypeRequest) String() string

type CustomVariableTypeResponse

type CustomVariableTypeResponse struct {

	// Types that are valid to be assigned to Response:
	//
	//	*CustomVariableTypeResponse_CustomVarTypeInfo
	//	*CustomVariableTypeResponse_ErrorResponse
	Response isCustomVariableTypeResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

CustomVariableTypeResponse is the response containing the type information for a custom variable type.

func (*CustomVariableTypeResponse) Descriptor deprecated

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

Deprecated: Use CustomVariableTypeResponse.ProtoReflect.Descriptor instead.

func (*CustomVariableTypeResponse) GetCustomVarTypeInfo

func (x *CustomVariableTypeResponse) GetCustomVarTypeInfo() *CustomVariableTypeInfo

func (*CustomVariableTypeResponse) GetErrorResponse

func (*CustomVariableTypeResponse) GetResponse

func (x *CustomVariableTypeResponse) GetResponse() isCustomVariableTypeResponse_Response

func (*CustomVariableTypeResponse) ProtoMessage

func (*CustomVariableTypeResponse) ProtoMessage()

func (*CustomVariableTypeResponse) ProtoReflect

func (*CustomVariableTypeResponse) Reset

func (x *CustomVariableTypeResponse) Reset()

func (*CustomVariableTypeResponse) String

func (x *CustomVariableTypeResponse) String() string

type CustomVariableTypeResponse_CustomVarTypeInfo

type CustomVariableTypeResponse_CustomVarTypeInfo struct {
	CustomVarTypeInfo *CustomVariableTypeInfo `protobuf:"bytes,1,opt,name=custom_var_type_info,json=customVarTypeInfo,oneof"`
}

type CustomVariableTypeResponse_ErrorResponse

type CustomVariableTypeResponse_ErrorResponse struct {
	ErrorResponse *sharedtypesv1.ErrorResponse `protobuf:"bytes,2,opt,name=error_response,json=errorResponse,oneof"`
}

type CustomVariableTypes

type CustomVariableTypes struct {
	CustomVariableTypes []*CustomVariableType `protobuf:"bytes,1,rep,name=custom_variable_types,json=customVariableTypes" json:"custom_variable_types,omitempty"`
	// contains filtered or unexported fields
}

CustomVariableTypes holds a list of custom variable types that are implemented by the provider.

func (*CustomVariableTypes) Descriptor deprecated

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

Deprecated: Use CustomVariableTypes.ProtoReflect.Descriptor instead.

func (*CustomVariableTypes) GetCustomVariableTypes

func (x *CustomVariableTypes) GetCustomVariableTypes() []*CustomVariableType

func (*CustomVariableTypes) ProtoMessage

func (*CustomVariableTypes) ProtoMessage()

func (*CustomVariableTypes) ProtoReflect

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

func (*CustomVariableTypes) Reset

func (x *CustomVariableTypes) Reset()

func (*CustomVariableTypes) String

func (x *CustomVariableTypes) String() string

type CustomVariableTypesResponse

type CustomVariableTypesResponse struct {

	// Types that are valid to be assigned to Response:
	//
	//	*CustomVariableTypesResponse_CustomVariableTypes
	//	*CustomVariableTypesResponse_ErrorResponse
	Response isCustomVariableTypesResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

CustomVariableTypesResponse contains the response for requesting a list of all the custom variable types that are implemented by the provider.

func (*CustomVariableTypesResponse) Descriptor deprecated

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

Deprecated: Use CustomVariableTypesResponse.ProtoReflect.Descriptor instead.

func (*CustomVariableTypesResponse) GetCustomVariableTypes

func (x *CustomVariableTypesResponse) GetCustomVariableTypes() *CustomVariableTypes

func (*CustomVariableTypesResponse) GetErrorResponse

func (*CustomVariableTypesResponse) GetResponse

func (x *CustomVariableTypesResponse) GetResponse() isCustomVariableTypesResponse_Response

func (*CustomVariableTypesResponse) ProtoMessage

func (*CustomVariableTypesResponse) ProtoMessage()

func (*CustomVariableTypesResponse) ProtoReflect

func (*CustomVariableTypesResponse) Reset

func (x *CustomVariableTypesResponse) Reset()

func (*CustomVariableTypesResponse) String

func (x *CustomVariableTypesResponse) String() string

type CustomVariableTypesResponse_CustomVariableTypes

type CustomVariableTypesResponse_CustomVariableTypes struct {
	CustomVariableTypes *CustomVariableTypes `protobuf:"bytes,1,opt,name=custom_variable_types,json=customVariableTypes,oneof"`
}

type CustomVariableTypesResponse_ErrorResponse

type CustomVariableTypesResponse_ErrorResponse struct {
	ErrorResponse *sharedtypesv1.ErrorResponse `protobuf:"bytes,2,opt,name=error_response,json=errorResponse,oneof"`
}

type DataSourceFilterFieldSchema

type DataSourceFilterFieldSchema struct {
	Type                 string   `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
	Description          string   `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"`
	FormattedDescription string   `protobuf:"bytes,3,opt,name=formatted_description,json=formattedDescription" json:"formatted_description,omitempty"`
	SupportedOperators   []string `protobuf:"bytes,4,rep,name=supported_operators,json=supportedOperators" json:"supported_operators,omitempty"`
	ConflictsWith        []string `protobuf:"bytes,5,rep,name=conflicts_with,json=conflictsWith" json:"conflicts_with,omitempty"`
	// contains filtered or unexported fields
}

DataSourceFilterFieldSchema provides the schema for a data source filter field.

func (*DataSourceFilterFieldSchema) Descriptor deprecated

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

Deprecated: Use DataSourceFilterFieldSchema.ProtoReflect.Descriptor instead.

func (*DataSourceFilterFieldSchema) GetConflictsWith

func (x *DataSourceFilterFieldSchema) GetConflictsWith() []string

func (*DataSourceFilterFieldSchema) GetDescription

func (x *DataSourceFilterFieldSchema) GetDescription() string

func (*DataSourceFilterFieldSchema) GetFormattedDescription

func (x *DataSourceFilterFieldSchema) GetFormattedDescription() string

func (*DataSourceFilterFieldSchema) GetSupportedOperators

func (x *DataSourceFilterFieldSchema) GetSupportedOperators() []string

func (*DataSourceFilterFieldSchema) GetType

func (x *DataSourceFilterFieldSchema) GetType() string

func (*DataSourceFilterFieldSchema) ProtoMessage

func (*DataSourceFilterFieldSchema) ProtoMessage()

func (*DataSourceFilterFieldSchema) ProtoReflect

func (*DataSourceFilterFieldSchema) Reset

func (x *DataSourceFilterFieldSchema) Reset()

func (*DataSourceFilterFieldSchema) String

func (x *DataSourceFilterFieldSchema) String() string

type DataSourceFilterFields

type DataSourceFilterFields struct {
	FilterFields map[string]*DataSourceFilterFieldSchema `` /* 164-byte string literal not displayed */
	// contains filtered or unexported fields
}

DataSourceFilterFields provides the fields that can be filtered on for a data source.

func (*DataSourceFilterFields) Descriptor deprecated

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

Deprecated: Use DataSourceFilterFields.ProtoReflect.Descriptor instead.

func (*DataSourceFilterFields) GetFilterFields

func (x *DataSourceFilterFields) GetFilterFields() map[string]*DataSourceFilterFieldSchema

func (*DataSourceFilterFields) ProtoMessage

func (*DataSourceFilterFields) ProtoMessage()

func (*DataSourceFilterFields) ProtoReflect

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

func (*DataSourceFilterFields) Reset

func (x *DataSourceFilterFields) Reset()

func (*DataSourceFilterFields) String

func (x *DataSourceFilterFields) String() string

type DataSourceFilterFieldsResponse

type DataSourceFilterFieldsResponse struct {

	// Types that are valid to be assigned to Response:
	//
	//	*DataSourceFilterFieldsResponse_FilterFields
	//	*DataSourceFilterFieldsResponse_ErrorResponse
	Response isDataSourceFilterFieldsResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

DataSourceFilterFieldsResponse is the response containing the fields that can be filtered on for a data source.

func (*DataSourceFilterFieldsResponse) Descriptor deprecated

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

Deprecated: Use DataSourceFilterFieldsResponse.ProtoReflect.Descriptor instead.

func (*DataSourceFilterFieldsResponse) GetErrorResponse

func (*DataSourceFilterFieldsResponse) GetFilterFields

func (*DataSourceFilterFieldsResponse) GetResponse

func (x *DataSourceFilterFieldsResponse) GetResponse() isDataSourceFilterFieldsResponse_Response

func (*DataSourceFilterFieldsResponse) ProtoMessage

func (*DataSourceFilterFieldsResponse) ProtoMessage()

func (*DataSourceFilterFieldsResponse) ProtoReflect

func (*DataSourceFilterFieldsResponse) Reset

func (x *DataSourceFilterFieldsResponse) Reset()

func (*DataSourceFilterFieldsResponse) String

type DataSourceFilterFieldsResponse_ErrorResponse

type DataSourceFilterFieldsResponse_ErrorResponse struct {
	ErrorResponse *sharedtypesv1.ErrorResponse `protobuf:"bytes,2,opt,name=error_response,json=errorResponse,oneof"`
}

type DataSourceFilterFieldsResponse_FilterFields

type DataSourceFilterFieldsResponse_FilterFields struct {
	FilterFields *DataSourceFilterFields `protobuf:"bytes,1,opt,name=filter_fields,json=filterFields,oneof"`
}

type DataSourceRequest

type DataSourceRequest struct {

	// The type of data source to carry out an action on or retrieve
	// some information about.
	DataSourceType *DataSourceType `protobuf:"bytes,1,opt,name=data_source_type,json=dataSourceType" json:"data_source_type,omitempty"`
	// The ID of the host making the request
	// to the provider.
	HostId string `protobuf:"bytes,2,opt,name=host_id,json=hostId" json:"host_id,omitempty"`
	// Runtime configuration for the current environment
	// specific to the current provider.
	Context *sharedtypesv1.ProviderContext `protobuf:"bytes,3,opt,name=context" json:"context,omitempty"`
	// contains filtered or unexported fields
}

DataSourceRequest is the request input for general data source type requests that only require a data source type and the current context.

func (*DataSourceRequest) Descriptor deprecated

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

Deprecated: Use DataSourceRequest.ProtoReflect.Descriptor instead.

func (*DataSourceRequest) GetContext

func (*DataSourceRequest) GetDataSourceType

func (x *DataSourceRequest) GetDataSourceType() *DataSourceType

func (*DataSourceRequest) GetHostId

func (x *DataSourceRequest) GetHostId() string

func (*DataSourceRequest) ProtoMessage

func (*DataSourceRequest) ProtoMessage()

func (*DataSourceRequest) ProtoReflect

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

func (*DataSourceRequest) Reset

func (x *DataSourceRequest) Reset()

func (*DataSourceRequest) String

func (x *DataSourceRequest) String() string

type DataSourceSpecDefinition

type DataSourceSpecDefinition struct {

	// Holds a mapping of schemas for
	// fields that can be exported from a data source.
	// Unlike resource specs, data source specs are restricted
	// in that they only support primitives or arrays of primitives.
	Fields map[string]*DataSourceSpecSchema `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

DataSourceSpecDefinition provides the definition for a data source spec that can be used for validation, docs and tooling.

func (*DataSourceSpecDefinition) Descriptor deprecated

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

Deprecated: Use DataSourceSpecDefinition.ProtoReflect.Descriptor instead.

func (*DataSourceSpecDefinition) GetFields

func (*DataSourceSpecDefinition) ProtoMessage

func (*DataSourceSpecDefinition) ProtoMessage()

func (*DataSourceSpecDefinition) ProtoReflect

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

func (*DataSourceSpecDefinition) Reset

func (x *DataSourceSpecDefinition) Reset()

func (*DataSourceSpecDefinition) String

func (x *DataSourceSpecDefinition) String() string

type DataSourceSpecDefinitionResponse

type DataSourceSpecDefinitionResponse struct {

	// Types that are valid to be assigned to Response:
	//
	//	*DataSourceSpecDefinitionResponse_SpecDefinition
	//	*DataSourceSpecDefinitionResponse_ErrorResponse
	Response isDataSourceSpecDefinitionResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

DataSourceSpecDefinitionResponse is the response containing the definition for a data source spec.

func (*DataSourceSpecDefinitionResponse) Descriptor deprecated

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

Deprecated: Use DataSourceSpecDefinitionResponse.ProtoReflect.Descriptor instead.

func (*DataSourceSpecDefinitionResponse) GetErrorResponse

func (*DataSourceSpecDefinitionResponse) GetResponse

func (x *DataSourceSpecDefinitionResponse) GetResponse() isDataSourceSpecDefinitionResponse_Response

func (*DataSourceSpecDefinitionResponse) GetSpecDefinition

func (*DataSourceSpecDefinitionResponse) ProtoMessage

func (*DataSourceSpecDefinitionResponse) ProtoMessage()

func (*DataSourceSpecDefinitionResponse) ProtoReflect

func (*DataSourceSpecDefinitionResponse) Reset

func (*DataSourceSpecDefinitionResponse) String

type DataSourceSpecDefinitionResponse_ErrorResponse

type DataSourceSpecDefinitionResponse_ErrorResponse struct {
	ErrorResponse *sharedtypesv1.ErrorResponse `protobuf:"bytes,2,opt,name=error_response,json=errorResponse,oneof"`
}

type DataSourceSpecDefinitionResponse_SpecDefinition

type DataSourceSpecDefinitionResponse_SpecDefinition struct {
	SpecDefinition *DataSourceSpecDefinition `protobuf:"bytes,1,opt,name=spec_definition,json=specDefinition,oneof"`
}

type DataSourceSpecSchema

type DataSourceSpecSchema struct {

	// The type of the data source spec.
	Type DataSourceSpecSchemaType `protobuf:"varint,1,opt,name=type,enum=providerserverv1.DataSourceSpecSchemaType" json:"type,omitempty"`
	// The human-readable label for the data source spec.
	Label string `protobuf:"bytes,2,opt,name=label" json:"label,omitempty"`
	// A human-readable description for the data source spec
	// without any formatting.
	Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"`
	// A human-readable description for the data source spec
	// that is formatted with markdown.
	FormattedDescription string `protobuf:"bytes,4,opt,name=formatted_description,json=formattedDescription" json:"formatted_description,omitempty"`
	// Holds the schema for the items in a data source spec schema array.
	// Items are expected to be of a primitive type, if an array type is provided here,
	// an error will occur.
	Items *DataSourceSpecSchema `protobuf:"bytes,5,opt,name=items" json:"items,omitempty"`
	// Specifices whether the data source spec schema can be null.
	// This essentially means that the data source implementation can provide
	// a null value for the field.
	Nullable bool `protobuf:"varint,6,opt,name=nullable" json:"nullable,omitempty"`
	// Specifies whether the field for the schema is sensitive
	// and should not be logged or displayed in output.
	Sensitive bool `protobuf:"varint,7,opt,name=sensitive" json:"sensitive,omitempty"`
	// contains filtered or unexported fields
}

DataSourceSpecSchema provides a schema that can be used to validate a data source spec.

func (*DataSourceSpecSchema) Descriptor deprecated

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

Deprecated: Use DataSourceSpecSchema.ProtoReflect.Descriptor instead.

func (*DataSourceSpecSchema) GetDescription

func (x *DataSourceSpecSchema) GetDescription() string

func (*DataSourceSpecSchema) GetFormattedDescription

func (x *DataSourceSpecSchema) GetFormattedDescription() string

func (*DataSourceSpecSchema) GetItems

func (*DataSourceSpecSchema) GetLabel

func (x *DataSourceSpecSchema) GetLabel() string

func (*DataSourceSpecSchema) GetNullable

func (x *DataSourceSpecSchema) GetNullable() bool

func (*DataSourceSpecSchema) GetSensitive

func (x *DataSourceSpecSchema) GetSensitive() bool

func (*DataSourceSpecSchema) GetType

func (*DataSourceSpecSchema) ProtoMessage

func (*DataSourceSpecSchema) ProtoMessage()

func (*DataSourceSpecSchema) ProtoReflect

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

func (*DataSourceSpecSchema) Reset

func (x *DataSourceSpecSchema) Reset()

func (*DataSourceSpecSchema) String

func (x *DataSourceSpecSchema) String() string

type DataSourceSpecSchemaType

type DataSourceSpecSchemaType int32

DataSourceSpecSchemaType represents the type of a data source spec schema. This will be translated to a string enum representation in the deploy engine.

const (
	DataSourceSpecSchemaType_DATA_SOURCE_SPEC_STRING  DataSourceSpecSchemaType = 0
	DataSourceSpecSchemaType_DATA_SOURCE_SPEC_INTEGER DataSourceSpecSchemaType = 1
	DataSourceSpecSchemaType_DATA_SOURCE_SPEC_FLOAT   DataSourceSpecSchemaType = 2
	DataSourceSpecSchemaType_DATA_SOURCE_SPEC_BOOLEAN DataSourceSpecSchemaType = 3
	DataSourceSpecSchemaType_DATA_SOURCE_SPEC_ARRAY   DataSourceSpecSchemaType = 4
)

func (DataSourceSpecSchemaType) Descriptor

func (DataSourceSpecSchemaType) Enum

func (DataSourceSpecSchemaType) EnumDescriptor deprecated

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

Deprecated: Use DataSourceSpecSchemaType.Descriptor instead.

func (DataSourceSpecSchemaType) Number

func (DataSourceSpecSchemaType) String

func (x DataSourceSpecSchemaType) String() string

func (DataSourceSpecSchemaType) Type

type DataSourceType

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

The type of data source to retrieve data used in a blueprint from.

func (*DataSourceType) Descriptor deprecated

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

Deprecated: Use DataSourceType.ProtoReflect.Descriptor instead.

func (*DataSourceType) GetType

func (x *DataSourceType) GetType() string

func (*DataSourceType) ProtoMessage

func (*DataSourceType) ProtoMessage()

func (*DataSourceType) ProtoReflect

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

func (*DataSourceType) Reset

func (x *DataSourceType) Reset()

func (*DataSourceType) String

func (x *DataSourceType) String() string

type DataSourceTypeInfo

type DataSourceTypeInfo struct {

	// The type of the data source.
	Type *DataSourceType `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
	// The human-readable label for the data source type.
	Label string `protobuf:"bytes,2,opt,name=label" json:"label,omitempty"`
	// contains filtered or unexported fields
}

DataSourceTypeInfo provides information about a data source type that can be used for documentation and tooling.

func (*DataSourceTypeInfo) Descriptor deprecated

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

Deprecated: Use DataSourceTypeInfo.ProtoReflect.Descriptor instead.

func (*DataSourceTypeInfo) GetLabel

func (x *DataSourceTypeInfo) GetLabel() string

func (*DataSourceTypeInfo) GetType

func (x *DataSourceTypeInfo) GetType() *DataSourceType

func (*DataSourceTypeInfo) ProtoMessage

func (*DataSourceTypeInfo) ProtoMessage()

func (*DataSourceTypeInfo) ProtoReflect

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

func (*DataSourceTypeInfo) Reset

func (x *DataSourceTypeInfo) Reset()

func (*DataSourceTypeInfo) String

func (x *DataSourceTypeInfo) String() string

type DataSourceTypeResponse

type DataSourceTypeResponse struct {

	// Types that are valid to be assigned to Response:
	//
	//	*DataSourceTypeResponse_DataSourceTypeInfo
	//	*DataSourceTypeResponse_ErrorResponse
	Response isDataSourceTypeResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

DataSourceTypeResponse is the response containing the type information for a data source.

func (*DataSourceTypeResponse) Descriptor deprecated

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

Deprecated: Use DataSourceTypeResponse.ProtoReflect.Descriptor instead.

func (*DataSourceTypeResponse) GetDataSourceTypeInfo

func (x *DataSourceTypeResponse) GetDataSourceTypeInfo() *DataSourceTypeInfo

func (*DataSourceTypeResponse) GetErrorResponse

func (x *DataSourceTypeResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse

func (*DataSourceTypeResponse) GetResponse

func (x *DataSourceTypeResponse) GetResponse() isDataSourceTypeResponse_Response

func (*DataSourceTypeResponse) ProtoMessage

func (*DataSourceTypeResponse) ProtoMessage()

func (*DataSourceTypeResponse) ProtoReflect

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

func (*DataSourceTypeResponse) Reset

func (x *DataSourceTypeResponse) Reset()

func (*DataSourceTypeResponse) String

func (x *DataSourceTypeResponse) String() string

type DataSourceTypeResponse_DataSourceTypeInfo

type DataSourceTypeResponse_DataSourceTypeInfo struct {
	DataSourceTypeInfo *DataSourceTypeInfo `protobuf:"bytes,1,opt,name=data_source_type_info,json=dataSourceTypeInfo,oneof"`
}

type DataSourceTypeResponse_ErrorResponse

type DataSourceTypeResponse_ErrorResponse struct {
	ErrorResponse *sharedtypesv1.ErrorResponse `protobuf:"bytes,2,opt,name=error_response,json=errorResponse,oneof"`
}

type DataSourceTypes

type DataSourceTypes struct {
	DataSourceTypes []*DataSourceType `protobuf:"bytes,1,rep,name=data_source_types,json=dataSourceTypes" json:"data_source_types,omitempty"`
	// contains filtered or unexported fields
}

DataSourceTypes holds a list of data source types that are implemented by the provider.

func (*DataSourceTypes) Descriptor deprecated

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

Deprecated: Use DataSourceTypes.ProtoReflect.Descriptor instead.

func (*DataSourceTypes) GetDataSourceTypes

func (x *DataSourceTypes) GetDataSourceTypes() []*DataSourceType

func (*DataSourceTypes) ProtoMessage

func (*DataSourceTypes) ProtoMessage()

func (*DataSourceTypes) ProtoReflect

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

func (*DataSourceTypes) Reset

func (x *DataSourceTypes) Reset()

func (*DataSourceTypes) String

func (x *DataSourceTypes) String() string

type DataSourceTypesResponse

type DataSourceTypesResponse struct {

	// Types that are valid to be assigned to Response:
	//
	//	*DataSourceTypesResponse_DataSourceTypes
	//	*DataSourceTypesResponse_ErrorResponse
	Response isDataSourceTypesResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

DataSourceTypesResponse contains the response for requesting a list of all the data source types that are implemented by the provider.

func (*DataSourceTypesResponse) Descriptor deprecated

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

Deprecated: Use DataSourceTypesResponse.ProtoReflect.Descriptor instead.

func (*DataSourceTypesResponse) GetDataSourceTypes

func (x *DataSourceTypesResponse) GetDataSourceTypes() *DataSourceTypes

func (*DataSourceTypesResponse) GetErrorResponse

func (x *DataSourceTypesResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse

func (*DataSourceTypesResponse) GetResponse

func (x *DataSourceTypesResponse) GetResponse() isDataSourceTypesResponse_Response

func (*DataSourceTypesResponse) ProtoMessage

func (*DataSourceTypesResponse) ProtoMessage()

func (*DataSourceTypesResponse) ProtoReflect

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

func (*DataSourceTypesResponse) Reset

func (x *DataSourceTypesResponse) Reset()

func (*DataSourceTypesResponse) String

func (x *DataSourceTypesResponse) String() string

type DataSourceTypesResponse_DataSourceTypes

type DataSourceTypesResponse_DataSourceTypes struct {
	DataSourceTypes *DataSourceTypes `protobuf:"bytes,1,opt,name=data_source_types,json=dataSourceTypes,oneof"`
}

type DataSourceTypesResponse_ErrorResponse

type DataSourceTypesResponse_ErrorResponse struct {
	ErrorResponse *sharedtypesv1.ErrorResponse `protobuf:"bytes,2,opt,name=error_response,json=errorResponse,oneof"`
}

type FetchDataSourceCompleteResponse

type FetchDataSourceCompleteResponse struct {
	Data map[string]*schemapb.MappingNode `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

FetchDataSourceCompleteResponse is the response returned by the provider plugin when data has been fetched from an upstream data source. This should contain the resolved data source fields that have been fetched.

func (*FetchDataSourceCompleteResponse) Descriptor deprecated

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

Deprecated: Use FetchDataSourceCompleteResponse.ProtoReflect.Descriptor instead.

func (*FetchDataSourceCompleteResponse) GetData

func (*FetchDataSourceCompleteResponse) ProtoMessage

func (*FetchDataSourceCompleteResponse) ProtoMessage()

func (*FetchDataSourceCompleteResponse) ProtoReflect

func (*FetchDataSourceCompleteResponse) Reset

func (*FetchDataSourceCompleteResponse) String

type FetchDataSourceRequest

type FetchDataSourceRequest struct {
	DataSourceType *DataSourceType `protobuf:"bytes,1,opt,name=data_source_type,json=dataSourceType" json:"data_source_type,omitempty"`
	// A version of a data source for which all ${..}
	// substitutions have been applied.
	DataSourceWithResolvedSubs *ResolvedDataSource `` /* 138-byte string literal not displayed */
	// The ID of the host making the request
	// to the provider.
	HostId  string                         `protobuf:"bytes,3,opt,name=host_id,json=hostId" json:"host_id,omitempty"`
	Context *sharedtypesv1.ProviderContext `protobuf:"bytes,4,opt,name=context" json:"context,omitempty"`
	// contains filtered or unexported fields
}

FetchDataSourceRequest is the request input for fetching data from an upstream data source.

func (*FetchDataSourceRequest) Descriptor deprecated

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

Deprecated: Use FetchDataSourceRequest.ProtoReflect.Descriptor instead.

func (*FetchDataSourceRequest) GetContext

func (*FetchDataSourceRequest) GetDataSourceType

func (x *FetchDataSourceRequest) GetDataSourceType() *DataSourceType

func (*FetchDataSourceRequest) GetDataSourceWithResolvedSubs

func (x *FetchDataSourceRequest) GetDataSourceWithResolvedSubs() *ResolvedDataSource

func (*FetchDataSourceRequest) GetHostId

func (x *FetchDataSourceRequest) GetHostId() string

func (*FetchDataSourceRequest) ProtoMessage

func (*FetchDataSourceRequest) ProtoMessage()

func (*FetchDataSourceRequest) ProtoReflect

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

func (*FetchDataSourceRequest) Reset

func (x *FetchDataSourceRequest) Reset()

func (*FetchDataSourceRequest) String

func (x *FetchDataSourceRequest) String() string

type FetchDataSourceResponse

type FetchDataSourceResponse struct {

	// Types that are valid to be assigned to Response:
	//
	//	*FetchDataSourceResponse_CompleteResponse
	//	*FetchDataSourceResponse_ErrorResponse
	Response isFetchDataSourceResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

FetchDataSourceResponse is the response containing the result of fetching data from an upstream data source.

func (*FetchDataSourceResponse) Descriptor deprecated

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

Deprecated: Use FetchDataSourceResponse.ProtoReflect.Descriptor instead.

func (*FetchDataSourceResponse) GetCompleteResponse

func (x *FetchDataSourceResponse) GetCompleteResponse() *FetchDataSourceCompleteResponse

func (*FetchDataSourceResponse) GetErrorResponse

func (x *FetchDataSourceResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse

func (*FetchDataSourceResponse) GetResponse

func (x *FetchDataSourceResponse) GetResponse() isFetchDataSourceResponse_Response

func (*FetchDataSourceResponse) ProtoMessage

func (*FetchDataSourceResponse) ProtoMessage()

func (*FetchDataSourceResponse) ProtoReflect

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

func (*FetchDataSourceResponse) Reset

func (x *FetchDataSourceResponse) Reset()

func (*FetchDataSourceResponse) String

func (x *FetchDataSourceResponse) String() string

type FetchDataSourceResponse_CompleteResponse

type FetchDataSourceResponse_CompleteResponse struct {
	CompleteResponse *FetchDataSourceCompleteResponse `protobuf:"bytes,1,opt,name=complete_response,json=completeResponse,oneof"`
}

type FetchDataSourceResponse_ErrorResponse

type FetchDataSourceResponse_ErrorResponse struct {
	ErrorResponse *sharedtypesv1.ErrorResponse `protobuf:"bytes,2,opt,name=error_response,json=errorResponse,oneof"`
}

type FunctionList

type FunctionList struct {
	Functions []string `protobuf:"bytes,1,rep,name=functions" json:"functions,omitempty"`
	// contains filtered or unexported fields
}

FunctionList holds a list of functions that are implemented by the provider.

func (*FunctionList) Descriptor deprecated

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

Deprecated: Use FunctionList.ProtoReflect.Descriptor instead.

func (*FunctionList) GetFunctions

func (x *FunctionList) GetFunctions() []string

func (*FunctionList) ProtoMessage

func (*FunctionList) ProtoMessage()

func (*FunctionList) ProtoReflect

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

func (*FunctionList) Reset

func (x *FunctionList) Reset()

func (*FunctionList) String

func (x *FunctionList) String() string

type FunctionListResponse

type FunctionListResponse struct {

	// Types that are valid to be assigned to Response:
	//
	//	*FunctionListResponse_FunctionList
	//	*FunctionListResponse_ErrorResponse
	Response isFunctionListResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

FunctionListResponse contains the response for requesting a list of all the functions that are implemented by the provider.

func (*FunctionListResponse) Descriptor deprecated

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

Deprecated: Use FunctionListResponse.ProtoReflect.Descriptor instead.

func (*FunctionListResponse) GetErrorResponse

func (x *FunctionListResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse

func (*FunctionListResponse) GetFunctionList

func (x *FunctionListResponse) GetFunctionList() *FunctionList

func (*FunctionListResponse) GetResponse

func (x *FunctionListResponse) GetResponse() isFunctionListResponse_Response

func (*FunctionListResponse) ProtoMessage

func (*FunctionListResponse) ProtoMessage()

func (*FunctionListResponse) ProtoReflect

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

func (*FunctionListResponse) Reset

func (x *FunctionListResponse) Reset()

func (*FunctionListResponse) String

func (x *FunctionListResponse) String() string

type FunctionListResponse_ErrorResponse

type FunctionListResponse_ErrorResponse struct {
	ErrorResponse *sharedtypesv1.ErrorResponse `protobuf:"bytes,2,opt,name=error_response,json=errorResponse,oneof"`
}

type FunctionListResponse_FunctionList

type FunctionListResponse_FunctionList struct {
	FunctionList *FunctionList `protobuf:"bytes,1,opt,name=function_list,json=functionList,oneof"`
}

type GetResourceExternalStateRequest

type GetResourceExternalStateRequest struct {
	ResourceType *sharedtypesv1.ResourceType `protobuf:"bytes,1,opt,name=resource_type,json=resourceType" json:"resource_type,omitempty"`
	// The ID of the host making the request
	// to the provider.
	HostId                  string                               `protobuf:"bytes,2,opt,name=host_id,json=hostId" json:"host_id,omitempty"`
	InstanceId              string                               `protobuf:"bytes,3,opt,name=instance_id,json=instanceId" json:"instance_id,omitempty"`
	InstanceName            string                               `protobuf:"bytes,4,opt,name=instance_name,json=instanceName" json:"instance_name,omitempty"`
	ResourceId              string                               `protobuf:"bytes,5,opt,name=resource_id,json=resourceId" json:"resource_id,omitempty"`
	CurrentResourceSpec     *schemapb.MappingNode                `protobuf:"bytes,6,opt,name=current_resource_spec,json=currentResourceSpec" json:"current_resource_spec,omitempty"`
	CurrentResourceMetadata *sharedtypesv1.ResourceMetadataState `protobuf:"bytes,7,opt,name=current_resource_metadata,json=currentResourceMetadata" json:"current_resource_metadata,omitempty"`
	Context                 *sharedtypesv1.ProviderContext       `protobuf:"bytes,8,opt,name=context" json:"context,omitempty"`
	// contains filtered or unexported fields
}

GetResourceExternalStateRequest is the request that contains the input data needed to get the live state of a resource from the upstream provider.

func (*GetResourceExternalStateRequest) Descriptor deprecated

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

Deprecated: Use GetResourceExternalStateRequest.ProtoReflect.Descriptor instead.

func (*GetResourceExternalStateRequest) GetContext

func (*GetResourceExternalStateRequest) GetCurrentResourceMetadata

func (x *GetResourceExternalStateRequest) GetCurrentResourceMetadata() *sharedtypesv1.ResourceMetadataState

func (*GetResourceExternalStateRequest) GetCurrentResourceSpec

func (x *GetResourceExternalStateRequest) GetCurrentResourceSpec() *schemapb.MappingNode

func (*GetResourceExternalStateRequest) GetHostId

func (x *GetResourceExternalStateRequest) GetHostId() string

func (*GetResourceExternalStateRequest) GetInstanceId

func (x *GetResourceExternalStateRequest) GetInstanceId() string

func (*GetResourceExternalStateRequest) GetInstanceName

func (x *GetResourceExternalStateRequest) GetInstanceName() string

func (*GetResourceExternalStateRequest) GetResourceId

func (x *GetResourceExternalStateRequest) GetResourceId() string

func (*GetResourceExternalStateRequest) GetResourceType

func (*GetResourceExternalStateRequest) ProtoMessage

func (*GetResourceExternalStateRequest) ProtoMessage()

func (*GetResourceExternalStateRequest) ProtoReflect

func (*GetResourceExternalStateRequest) Reset

func (*GetResourceExternalStateRequest) String

type GetResourceExternalStateResponse

type GetResourceExternalStateResponse struct {

	// Types that are valid to be assigned to Response:
	//
	//	*GetResourceExternalStateResponse_ResourceSpecState
	//	*GetResourceExternalStateResponse_ErrorResponse
	Response isGetResourceExternalStateResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

GetResourceExternalStateResponse is the response containing the live state of a resource derived from the upstream provider.

func (*GetResourceExternalStateResponse) Descriptor deprecated

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

Deprecated: Use GetResourceExternalStateResponse.ProtoReflect.Descriptor instead.

func (*GetResourceExternalStateResponse) GetErrorResponse

func (*GetResourceExternalStateResponse) GetResourceSpecState

func (x *GetResourceExternalStateResponse) GetResourceSpecState() *schemapb.MappingNode

func (*GetResourceExternalStateResponse) GetResponse

func (x *GetResourceExternalStateResponse) GetResponse() isGetResourceExternalStateResponse_Response

func (*GetResourceExternalStateResponse) ProtoMessage

func (*GetResourceExternalStateResponse) ProtoMessage()

func (*GetResourceExternalStateResponse) ProtoReflect

func (*GetResourceExternalStateResponse) Reset

func (*GetResourceExternalStateResponse) String

type GetResourceExternalStateResponse_ErrorResponse

type GetResourceExternalStateResponse_ErrorResponse struct {
	ErrorResponse *sharedtypesv1.ErrorResponse `protobuf:"bytes,2,opt,name=error_response,json=errorResponse,oneof"`
}

type GetResourceExternalStateResponse_ResourceSpecState

type GetResourceExternalStateResponse_ResourceSpecState struct {
	ResourceSpecState *schemapb.MappingNode `protobuf:"bytes,1,opt,name=resource_spec_state,json=resourceSpecState,oneof"`
}

type IsResourceCommonTerminalResponse

type IsResourceCommonTerminalResponse struct {

	// Types that are valid to be assigned to Response:
	//
	//	*IsResourceCommonTerminalResponse_Data
	//	*IsResourceCommonTerminalResponse_ErrorResponse
	Response isIsResourceCommonTerminalResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

IsResourceCommonTerminalResponse is the response for a request to check if a given resource type is expected to have a common use-case as a terminal resource.

func (*IsResourceCommonTerminalResponse) Descriptor deprecated

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

Deprecated: Use IsResourceCommonTerminalResponse.ProtoReflect.Descriptor instead.

func (*IsResourceCommonTerminalResponse) GetData

func (*IsResourceCommonTerminalResponse) GetErrorResponse

func (*IsResourceCommonTerminalResponse) GetResponse

func (x *IsResourceCommonTerminalResponse) GetResponse() isIsResourceCommonTerminalResponse_Response

func (*IsResourceCommonTerminalResponse) ProtoMessage

func (*IsResourceCommonTerminalResponse) ProtoMessage()

func (*IsResourceCommonTerminalResponse) ProtoReflect

func (*IsResourceCommonTerminalResponse) Reset

func (*IsResourceCommonTerminalResponse) String

type IsResourceCommonTerminalResponse_Data

type IsResourceCommonTerminalResponse_Data struct {
	Data *sharedtypesv1.ResourceCommonTerminalInfo `protobuf:"bytes,1,opt,name=data,oneof"`
}

type IsResourceCommonTerminalResponse_ErrorResponse

type IsResourceCommonTerminalResponse_ErrorResponse struct {
	ErrorResponse *sharedtypesv1.ErrorResponse `protobuf:"bytes,2,opt,name=error_response,json=errorResponse,oneof"`
}

type LinkAnnotationDefinition

type LinkAnnotationDefinition struct {
	Name          string                   `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Label         string                   `protobuf:"bytes,2,opt,name=label" json:"label,omitempty"`
	Type          sharedtypesv1.ScalarType `protobuf:"varint,3,opt,name=type,enum=sharedtypesv1.ScalarType" json:"type,omitempty"`
	Description   string                   `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"`
	DefaultValue  *schemapb.ScalarValue    `protobuf:"bytes,5,opt,name=default_value,json=defaultValue" json:"default_value,omitempty"`
	AllowedValues []*schemapb.ScalarValue  `protobuf:"bytes,6,rep,name=allowed_values,json=allowedValues" json:"allowed_values,omitempty"`
	Examples      []*schemapb.ScalarValue  `protobuf:"bytes,7,rep,name=examples" json:"examples,omitempty"`
	Required      bool                     `protobuf:"varint,8,opt,name=required" json:"required,omitempty"`
	// contains filtered or unexported fields
}

LinkAnnotationDefinition provides a way to define annotations for a link type.

func (*LinkAnnotationDefinition) Descriptor deprecated

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

Deprecated: Use LinkAnnotationDefinition.ProtoReflect.Descriptor instead.

func (*LinkAnnotationDefinition) GetAllowedValues

func (x *LinkAnnotationDefinition) GetAllowedValues() []*schemapb.ScalarValue

func (*LinkAnnotationDefinition) GetDefaultValue

func (x *LinkAnnotationDefinition) GetDefaultValue() *schemapb.ScalarValue

func (*LinkAnnotationDefinition) GetDescription

func (x *LinkAnnotationDefinition) GetDescription() string

func (*LinkAnnotationDefinition) GetExamples

func (x *LinkAnnotationDefinition) GetExamples() []*schemapb.ScalarValue

func (*LinkAnnotationDefinition) GetLabel

func (x *LinkAnnotationDefinition) GetLabel() string

func (*LinkAnnotationDefinition) GetName

func (x *LinkAnnotationDefinition) GetName() string

func (*LinkAnnotationDefinition) GetRequired

func (x *LinkAnnotationDefinition) GetRequired() bool

func (*LinkAnnotationDefinition) GetType

func (*LinkAnnotationDefinition) ProtoMessage

func (*LinkAnnotationDefinition) ProtoMessage()

func (*LinkAnnotationDefinition) ProtoReflect

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

func (*LinkAnnotationDefinition) Reset

func (x *LinkAnnotationDefinition) Reset()

func (*LinkAnnotationDefinition) String

func (x *LinkAnnotationDefinition) String() string

type LinkAnnotationDefinitions

type LinkAnnotationDefinitions struct {

	// A mapping of annotation definitions for a link.
	// The keys are expected to be in the format `{resourceType}::{annotationKey}`.
	// For example, `aws/lambda/function::aws.lambda.dynamodb.accessType`.
	// The resource type in the key represents the resource type in a link
	// that the annotation can be applied to.
	Definitions map[string]*LinkAnnotationDefinition `` /* 142-byte string literal not displayed */
	// contains filtered or unexported fields
}

LinkAnnotationDefinition provides a definition for an annotation that can be applied to either of the resources in a link.

func (*LinkAnnotationDefinitions) Descriptor deprecated

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

Deprecated: Use LinkAnnotationDefinitions.ProtoReflect.Descriptor instead.

func (*LinkAnnotationDefinitions) GetDefinitions

func (*LinkAnnotationDefinitions) ProtoMessage

func (*LinkAnnotationDefinitions) ProtoMessage()

func (*LinkAnnotationDefinitions) ProtoReflect

func (*LinkAnnotationDefinitions) Reset

func (x *LinkAnnotationDefinitions) Reset()

func (*LinkAnnotationDefinitions) String

func (x *LinkAnnotationDefinitions) String() string

type LinkAnnotationDefinitionsResponse

type LinkAnnotationDefinitionsResponse struct {

	// Types that are valid to be assigned to Response:
	//
	//	*LinkAnnotationDefinitionsResponse_AnnotationDefinitions
	//	*LinkAnnotationDefinitionsResponse_ErrorResponse
	Response isLinkAnnotationDefinitionsResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

LinkAnnotationDefinitionsResponse is the response containing the annotation definitions for a link.

func (*LinkAnnotationDefinitionsResponse) Descriptor deprecated

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

Deprecated: Use LinkAnnotationDefinitionsResponse.ProtoReflect.Descriptor instead.

func (*LinkAnnotationDefinitionsResponse) GetAnnotationDefinitions

func (x *LinkAnnotationDefinitionsResponse) GetAnnotationDefinitions() *LinkAnnotationDefinitions

func (*LinkAnnotationDefinitionsResponse) GetErrorResponse

func (*LinkAnnotationDefinitionsResponse) GetResponse

func (x *LinkAnnotationDefinitionsResponse) GetResponse() isLinkAnnotationDefinitionsResponse_Response

func (*LinkAnnotationDefinitionsResponse) ProtoMessage

func (*LinkAnnotationDefinitionsResponse) ProtoMessage()

func (*LinkAnnotationDefinitionsResponse) ProtoReflect

func (*LinkAnnotationDefinitionsResponse) Reset

func (*LinkAnnotationDefinitionsResponse) String

type LinkAnnotationDefinitionsResponse_AnnotationDefinitions

type LinkAnnotationDefinitionsResponse_AnnotationDefinitions struct {
	AnnotationDefinitions *LinkAnnotationDefinitions `protobuf:"bytes,1,opt,name=annotation_definitions,json=annotationDefinitions,oneof"`
}

type LinkAnnotationDefinitionsResponse_ErrorResponse

type LinkAnnotationDefinitionsResponse_ErrorResponse struct {
	ErrorResponse *sharedtypesv1.ErrorResponse `protobuf:"bytes,2,opt,name=error_response,json=errorResponse,oneof"`
}

type LinkCompletionDurations

type LinkCompletionDurations struct {

	// The duration information for the update of resource A in the link.
	// This will only be present if the link has reached resource A updated status.
	ResourceAUpdate *LinkComponentCompletionDurations `protobuf:"bytes,1,opt,name=resource_a_update,json=resourceAUpdate" json:"resource_a_update,omitempty"`
	// The duration information for the update of resource B in the link.
	// This will only be present if the link has reached resource B updated status.
	ResourceBUpdate *LinkComponentCompletionDurations `protobuf:"bytes,2,opt,name=resource_b_update,json=resourceBUpdate" json:"resource_b_update,omitempty"`
	// The druation information for the update, creation or removal of intermediary
	// resources in the link.
	// This will only be present if the link has reached intermediary resources updated status.
	IntermediaryResources *LinkComponentCompletionDurations `protobuf:"bytes,3,opt,name=intermediary_resources,json=intermediaryResources" json:"intermediary_resources,omitempty"`
	// The duration in milliseconds for the link change to reach the final status.
	TotalDuration *wrapperspb.DoubleValue `protobuf:"bytes,4,opt,name=total_duration,json=totalDuration" json:"total_duration,omitempty"`
	// contains filtered or unexported fields
}

LinkCompletionDurations holds duration information for the deployment of a link change.

func (*LinkCompletionDurations) Descriptor deprecated

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

Deprecated: Use LinkCompletionDurations.ProtoReflect.Descriptor instead.

func (*LinkCompletionDurations) GetIntermediaryResources

func (x *LinkCompletionDurations) GetIntermediaryResources() *LinkComponentCompletionDurations

func (*LinkCompletionDurations) GetResourceAUpdate

func (*LinkCompletionDurations) GetResourceBUpdate

func (*LinkCompletionDurations) GetTotalDuration

func (x *LinkCompletionDurations) GetTotalDuration() *wrapperspb.DoubleValue

func (*LinkCompletionDurations) ProtoMessage

func (*LinkCompletionDurations) ProtoMessage()

func (*LinkCompletionDurations) ProtoReflect

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

func (*LinkCompletionDurations) Reset

func (x *LinkCompletionDurations) Reset()

func (*LinkCompletionDurations) String

func (x *LinkCompletionDurations) String() string

type LinkComponentCompletionDurations

type LinkComponentCompletionDurations struct {

	// The duration in milliseconds for the link component change to reach the final status.
	TotalDuration *wrapperspb.DoubleValue `protobuf:"bytes,1,opt,name=total_duration,json=totalDuration" json:"total_duration,omitempty"`
	// Holds a list of durations in milliseconds for each attempt to deploy the link
	// component.
	// Attempt durations are in order as per the "attempt" field in a status update message.
	AttemptDurations []float64 `protobuf:"fixed64,2,rep,packed,name=attempt_durations,json=attemptDurations" json:"attempt_durations,omitempty"`
	// contains filtered or unexported fields
}

LinkComponentCompletionDurations holds duration information for a single component of a link change.

func (*LinkComponentCompletionDurations) Descriptor deprecated

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

Deprecated: Use LinkComponentCompletionDurations.ProtoReflect.Descriptor instead.

func (*LinkComponentCompletionDurations) GetAttemptDurations

func (x *LinkComponentCompletionDurations) GetAttemptDurations() []float64

func (*LinkComponentCompletionDurations) GetTotalDuration

func (*LinkComponentCompletionDurations) ProtoMessage

func (*LinkComponentCompletionDurations) ProtoMessage()

func (*LinkComponentCompletionDurations) ProtoReflect

func (*LinkComponentCompletionDurations) Reset

func (*LinkComponentCompletionDurations) String

type LinkContext

type LinkContext struct {

	// Configuration parameters for multiple providers.
	// Keys are expected to be in the format `{providerNamespace}::{variableName}`.
	ProviderConfigVariables map[string]*schemapb.ScalarValue `` /* 199-byte string literal not displayed */
	// Context-wide variables for the current deploy engine run.
	ContextVariables map[string]*schemapb.ScalarValue `` /* 176-byte string literal not displayed */
	// contains filtered or unexported fields
}

LinkContext holds the environment configuration across multiple providers. A special context is required for links, even though links are housed in a single provider, they can involve resources that in different providers.

func (*LinkContext) Descriptor deprecated

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

Deprecated: Use LinkContext.ProtoReflect.Descriptor instead.

func (*LinkContext) GetContextVariables

func (x *LinkContext) GetContextVariables() map[string]*schemapb.ScalarValue

func (*LinkContext) GetProviderConfigVariables

func (x *LinkContext) GetProviderConfigVariables() map[string]*schemapb.ScalarValue

func (*LinkContext) ProtoMessage

func (*LinkContext) ProtoMessage()

func (*LinkContext) ProtoReflect

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

func (*LinkContext) Reset

func (x *LinkContext) Reset()

func (*LinkContext) String

func (x *LinkContext) String() string

type LinkIntermediaryResourceState

type LinkIntermediaryResourceState struct {

	// A globally unique identifier for the resource.
	ResourceId    string                              `protobuf:"bytes,1,opt,name=resource_id,json=resourceId" json:"resource_id,omitempty"`
	ResourceType  string                              `protobuf:"bytes,2,opt,name=resource_type,json=resourceType" json:"resource_type,omitempty"`
	InstanceId    string                              `protobuf:"bytes,3,opt,name=instance_id,json=instanceId" json:"instance_id,omitempty"`
	Status        sharedtypesv1.ResourceStatus        `protobuf:"varint,4,opt,name=status,enum=sharedtypesv1.ResourceStatus" json:"status,omitempty"`
	PreciseStatus sharedtypesv1.PreciseResourceStatus `` /* 135-byte string literal not displayed */
	// The unix timestamp when the resource was last deployed.
	LastDeployedTimestamp int64 `protobuf:"varint,6,opt,name=last_deployed_timestamp,json=lastDeployedTimestamp" json:"last_deployed_timestamp,omitempty"`
	// The unix timestamp when an attempt was last made to deploy the resource.
	LastDeployAttemptTimestamp int64 `` /* 137-byte string literal not displayed */
	// The resolved resource spec for the currently deployed version
	// of the resource along with computed fields derived from the deployed resource
	// in the provider.
	ResourceSpecData *schemapb.MappingNode `protobuf:"bytes,8,opt,name=resource_spec_data,json=resourceSpecData" json:"resource_spec_data,omitempty"`
	// A list of the latest reasons for failures in deploying the resource,
	// this only ever holds the results of the latest deployment attempt.
	FailureReasons []string `protobuf:"bytes,9,rep,name=failure_reasons,json=failureReasons" json:"failure_reasons,omitempty"`
	// contains filtered or unexported fields
}

LinkIntermediaryResourceState holds information about the state of an intermediary resources created for a link.

func (*LinkIntermediaryResourceState) Descriptor deprecated

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

Deprecated: Use LinkIntermediaryResourceState.ProtoReflect.Descriptor instead.

func (*LinkIntermediaryResourceState) GetFailureReasons

func (x *LinkIntermediaryResourceState) GetFailureReasons() []string

func (*LinkIntermediaryResourceState) GetInstanceId

func (x *LinkIntermediaryResourceState) GetInstanceId() string

func (*LinkIntermediaryResourceState) GetLastDeployAttemptTimestamp

func (x *LinkIntermediaryResourceState) GetLastDeployAttemptTimestamp() int64

func (*LinkIntermediaryResourceState) GetLastDeployedTimestamp

func (x *LinkIntermediaryResourceState) GetLastDeployedTimestamp() int64

func (*LinkIntermediaryResourceState) GetPreciseStatus

func (*LinkIntermediaryResourceState) GetResourceId

func (x *LinkIntermediaryResourceState) GetResourceId() string

func (*LinkIntermediaryResourceState) GetResourceSpecData

func (x *LinkIntermediaryResourceState) GetResourceSpecData() *schemapb.MappingNode

func (*LinkIntermediaryResourceState) GetResourceType

func (x *LinkIntermediaryResourceState) GetResourceType() string

func (*LinkIntermediaryResourceState) GetStatus

func (*LinkIntermediaryResourceState) ProtoMessage

func (*LinkIntermediaryResourceState) ProtoMessage()

func (*LinkIntermediaryResourceState) ProtoReflect

func (*LinkIntermediaryResourceState) Reset

func (x *LinkIntermediaryResourceState) Reset()

func (*LinkIntermediaryResourceState) String

type LinkKind

type LinkKind int32

LinkKind represents the kind of a requested link type, a link type can either be a hard or soft link. This is translated to a string enum representation in the deploy engine.

const (
	LinkKind_LINK_KIND_HARD LinkKind = 0
	LinkKind_LINK_KIND_SOFT LinkKind = 1
)

func (LinkKind) Descriptor

func (LinkKind) Descriptor() protoreflect.EnumDescriptor

func (LinkKind) Enum

func (x LinkKind) Enum() *LinkKind

func (LinkKind) EnumDescriptor deprecated

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

Deprecated: Use LinkKind.Descriptor instead.

func (LinkKind) Number

func (x LinkKind) Number() protoreflect.EnumNumber

func (LinkKind) String

func (x LinkKind) String() string

func (LinkKind) Type

type LinkKindInfo

type LinkKindInfo struct {
	Kind LinkKind `protobuf:"varint,1,opt,name=kind,enum=providerserverv1.LinkKind" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

LinkKindInfo contains the kind of a requested link type.

func (*LinkKindInfo) Descriptor deprecated

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

Deprecated: Use LinkKindInfo.ProtoReflect.Descriptor instead.

func (*LinkKindInfo) GetKind

func (x *LinkKindInfo) GetKind() LinkKind

func (*LinkKindInfo) ProtoMessage

func (*LinkKindInfo) ProtoMessage()

func (*LinkKindInfo) ProtoReflect

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

func (*LinkKindInfo) Reset

func (x *LinkKindInfo) Reset()

func (*LinkKindInfo) String

func (x *LinkKindInfo) String() string

type LinkKindResponse

type LinkKindResponse struct {

	// Types that are valid to be assigned to Response:
	//
	//	*LinkKindResponse_LinkKindInfo
	//	*LinkKindResponse_ErrorResponse
	Response isLinkKindResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

LinkKindResponse is the response containing the kind of a requested link type.

func (*LinkKindResponse) Descriptor deprecated

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

Deprecated: Use LinkKindResponse.ProtoReflect.Descriptor instead.

func (*LinkKindResponse) GetErrorResponse

func (x *LinkKindResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse

func (*LinkKindResponse) GetLinkKindInfo

func (x *LinkKindResponse) GetLinkKindInfo() *LinkKindInfo

func (*LinkKindResponse) GetResponse

func (x *LinkKindResponse) GetResponse() isLinkKindResponse_Response

func (*LinkKindResponse) ProtoMessage

func (*LinkKindResponse) ProtoMessage()

func (*LinkKindResponse) ProtoReflect

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

func (*LinkKindResponse) Reset

func (x *LinkKindResponse) Reset()

func (*LinkKindResponse) String

func (x *LinkKindResponse) String() string

type LinkKindResponse_ErrorResponse

type LinkKindResponse_ErrorResponse struct {
	ErrorResponse *sharedtypesv1.ErrorResponse `protobuf:"bytes,2,opt,name=error_response,json=errorResponse,oneof"`
}

type LinkKindResponse_LinkKindInfo

type LinkKindResponse_LinkKindInfo struct {
	LinkKindInfo *LinkKindInfo `protobuf:"bytes,1,opt,name=link_kind_info,json=linkKindInfo,oneof"`
}

type LinkPriorityResource

type LinkPriorityResource int32

LinkPriorityResource holds the type of resource that must be deployed first in a link relationship.

const (
	// This is used when there is no priority resource
	// in the link relationship.
	LinkPriorityResource_LINK_PRIORITY_RESOURCE_NONE LinkPriorityResource = 0
	// This is used when the priority resource is the first
	// resource in the link relationship.
	LinkPriorityResource_LINK_PRIORITY_RESOURCE_A LinkPriorityResource = 1
	// This is used when the priority resource is the second
	// resource in the link relationship.
	LinkPriorityResource_LINK_PRIORITY_RESOURCE_B LinkPriorityResource = 2
)

func (LinkPriorityResource) Descriptor

func (LinkPriorityResource) Enum

func (LinkPriorityResource) EnumDescriptor deprecated

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

Deprecated: Use LinkPriorityResource.Descriptor instead.

func (LinkPriorityResource) Number

func (LinkPriorityResource) String

func (x LinkPriorityResource) String() string

func (LinkPriorityResource) Type

type LinkPriorityResourceInfo

type LinkPriorityResourceInfo struct {
	PriorityResource     LinkPriorityResource        `` /* 146-byte string literal not displayed */
	PriorityResourceType *sharedtypesv1.ResourceType `protobuf:"bytes,2,opt,name=priority_resource_type,json=priorityResourceType" json:"priority_resource_type,omitempty"`
	// contains filtered or unexported fields
}

LinkPriorityResourceInfo contains information about the priority resource for a link.

func (*LinkPriorityResourceInfo) Descriptor deprecated

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

Deprecated: Use LinkPriorityResourceInfo.ProtoReflect.Descriptor instead.

func (*LinkPriorityResourceInfo) GetPriorityResource

func (x *LinkPriorityResourceInfo) GetPriorityResource() LinkPriorityResource

func (*LinkPriorityResourceInfo) GetPriorityResourceType

func (x *LinkPriorityResourceInfo) GetPriorityResourceType() *sharedtypesv1.ResourceType

func (*LinkPriorityResourceInfo) ProtoMessage

func (*LinkPriorityResourceInfo) ProtoMessage()

func (*LinkPriorityResourceInfo) ProtoReflect

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

func (*LinkPriorityResourceInfo) Reset

func (x *LinkPriorityResourceInfo) Reset()

func (*LinkPriorityResourceInfo) String

func (x *LinkPriorityResourceInfo) String() string

type LinkPriorityResourceResponse

type LinkPriorityResourceResponse struct {

	// Types that are valid to be assigned to Response:
	//
	//	*LinkPriorityResourceResponse_PriorityInfo
	//	*LinkPriorityResourceResponse_ErrorResponse
	Response isLinkPriorityResourceResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

LinkPriorityResourceResponse is the response containing the priority resource for a link.

func (*LinkPriorityResourceResponse) Descriptor deprecated

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

Deprecated: Use LinkPriorityResourceResponse.ProtoReflect.Descriptor instead.

func (*LinkPriorityResourceResponse) GetErrorResponse

func (*LinkPriorityResourceResponse) GetPriorityInfo

func (*LinkPriorityResourceResponse) GetResponse

func (x *LinkPriorityResourceResponse) GetResponse() isLinkPriorityResourceResponse_Response

func (*LinkPriorityResourceResponse) ProtoMessage

func (*LinkPriorityResourceResponse) ProtoMessage()

func (*LinkPriorityResourceResponse) ProtoReflect

func (*LinkPriorityResourceResponse) Reset

func (x *LinkPriorityResourceResponse) Reset()

func (*LinkPriorityResourceResponse) String

type LinkPriorityResourceResponse_ErrorResponse

type LinkPriorityResourceResponse_ErrorResponse struct {
	ErrorResponse *sharedtypesv1.ErrorResponse `protobuf:"bytes,2,opt,name=error_response,json=errorResponse,oneof"`
}

type LinkPriorityResourceResponse_PriorityInfo

type LinkPriorityResourceResponse_PriorityInfo struct {
	PriorityInfo *LinkPriorityResourceInfo `protobuf:"bytes,1,opt,name=priority_info,json=priorityInfo,oneof"`
}

type LinkRequest

type LinkRequest struct {

	// The type of link to carry out an action on or retrieve
	// some information about.
	// This should be in the form of `{resourceTypeA}::{resourceTypeB}`.
	LinkType *LinkType `protobuf:"bytes,1,opt,name=link_type,json=linkType" json:"link_type,omitempty"`
	// The ID of the host making the request
	// to the provider.
	HostId string `protobuf:"bytes,2,opt,name=host_id,json=hostId" json:"host_id,omitempty"`
	// Runtime configuration for the current environment.
	Context *LinkContext `protobuf:"bytes,3,opt,name=context" json:"context,omitempty"`
	// contains filtered or unexported fields
}

LinkRequest is the request input for general link type requests that only require a link type and the current context.

func (*LinkRequest) Descriptor deprecated

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

Deprecated: Use LinkRequest.ProtoReflect.Descriptor instead.

func (*LinkRequest) GetContext

func (x *LinkRequest) GetContext() *LinkContext

func (*LinkRequest) GetHostId

func (x *LinkRequest) GetHostId() string

func (*LinkRequest) GetLinkType

func (x *LinkRequest) GetLinkType() *LinkType

func (*LinkRequest) ProtoMessage

func (*LinkRequest) ProtoMessage()

func (*LinkRequest) ProtoReflect

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

func (*LinkRequest) Reset

func (x *LinkRequest) Reset()

func (*LinkRequest) String

func (x *LinkRequest) String() string

type LinkState

type LinkState struct {

	// A globally unique identifier for the link.
	Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// The logical name of the link in the blueprint.
	// This is a combination of the logical names of the 2 resources that are linked.
	// For example, if a link is between a VPC and a subnet,
	// the link name would be "vpc::subnet".
	Name          string            `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	InstanceId    string            `protobuf:"bytes,3,opt,name=instance_id,json=instanceId" json:"instance_id,omitempty"`
	Status        LinkStatus        `protobuf:"varint,4,opt,name=status,enum=providerserverv1.LinkStatus" json:"status,omitempty"`
	PreciseStatus PreciseLinkStatus `` /* 134-byte string literal not displayed */
	// The unix timestamp for when the link deployment status was last updated.
	LastStatusUpdateTimestamp int64 `` /* 134-byte string literal not displayed */
	// The unix timestamp for when the link was last deployed.
	LastDeployedTimestamp int64 `protobuf:"varint,7,opt,name=last_deployed_timestamp,json=lastDeployedTimestamp" json:"last_deployed_timestamp,omitempty"`
	// The unix timestamp for when an attempt was last made to deploy the link.
	LastDeployAttemptTimestamp int64 `` /* 137-byte string literal not displayed */
	// The state of intermediary resources that are created
	// by a provider's implementation of a link.
	IntermediaryResourceStates []*LinkIntermediaryResourceState `` /* 134-byte string literal not displayed */
	// A mapping that holds the structure of the "raw" link data
	// to hold information about a link that is not
	// stored directly in the resources that are linked and is not stored
	// in intermediary resources.
	// This should hold information that may incolde values that are populated
	// in one or both of the resources in the link relationship.
	Data map[string]*schemapb.MappingNode `` /* 129-byte string literal not displayed */
	// A list of the latest reasons for failures in deploying a link,
	// this only ever holds the results of the latest deployment attempt.
	FailureReasons []string `protobuf:"bytes,11,rep,name=failure_reasons,json=failureReasons" json:"failure_reasons,omitempty"`
	// Holds the duration information for the latest deployment of the link.
	Durations *LinkCompletionDurations `protobuf:"bytes,12,opt,name=durations" json:"durations,omitempty"`
	// contains filtered or unexported fields
}

LinkState provides a way to store some state for links between resources. This is useful for holding state about intermediary resources managed by a provider's implementation of a link in addition to tracking the deployment status for a link.

func (*LinkState) Descriptor deprecated

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

Deprecated: Use LinkState.ProtoReflect.Descriptor instead.

func (*LinkState) GetData

func (x *LinkState) GetData() map[string]*schemapb.MappingNode

func (*LinkState) GetDurations

func (x *LinkState) GetDurations() *LinkCompletionDurations

func (*LinkState) GetFailureReasons

func (x *LinkState) GetFailureReasons() []string

func (*LinkState) GetId

func (x *LinkState) GetId() string

func (*LinkState) GetInstanceId

func (x *LinkState) GetInstanceId() string

func (*LinkState) GetIntermediaryResourceStates

func (x *LinkState) GetIntermediaryResourceStates() []*LinkIntermediaryResourceState

func (*LinkState) GetLastDeployAttemptTimestamp

func (x *LinkState) GetLastDeployAttemptTimestamp() int64

func (*LinkState) GetLastDeployedTimestamp

func (x *LinkState) GetLastDeployedTimestamp() int64

func (*LinkState) GetLastStatusUpdateTimestamp

func (x *LinkState) GetLastStatusUpdateTimestamp() int64

func (*LinkState) GetName

func (x *LinkState) GetName() string

func (*LinkState) GetPreciseStatus

func (x *LinkState) GetPreciseStatus() PreciseLinkStatus

func (*LinkState) GetStatus

func (x *LinkState) GetStatus() LinkStatus

func (*LinkState) ProtoMessage

func (*LinkState) ProtoMessage()

func (*LinkState) ProtoReflect

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

func (*LinkState) Reset

func (x *LinkState) Reset()

func (*LinkState) String

func (x *LinkState) String() string

type LinkStatus

type LinkStatus int32

LinkStatus represents the current state of a link in a blueprint instance.

const (
	// The status for when we can't determine
	// an accurate status for a link.
	LinkStatus_LINK_STATUS_UNKNOWN LinkStatus = 0
	// The status for when an initial link deployment
	// is currently in progress.
	LinkStatus_LINK_STATUS_CREATING LinkStatus = 1
	// The status for when a link has been deployed
	// successfully.
	LinkStatus_LINK_STATUS_CREATED LinkStatus = 2
	// The status for when the first creation of a link failed.
	LinkStatus_LINK_STATUS_CREATE_FAILED LinkStatus = 3
	// The status for when another change in the same blueprint has failed
	// and the creation of the current link is being rolled back.
	LinkStatus_LINK_STATUS_CREATE_ROLLING_BACK LinkStatus = 4
	// The status for when another element change in the same blueprint
	// has failed and the creation of the current link could not be rolled back.
	LinkStatus_LINK_STATUS_CREATE_ROLLBACK_FAILED LinkStatus = 5
	// The status for when another change in the same blueprint has failed
	// and the creation of the current link has been rolled back.
	LinkStatus_LINK_STATUS_CREATE_ROLLBACK_COMPLETE LinkStatus = 6
	// The status for when a link is in the process of being destroyed.
	LinkStatus_LINK_STATUS_DESTROYING LinkStatus = 7
	// The status for when a link has been destroyed.
	LinkStatus_LINK_STATUS_DESTROYED LinkStatus = 8
	// The status for when the destruction of a link fails.
	LinkStatus_LINK_STATUS_DESTROY_FAILED LinkStatus = 9
	// The status for when another change in the same blueprint has failed
	// and the removal of the current link is being rolled back.
	LinkStatus_LINK_STATUS_DESTROY_ROLLING_BACK LinkStatus = 10
	// The status for when another change in the same blueprint has failed
	// and the removal of the current link could not be rolled back.
	LinkStatus_LINK_STATUS_DESTROY_ROLLBACK_FAILED LinkStatus = 11
	// The status for when another change in the same blueprint has failed
	// and the removal of the current link has been rolled back.
	LinkStatus_LINK_STATUS_DESTROY_ROLLBACK_COMPLETE LinkStatus = 12
	// The status for when a link is being updated.
	LinkStatus_LINK_STATUS_UPDATING LinkStatus = 13
	// The status for when a link has been updated.
	LinkStatus_LINK_STATUS_UPDATED LinkStatus = 14
	// The status for when the update of a link fails.
	LinkStatus_LINK_STATUS_UPDATE_FAILED LinkStatus = 15
	// The status for when another change in the same blueprint has failed
	// and the update of the current link is being rolled back.
	LinkStatus_LINK_STATUS_UPDATE_ROLLING_BACK LinkStatus = 16
	// The status for when another change in the same blueprint has failed
	// and the update of the current link could not be rolled back.
	LinkStatus_LINK_STATUS_UPDATE_ROLLBACK_FAILED LinkStatus = 17
	// The status for when another change in the same blueprint has failed
	// and the update of the current link has been rolled back.
	LinkStatus_LINK_STATUS_UPDATE_ROLLBACK_COMPLETE LinkStatus = 18
)

func (LinkStatus) Descriptor

func (LinkStatus) Descriptor() protoreflect.EnumDescriptor

func (LinkStatus) Enum

func (x LinkStatus) Enum() *LinkStatus

func (LinkStatus) EnumDescriptor deprecated

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

Deprecated: Use LinkStatus.Descriptor instead.

func (LinkStatus) Number

func (x LinkStatus) Number() protoreflect.EnumNumber

func (LinkStatus) String

func (x LinkStatus) String() string

func (LinkStatus) Type

type LinkType

type LinkType struct {

	// The type of link in the form of `{resourceTypeA}::{resourceTypeB}`.
	Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
	// contains filtered or unexported fields
}

The type of link to carry out an action on or retrieve some information about.

func (*LinkType) Descriptor deprecated

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

Deprecated: Use LinkType.ProtoReflect.Descriptor instead.

func (*LinkType) GetType

func (x *LinkType) GetType() string

func (*LinkType) ProtoMessage

func (*LinkType) ProtoMessage()

func (*LinkType) ProtoReflect

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

func (*LinkType) Reset

func (x *LinkType) Reset()

func (*LinkType) String

func (x *LinkType) String() string

type LinkTypes

type LinkTypes struct {
	LinkTypes []*LinkType `protobuf:"bytes,1,rep,name=link_types,json=linkTypes" json:"link_types,omitempty"`
	// contains filtered or unexported fields
}

LinkTypes holds a list of link types that are implemented by the provider.

func (*LinkTypes) Descriptor deprecated

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

Deprecated: Use LinkTypes.ProtoReflect.Descriptor instead.

func (*LinkTypes) GetLinkTypes

func (x *LinkTypes) GetLinkTypes() []*LinkType

func (*LinkTypes) ProtoMessage

func (*LinkTypes) ProtoMessage()

func (*LinkTypes) ProtoReflect

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

func (*LinkTypes) Reset

func (x *LinkTypes) Reset()

func (*LinkTypes) String

func (x *LinkTypes) String() string

type LinkTypesResponse

type LinkTypesResponse struct {

	// Types that are valid to be assigned to Response:
	//
	//	*LinkTypesResponse_LinkTypes
	//	*LinkTypesResponse_ErrorResponse
	Response isLinkTypesResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

LinkTypesResponse contains the response for requesting a list of all the link types that are implemented by the provider.

func (*LinkTypesResponse) Descriptor deprecated

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

Deprecated: Use LinkTypesResponse.ProtoReflect.Descriptor instead.

func (*LinkTypesResponse) GetErrorResponse

func (x *LinkTypesResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse

func (*LinkTypesResponse) GetLinkTypes

func (x *LinkTypesResponse) GetLinkTypes() *LinkTypes

func (*LinkTypesResponse) GetResponse

func (x *LinkTypesResponse) GetResponse() isLinkTypesResponse_Response

func (*LinkTypesResponse) ProtoMessage

func (*LinkTypesResponse) ProtoMessage()

func (*LinkTypesResponse) ProtoReflect

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

func (*LinkTypesResponse) Reset

func (x *LinkTypesResponse) Reset()

func (*LinkTypesResponse) String

func (x *LinkTypesResponse) String() string

type LinkTypesResponse_ErrorResponse

type LinkTypesResponse_ErrorResponse struct {
	ErrorResponse *sharedtypesv1.ErrorResponse `protobuf:"bytes,2,opt,name=error_response,json=errorResponse,oneof"`
}

type LinkTypesResponse_LinkTypes

type LinkTypesResponse_LinkTypes struct {
	LinkTypes *LinkTypes `protobuf:"bytes,1,opt,name=link_types,json=linkTypes,oneof"`
}

type LinkUpdateType

type LinkUpdateType int32

LinkUpdateType represents the type of update that should be carried out on a link between two resources.

const (
	// The type for when a link is being created.
	LinkUpdateType_LINK_UPDATE_TYPE_CREATE LinkUpdateType = 0
	// The type for when a link is being destroyed.
	LinkUpdateType_LINK_UPDATE_TYPE_DESTROY LinkUpdateType = 1
	// The type for when a link is being updated.
	LinkUpdateType_LINK_UPDATE_TYPE_UPDATE LinkUpdateType = 2
)

func (LinkUpdateType) Descriptor

func (LinkUpdateType) Enum

func (x LinkUpdateType) Enum() *LinkUpdateType

func (LinkUpdateType) EnumDescriptor deprecated

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

Deprecated: Use LinkUpdateType.Descriptor instead.

func (LinkUpdateType) Number

func (LinkUpdateType) String

func (x LinkUpdateType) String() string

func (LinkUpdateType) Type

type Namespace

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

Namespace of a provider used to route resource and data source types to the correct provider.

func (*Namespace) Descriptor deprecated

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

Deprecated: Use Namespace.ProtoReflect.Descriptor instead.

func (*Namespace) GetNamespace

func (x *Namespace) GetNamespace() string

func (*Namespace) ProtoMessage

func (*Namespace) ProtoMessage()

func (*Namespace) ProtoReflect

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

func (*Namespace) Reset

func (x *Namespace) Reset()

func (*Namespace) String

func (x *Namespace) String() string

type NamespaceResponse

type NamespaceResponse struct {

	// Types that are valid to be assigned to Response:
	//
	//	*NamespaceResponse_Namespace
	//	*NamespaceResponse_ErrorResponse
	Response isNamespaceResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

NamespaceResponse contains the response for requesting the namespace of the provider.

func (*NamespaceResponse) Descriptor deprecated

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

Deprecated: Use NamespaceResponse.ProtoReflect.Descriptor instead.

func (*NamespaceResponse) GetErrorResponse

func (x *NamespaceResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse

func (*NamespaceResponse) GetNamespace

func (x *NamespaceResponse) GetNamespace() *Namespace

func (*NamespaceResponse) GetResponse

func (x *NamespaceResponse) GetResponse() isNamespaceResponse_Response

func (*NamespaceResponse) ProtoMessage

func (*NamespaceResponse) ProtoMessage()

func (*NamespaceResponse) ProtoReflect

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

func (*NamespaceResponse) Reset

func (x *NamespaceResponse) Reset()

func (*NamespaceResponse) String

func (x *NamespaceResponse) String() string

type NamespaceResponse_ErrorResponse

type NamespaceResponse_ErrorResponse struct {
	ErrorResponse *sharedtypesv1.ErrorResponse `protobuf:"bytes,2,opt,name=error_response,json=errorResponse,oneof"`
}

type NamespaceResponse_Namespace

type NamespaceResponse_Namespace struct {
	Namespace *Namespace `protobuf:"bytes,1,opt,name=namespace,oneof"`
}

type PreciseLinkStatus

type PreciseLinkStatus int32

PreciseLinkStatus is used to represent a more precise current state of a link in a blueprint instance.

const (
	// The status for when we can't determine
	// an accurate status for a link.
	PreciseLinkStatus_PRECISE_LINK_STATUS_UNKNOWN PreciseLinkStatus = 0
	// The status for when the configuration for a link is being applied
	// to resource A in the link.
	PreciseLinkStatus_PRECISE_LINK_STATUS_UPDATING_RESOURCE_A PreciseLinkStatus = 1
	// The status for when the configuration for a link has been applied to
	// resource A in the link.
	PreciseLinkStatus_PRECISE_LINK_STATUS_RESOURCE_A_UPDATED PreciseLinkStatus = 2
	// The status for when the configuration for a link has failed to
	// be applied to resource A in the link.
	PreciseLinkStatus_PRECISE_LINK_STATUS_RESOURCE_A_UPDATE_FAILED PreciseLinkStatus = 3
	// The status for when another change in the same blueprint has
	// failed and the current for which resource A was successfully updated
	// is being rolled back.
	PreciseLinkStatus_PRECISE_LINK_STATUS_RESOURCE_A_UPDATE_ROLLING_BACK PreciseLinkStatus = 4
	// The status for when another change in the same blueprint has
	// failed and the current for which resource A was successfully updated
	// could not be rolled back.
	PreciseLinkStatus_PRECISE_LINK_STATUS_RESOURCE_A_UPDATE_ROLLBACK_FAILED PreciseLinkStatus = 5
	// The status for when another change in the same blueprint has
	// failed and the current for which resource A was successfully updated
	// has been rolled back.
	PreciseLinkStatus_PRECISE_LINK_STATUS_RESOURCE_A_UPDATE_ROLLBACK_COMPLETE PreciseLinkStatus = 6
	// The status for when the configuration for a link is being applied
	// to resource B in the link.
	PreciseLinkStatus_PRECISE_LINK_STATUS_UPDATING_RESOURCE_B PreciseLinkStatus = 7
	// The status for when the configuration for a link has been applied to
	// resource B in the link.
	PreciseLinkStatus_PRECISE_LINK_STATUS_RESOURCE_B_UPDATED PreciseLinkStatus = 8
	// The status for when the configuration for a link has failed to
	// be applied to resource B in the link.
	PreciseLinkStatus_PRECISE_LINK_STATUS_RESOURCE_B_UPDATE_FAILED PreciseLinkStatus = 9
	// The status for when another change in the same blueprint has
	// failed and the current for which resource B was successfully updated
	// is being rolled back.
	PreciseLinkStatus_PRECISE_LINK_STATUS_RESOURCE_B_UPDATE_ROLLING_BACK PreciseLinkStatus = 10
	// The status for when another change in the same blueprint has
	// failed and the current for which resource B was successfully updated
	// could not be rolled back.
	PreciseLinkStatus_PRECISE_LINK_STATUS_RESOURCE_B_UPDATE_ROLLBACK_FAILED PreciseLinkStatus = 11
	// The status for when another change in the same blueprint has
	// failed and the current for which resource B was successfully updated
	// has been rolled back.
	PreciseLinkStatus_PRECISE_LINK_STATUS_RESOURCE_B_UPDATE_ROLLBACK_COMPLETE PreciseLinkStatus = 12
	// The status for when intermediary resources are being created, updated
	// or destroyed.
	// This status is a high level indication of progress,
	// the status of each intermediary resource should be checked to determien
	// the exact state of each intermediary resource in the link.
	PreciseLinkStatus_PRECISE_LINK_STATUS_UPDATING_INTERMEDIARY_RESOURCES PreciseLinkStatus = 13
	// The status for when all intermediary resources has been successfully
	// updated, created or destroyed.
	PreciseLinkStatus_PRECISE_LINK_STATUS_INTERMEDIARY_RESOURCES_UPDATED PreciseLinkStatus = 14
	// The status for when an intermediary resource has failed to be updated,
	// created or destroyed.
	PreciseLinkStatus_PRECISE_LINK_STATUS_INTERMEDIARY_RESOURCE_UPDATED_FAILED PreciseLinkStatus = 15
	// The status for when another change in the same blueprint has failed
	// and the current link for which intermediary resources were successfully
	// updated is being rolled back.
	PreciseLinkStatus_PRECISE_LINK_STATUS_INTERMEDIARY_RESOURCE_UPDATE_ROLLING_BACK PreciseLinkStatus = 16
	// The status for when another change in the same blueprint has failed
	// and the current link for which intermediary resources were successfully
	// updated failed to be rolled back.
	PreciseLinkStatus_PRECISE_LINK_STATUS_INTERMEDIARY_RESOURCE_UPDATE_ROLLBACK_FAILED PreciseLinkStatus = 17
	// The status for when another change in the same blueprint has failed
	// and the current link for which intermediary resources were successfully
	// updated has been rolled back.
	PreciseLinkStatus_PRECISE_LINK_STATUS_INTERMEDIARY_RESOURCE_UPDATE_ROLLBACK_COMPLETE PreciseLinkStatus = 18
)

func (PreciseLinkStatus) Descriptor

func (PreciseLinkStatus) Enum

func (PreciseLinkStatus) EnumDescriptor deprecated

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

Deprecated: Use PreciseLinkStatus.Descriptor instead.

func (PreciseLinkStatus) Number

func (PreciseLinkStatus) String

func (x PreciseLinkStatus) String() string

func (PreciseLinkStatus) Type

type ProviderClient

type ProviderClient interface {
	// GetNamespace returns the namespace of the provider
	// used to route resource and data source types
	// to the correct provider.
	GetNamespace(ctx context.Context, in *ProviderRequest, opts ...grpc.CallOption) (*NamespaceResponse, error)
	// ConfigDefinition retrieves a detailed definition of the configuration
	// that is required for the provider.
	GetConfigDefinition(ctx context.Context, in *ProviderRequest, opts ...grpc.CallOption) (*sharedtypesv1.ConfigDefinitionResponse, error)
	// ListResourceTypes retrieves a list of all the resource types
	// that are implemented by the provider.
	// This is primarily used in tools and documentation to provide
	// a list of available resource types.
	ListResourceTypes(ctx context.Context, in *ProviderRequest, opts ...grpc.CallOption) (*ResourceTypesResponse, error)
	// ListLinkTypes retrieves a list of all the link types
	// that are implemented by the provider.
	// This is primarily used in tools and documentation to provide
	// a list of available link types.
	ListLinkTypes(ctx context.Context, in *ProviderRequest, opts ...grpc.CallOption) (*LinkTypesResponse, error)
	// ListDataSourceTypes retrieves a list of all the data source types
	// that are implemented by the provider.
	// This is primarily used in tools and documentation to provide a list of
	// available data source types.
	ListDataSourceTypes(ctx context.Context, in *ProviderRequest, opts ...grpc.CallOption) (*DataSourceTypesResponse, error)
	// ListCustomVariableTypes retrieves a list of all the custom variable types
	// that are implemented by the provider.
	// This is primarily used in tools and documentation to provide a list of
	// available custom variable types.
	ListCustomVariableTypes(ctx context.Context, in *ProviderRequest, opts ...grpc.CallOption) (*CustomVariableTypesResponse, error)
	// ListFunctions retrieves a list of all the functions that are implemented by the provider.
	// This is primarily used to assign the correct provider to a function
	// as functions are globally named. When multiple providers provide the same function,
	// an error is reported during initialisation.
	ListFunctions(ctx context.Context, in *ProviderRequest, opts ...grpc.CallOption) (*FunctionListResponse, error)
	// GetRetryPolicy retrieves the retry policy that should be used for the provider
	// for resource, link and data source operations.
	// The retry policy will be applied for resources when deploying, updating and removing
	// resources, for links when creating and removing links and for data sources when
	// querying the upstream data source.
	// The retry behaviour only kicks in when the provider resource, data source or link
	// implementation returns an error response with the `TRANSIENT` error code,
	// in which case the retry policy will be applied.
	// A retry policy is optional and if not provided, a default retry policy
	// provided by the host tool will be used.
	GetRetryPolicy(ctx context.Context, in *ProviderRequest, opts ...grpc.CallOption) (*RetryPolicyResponse, error)
	// CustomValidateResource deals with carrying out custom validation for
	// a resource that goes beyond the built-in resource spec validation.
	CustomValidateResource(ctx context.Context, in *CustomValidateResourceRequest, opts ...grpc.CallOption) (*CustomValidateResourceResponse, error)
	// GetResourceSpecDefinition retrieves the spec definition for a resource,
	// this is used as the first line of validation for a resource in a blueprint
	// and is also useful for validating references to a resource instance
	// in a blueprint and for providing definitions for docs and tooling.
	// The spec defines both the schema for the resource spec fields that can be defined
	// by users in a blueprint and computed fields that are derived from the deployed
	// resource in the external provider (e.g. Lambda ARN in AWS).
	GetResourceSpecDefinition(ctx context.Context, in *ResourceRequest, opts ...grpc.CallOption) (*ResourceSpecDefinitionResponse, error)
	// CanResourceLinkTo produces a list of all the resource types
	// that the given resource type can link to.
	CanResourceLinkTo(ctx context.Context, in *ResourceRequest, opts ...grpc.CallOption) (*CanResourceLinkToResponse, error)
	// GetResourceStabilisedDeps retrieves a list of resource types
	// that must be stabilised before the current resource can be deployed when
	// another resource of one of the specified types is a dependency of
	// the current resource in a blueprint.
	GetResourceStabilisedDeps(ctx context.Context, in *ResourceRequest, opts ...grpc.CallOption) (*ResourceStabilisedDepsResponse, error)
	// IsResourceCommonTerminal specifies whether the given resource type is expected
	// to have a common use-case as a terminal resource that does not link out to other resources.
	// This is useful for providing warnings to users about their blueprints
	// without overloading them with warnings for all resources that don't have any outbound
	// links that could have.
	IsResourceCommonTerminal(ctx context.Context, in *ResourceRequest, opts ...grpc.CallOption) (*IsResourceCommonTerminalResponse, error)
	// GetResourceType retrieves the type of a resource in a blueprint spec
	// that can be used for documentation and tooling.
	// This allows callers to get a human-readable label for the already known
	// resource type.
	GetResourceType(ctx context.Context, in *ResourceRequest, opts ...grpc.CallOption) (*sharedtypesv1.ResourceTypeResponse, error)
	// GetResourceTypeDescription retrieves the description for a resource type
	// in a blueprint spec that can be used for documentation and tooling.
	// Markdown and plain text formats are supported.
	GetResourceTypeDescription(ctx context.Context, in *ResourceRequest, opts ...grpc.CallOption) (*sharedtypesv1.TypeDescriptionResponse, error)
	// GetResourceExamples deals with retrieving a list of examples for a resource type
	// in a blueprint spec that can be used for documentation and tooling.
	// Markdown and plain text formats are supported.
	GetResourceExamples(ctx context.Context, in *ResourceRequest, opts ...grpc.CallOption) (*sharedtypesv1.ExamplesResponse, error)
	// DeployResource deals with deploying a resource with the upstream resource provider.
	// THe behaviour of deploy is to create or update the resource configuration and return
	// the resource spec state once the configuration has been created or updated.
	// DeployResource should not wait for the resource to be in a stable state before returning,
	// the framework will call the HasStabilised method periodically when waiting for a resource
	// to stabilise.
	// Parameters are passed into DeployResource for extra context, blueprint variables will have already
	// been substituted at this stage and must be used instead of the passed in params argument
	// to ensure consistency between the staged changes that are reviewed and the deployment itself.
	DeployResource(ctx context.Context, in *sharedtypesv1.DeployResourceRequest, opts ...grpc.CallOption) (*sharedtypesv1.DeployResourceResponse, error)
	// ResourceHasStabilised deals with checking if a resource has stabilised after being deployed.
	// This is important for resources that require a stable state before other resources can be deployed.
	// This is only used when creating or updating a resource, not when destroying a resource.
	ResourceHasStabilised(ctx context.Context, in *sharedtypesv1.ResourceHasStabilisedRequest, opts ...grpc.CallOption) (*sharedtypesv1.ResourceHasStabilisedResponse, error)
	// GetResourceExternalState deals with getting the state of the resource from the resource provider.
	// (e.g. AWS or Google Cloud)
	GetResourceExternalState(ctx context.Context, in *GetResourceExternalStateRequest, opts ...grpc.CallOption) (*GetResourceExternalStateResponse, error)
	// DestroyResource deals with destroying a resource instance if its current
	// state is successfully deployed or cleaning up a corrupt or partially deployed
	// resource instance.
	// The resource instance should be completely removed from the external provider
	// as a result of this operation; this is essential for when
	// another element to be removed from a blueprint
	// requires a resource to be completely removed from the external provider.
	// There is no "config complete" equivalent for destroying a resource and
	// "HasStabilised" is designed to be used for resources being created or
	// updated.
	DestroyResource(ctx context.Context, in *sharedtypesv1.DestroyResourceRequest, opts ...grpc.CallOption) (*sharedtypesv1.DestroyResourceResponse, error)
	// StageLinkChanges details the changes that will be made to a link between
	// two resources in a blueprint deployment.
	// Unlike resources, links do not map to a specification for a single deployable unit,
	// so link implementations must specify the changes that will be made across multiple resources.
	StageLinkChanges(ctx context.Context, in *StageLinkChangesRequest, opts ...grpc.CallOption) (*StageLinkChangesResponse, error)
	// UpdateLinkResourceA deals with applying the changes to the first of the two linked resources
	// for the creation or removal of a link between two resources.
	// The value of the `link_data` field returned in the response will be combined
	// with the link data output from updating resource B and intermediary resources
	// to form the final link data that will be persisted in the state of the blueprint instance.
	// Parameters are passed into UpdateLinkResourceA for extra context, blueprint variables will have already
	// been substituted at this stage and must be used instead of the passed in params argument
	// to ensure consistency between the staged changes that are reviewed and the deployment itself.
	UpdateLinkResourceA(ctx context.Context, in *UpdateLinkResourceRequest, opts ...grpc.CallOption) (*UpdateLinkResourceResponse, error)
	// UpdateLinkResourceB deals with applying the changes to the second of the two linked resources
	// for the creation or removal of a link between two resources.
	// The value of the `link_data` field returned in the output will be combined
	// with the link data output from updating resource A and intermediary resources
	// to form the final link data that will be persisted in the state of the blueprint instance.
	// Parameters are passed into UpdateResourceB for extra context, blueprint variables will have already
	// been substituted at this stage and must be used instead of the passed in params argument
	// to ensure consistency between the staged changes that are reviewed and the deployment itself.
	UpdateLinkResourceB(ctx context.Context, in *UpdateLinkResourceRequest, opts ...grpc.CallOption) (*UpdateLinkResourceResponse, error)
	// UpdateLinkIntermediaryResources deals with creating, updating or deleting intermediary resources
	// that are required for the link between two resources.
	// This is called for both the creation and removal of a link between two resources.
	// The value of the `link_data` field returned in the output will be combined
	// with the link data output from updating resource A and B
	// to form the final link data that will be persisted in the state of the blueprint instance.
	// Parameters are passed into UpdateIntermediaryResources for extra context, blueprint variables will have already
	// been substituted at this stage and must be used instead of the passed in params argument
	// to ensure consistency between the staged changes that are reviewed and the deployment itself.
	UpdateLinkIntermediaryResources(ctx context.Context, in *UpdateLinkIntermediaryResourcesRequest, opts ...grpc.CallOption) (*UpdateLinkIntermediaryResourcesResponse, error)
	// GetLinkPriorityResource retrieves the resource in the relationship
	// that must be deployed first. This will be empty for links where one resource does not
	// need to be deployed before the other.
	GetLinkPriorityResource(ctx context.Context, in *LinkRequest, opts ...grpc.CallOption) (*LinkPriorityResourceResponse, error)
	// GetLinkTypeDescription deals with retrieving the description for a link type in a blueprint spec
	// that can be used for documentation and tooling.
	// Markdown and plain text formats are supported.
	GetLinkTypeDescription(ctx context.Context, in *LinkRequest, opts ...grpc.CallOption) (*sharedtypesv1.TypeDescriptionResponse, error)
	// GetLinkAnnotationDefinitions retrieves the annotation definitions for the link type.
	// Annotations provide a way to fine tune the behaviour of a link in a blueprint spec
	// in the linked resource metadata sections.
	GetLinkAnnotationDefinitions(ctx context.Context, in *LinkRequest, opts ...grpc.CallOption) (*LinkAnnotationDefinitionsResponse, error)
	// GetKind tells us whether the link is a "hard" or "soft" link.
	// A hard link is where the priority resource type must be created first.
	// A soft link is where it does not matter which resource type in the relationship
	// is created first.
	GetLinkKind(ctx context.Context, in *LinkRequest, opts ...grpc.CallOption) (*LinkKindResponse, error)
	// GetDataSourceType retrieves the type of a data source in a blueprint spec
	// that can be used for documentation and tooling.
	// This allows callers to get a human-readable label for the already known
	// data source type.
	GetDataSourceType(ctx context.Context, in *DataSourceRequest, opts ...grpc.CallOption) (*DataSourceTypeResponse, error)
	// GetDataSourceTypeDescription deals with retrieving the description for a data source type in a blueprint spec
	// that can be used for documentation and tooling.
	// Markdown and plain text formats are supported.
	GetDataSourceTypeDescription(ctx context.Context, in *DataSourceRequest, opts ...grpc.CallOption) (*sharedtypesv1.TypeDescriptionResponse, error)
	// GetDataSourceExamples deals with retrieving a list of examples for a data source type
	// in a blueprint spec that can be used for documentation and tooling.
	// Markdown and plain text formats are supported.
	GetDataSourceExamples(ctx context.Context, in *DataSourceRequest, opts ...grpc.CallOption) (*sharedtypesv1.ExamplesResponse, error)
	// CustomValidateDataSource provides support for custom validation that goes beyond
	// the spec schema validation provided by the data source's spec definition.
	CustomValidateDataSource(ctx context.Context, in *CustomValidateDataSourceRequest, opts ...grpc.CallOption) (*CustomValidateDataSourceResponse, error)
	// GetDataSourceSpecDefinition retrieves the spec definition for a data source.
	// This definition specifies all the fields that can be exported from a data source
	// to be used in a blueprint.
	// This is the first line of validation for a data source in a blueprint and is also
	// useful for validating references to a data source instance
	// in a blueprint and for providing definitions for docs and tooling.
	GetDataSourceSpecDefinition(ctx context.Context, in *DataSourceRequest, opts ...grpc.CallOption) (*DataSourceSpecDefinitionResponse, error)
	// GetDataSourceFilterFields provides the fields that can be used in a filter when querying
	// a data source.
	GetDataSourceFilterFields(ctx context.Context, in *DataSourceRequest, opts ...grpc.CallOption) (*DataSourceFilterFieldsResponse, error)
	// FetchDataSource deals with loading the data from the upstream data source
	// and returning the exported fields defined in the spec.
	FetchDataSource(ctx context.Context, in *FetchDataSourceRequest, opts ...grpc.CallOption) (*FetchDataSourceResponse, error)
	// GetCustomVariableType retrieves the type of a custom variable type in a blueprint spec
	// that can be used for documentation and tooling.
	// This allows callers to get a human-readable label for the already known
	// custom variable type.
	GetCustomVariableType(ctx context.Context, in *CustomVariableTypeRequest, opts ...grpc.CallOption) (*CustomVariableTypeResponse, error)
	// GetCustomVariableTypeDescription deals with retrieving the description
	// for a custom variable type in a blueprint spec that can be used for
	// documentation and tooling.
	// Markdown and plain text formats are supported.
	GetCustomVariableTypeDescription(ctx context.Context, in *CustomVariableTypeRequest, opts ...grpc.CallOption) (*sharedtypesv1.TypeDescriptionResponse, error)
	// GetCustomVariableTypeOptions loads a set of fixed possible values available
	// for the custom variable type.
	// In the returned options, each one is keyed by a label, essentially
	// behaving as a runtime enum.
	GetCustomVariableTypeOptions(ctx context.Context, in *CustomVariableTypeRequest, opts ...grpc.CallOption) (*CustomVariableTypeOptionsResponse, error)
	// GetCustomVariableTypeExamples deals with retrieving a list of examples for a custom
	// variable type in a blueprint spec that can be used for documentation and tooling.
	// Markdown and plain text formats are supported.
	GetCustomVariableTypeExamples(ctx context.Context, in *CustomVariableTypeRequest, opts ...grpc.CallOption) (*sharedtypesv1.ExamplesResponse, error)
	// GetFunctionDefinition returns the definition of the function
	// that includes allowed parameters and return types.
	// This would usually be called during initialisation of a provider
	// to pre-fetch function definitions and cache them to validate
	// the returned values from plugin function calls.
	GetFunctionDefinition(ctx context.Context, in *sharedtypesv1.FunctionDefinitionRequest, opts ...grpc.CallOption) (*sharedtypesv1.FunctionDefinitionResponse, error)
	// CallFunction is called when a function is used in a blueprint.
	CallFunction(ctx context.Context, in *sharedtypesv1.FunctionCallRequest, opts ...grpc.CallOption) (*sharedtypesv1.FunctionCallResponse, 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.

Interface exported by a provider plugin server.

func NewProviderClient

func NewProviderClient(cc grpc.ClientConnInterface) ProviderClient

type ProviderRequest

type ProviderRequest struct {

	// The ID of the host making the request
	// to the provider.
	HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId" json:"host_id,omitempty"`
	// contains filtered or unexported fields
}

ProviderRequest is the request input for general provider requests that only require a host ID.

func (*ProviderRequest) Descriptor deprecated

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

Deprecated: Use ProviderRequest.ProtoReflect.Descriptor instead.

func (*ProviderRequest) GetHostId

func (x *ProviderRequest) GetHostId() string

func (*ProviderRequest) ProtoMessage

func (*ProviderRequest) ProtoMessage()

func (*ProviderRequest) ProtoReflect

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

func (*ProviderRequest) Reset

func (x *ProviderRequest) Reset()

func (*ProviderRequest) String

func (x *ProviderRequest) String() string

type ProviderServer

type ProviderServer interface {
	// GetNamespace returns the namespace of the provider
	// used to route resource and data source types
	// to the correct provider.
	GetNamespace(context.Context, *ProviderRequest) (*NamespaceResponse, error)
	// ConfigDefinition retrieves a detailed definition of the configuration
	// that is required for the provider.
	GetConfigDefinition(context.Context, *ProviderRequest) (*sharedtypesv1.ConfigDefinitionResponse, error)
	// ListResourceTypes retrieves a list of all the resource types
	// that are implemented by the provider.
	// This is primarily used in tools and documentation to provide
	// a list of available resource types.
	ListResourceTypes(context.Context, *ProviderRequest) (*ResourceTypesResponse, error)
	// ListLinkTypes retrieves a list of all the link types
	// that are implemented by the provider.
	// This is primarily used in tools and documentation to provide
	// a list of available link types.
	ListLinkTypes(context.Context, *ProviderRequest) (*LinkTypesResponse, error)
	// ListDataSourceTypes retrieves a list of all the data source types
	// that are implemented by the provider.
	// This is primarily used in tools and documentation to provide a list of
	// available data source types.
	ListDataSourceTypes(context.Context, *ProviderRequest) (*DataSourceTypesResponse, error)
	// ListCustomVariableTypes retrieves a list of all the custom variable types
	// that are implemented by the provider.
	// This is primarily used in tools and documentation to provide a list of
	// available custom variable types.
	ListCustomVariableTypes(context.Context, *ProviderRequest) (*CustomVariableTypesResponse, error)
	// ListFunctions retrieves a list of all the functions that are implemented by the provider.
	// This is primarily used to assign the correct provider to a function
	// as functions are globally named. When multiple providers provide the same function,
	// an error is reported during initialisation.
	ListFunctions(context.Context, *ProviderRequest) (*FunctionListResponse, error)
	// GetRetryPolicy retrieves the retry policy that should be used for the provider
	// for resource, link and data source operations.
	// The retry policy will be applied for resources when deploying, updating and removing
	// resources, for links when creating and removing links and for data sources when
	// querying the upstream data source.
	// The retry behaviour only kicks in when the provider resource, data source or link
	// implementation returns an error response with the `TRANSIENT` error code,
	// in which case the retry policy will be applied.
	// A retry policy is optional and if not provided, a default retry policy
	// provided by the host tool will be used.
	GetRetryPolicy(context.Context, *ProviderRequest) (*RetryPolicyResponse, error)
	// CustomValidateResource deals with carrying out custom validation for
	// a resource that goes beyond the built-in resource spec validation.
	CustomValidateResource(context.Context, *CustomValidateResourceRequest) (*CustomValidateResourceResponse, error)
	// GetResourceSpecDefinition retrieves the spec definition for a resource,
	// this is used as the first line of validation for a resource in a blueprint
	// and is also useful for validating references to a resource instance
	// in a blueprint and for providing definitions for docs and tooling.
	// The spec defines both the schema for the resource spec fields that can be defined
	// by users in a blueprint and computed fields that are derived from the deployed
	// resource in the external provider (e.g. Lambda ARN in AWS).
	GetResourceSpecDefinition(context.Context, *ResourceRequest) (*ResourceSpecDefinitionResponse, error)
	// CanResourceLinkTo produces a list of all the resource types
	// that the given resource type can link to.
	CanResourceLinkTo(context.Context, *ResourceRequest) (*CanResourceLinkToResponse, error)
	// GetResourceStabilisedDeps retrieves a list of resource types
	// that must be stabilised before the current resource can be deployed when
	// another resource of one of the specified types is a dependency of
	// the current resource in a blueprint.
	GetResourceStabilisedDeps(context.Context, *ResourceRequest) (*ResourceStabilisedDepsResponse, error)
	// IsResourceCommonTerminal specifies whether the given resource type is expected
	// to have a common use-case as a terminal resource that does not link out to other resources.
	// This is useful for providing warnings to users about their blueprints
	// without overloading them with warnings for all resources that don't have any outbound
	// links that could have.
	IsResourceCommonTerminal(context.Context, *ResourceRequest) (*IsResourceCommonTerminalResponse, error)
	// GetResourceType retrieves the type of a resource in a blueprint spec
	// that can be used for documentation and tooling.
	// This allows callers to get a human-readable label for the already known
	// resource type.
	GetResourceType(context.Context, *ResourceRequest) (*sharedtypesv1.ResourceTypeResponse, error)
	// GetResourceTypeDescription retrieves the description for a resource type
	// in a blueprint spec that can be used for documentation and tooling.
	// Markdown and plain text formats are supported.
	GetResourceTypeDescription(context.Context, *ResourceRequest) (*sharedtypesv1.TypeDescriptionResponse, error)
	// GetResourceExamples deals with retrieving a list of examples for a resource type
	// in a blueprint spec that can be used for documentation and tooling.
	// Markdown and plain text formats are supported.
	GetResourceExamples(context.Context, *ResourceRequest) (*sharedtypesv1.ExamplesResponse, error)
	// DeployResource deals with deploying a resource with the upstream resource provider.
	// THe behaviour of deploy is to create or update the resource configuration and return
	// the resource spec state once the configuration has been created or updated.
	// DeployResource should not wait for the resource to be in a stable state before returning,
	// the framework will call the HasStabilised method periodically when waiting for a resource
	// to stabilise.
	// Parameters are passed into DeployResource for extra context, blueprint variables will have already
	// been substituted at this stage and must be used instead of the passed in params argument
	// to ensure consistency between the staged changes that are reviewed and the deployment itself.
	DeployResource(context.Context, *sharedtypesv1.DeployResourceRequest) (*sharedtypesv1.DeployResourceResponse, error)
	// ResourceHasStabilised deals with checking if a resource has stabilised after being deployed.
	// This is important for resources that require a stable state before other resources can be deployed.
	// This is only used when creating or updating a resource, not when destroying a resource.
	ResourceHasStabilised(context.Context, *sharedtypesv1.ResourceHasStabilisedRequest) (*sharedtypesv1.ResourceHasStabilisedResponse, error)
	// GetResourceExternalState deals with getting the state of the resource from the resource provider.
	// (e.g. AWS or Google Cloud)
	GetResourceExternalState(context.Context, *GetResourceExternalStateRequest) (*GetResourceExternalStateResponse, error)
	// DestroyResource deals with destroying a resource instance if its current
	// state is successfully deployed or cleaning up a corrupt or partially deployed
	// resource instance.
	// The resource instance should be completely removed from the external provider
	// as a result of this operation; this is essential for when
	// another element to be removed from a blueprint
	// requires a resource to be completely removed from the external provider.
	// There is no "config complete" equivalent for destroying a resource and
	// "HasStabilised" is designed to be used for resources being created or
	// updated.
	DestroyResource(context.Context, *sharedtypesv1.DestroyResourceRequest) (*sharedtypesv1.DestroyResourceResponse, error)
	// StageLinkChanges details the changes that will be made to a link between
	// two resources in a blueprint deployment.
	// Unlike resources, links do not map to a specification for a single deployable unit,
	// so link implementations must specify the changes that will be made across multiple resources.
	StageLinkChanges(context.Context, *StageLinkChangesRequest) (*StageLinkChangesResponse, error)
	// UpdateLinkResourceA deals with applying the changes to the first of the two linked resources
	// for the creation or removal of a link between two resources.
	// The value of the `link_data` field returned in the response will be combined
	// with the link data output from updating resource B and intermediary resources
	// to form the final link data that will be persisted in the state of the blueprint instance.
	// Parameters are passed into UpdateLinkResourceA for extra context, blueprint variables will have already
	// been substituted at this stage and must be used instead of the passed in params argument
	// to ensure consistency between the staged changes that are reviewed and the deployment itself.
	UpdateLinkResourceA(context.Context, *UpdateLinkResourceRequest) (*UpdateLinkResourceResponse, error)
	// UpdateLinkResourceB deals with applying the changes to the second of the two linked resources
	// for the creation or removal of a link between two resources.
	// The value of the `link_data` field returned in the output will be combined
	// with the link data output from updating resource A and intermediary resources
	// to form the final link data that will be persisted in the state of the blueprint instance.
	// Parameters are passed into UpdateResourceB for extra context, blueprint variables will have already
	// been substituted at this stage and must be used instead of the passed in params argument
	// to ensure consistency between the staged changes that are reviewed and the deployment itself.
	UpdateLinkResourceB(context.Context, *UpdateLinkResourceRequest) (*UpdateLinkResourceResponse, error)
	// UpdateLinkIntermediaryResources deals with creating, updating or deleting intermediary resources
	// that are required for the link between two resources.
	// This is called for both the creation and removal of a link between two resources.
	// The value of the `link_data` field returned in the output will be combined
	// with the link data output from updating resource A and B
	// to form the final link data that will be persisted in the state of the blueprint instance.
	// Parameters are passed into UpdateIntermediaryResources for extra context, blueprint variables will have already
	// been substituted at this stage and must be used instead of the passed in params argument
	// to ensure consistency between the staged changes that are reviewed and the deployment itself.
	UpdateLinkIntermediaryResources(context.Context, *UpdateLinkIntermediaryResourcesRequest) (*UpdateLinkIntermediaryResourcesResponse, error)
	// GetLinkPriorityResource retrieves the resource in the relationship
	// that must be deployed first. This will be empty for links where one resource does not
	// need to be deployed before the other.
	GetLinkPriorityResource(context.Context, *LinkRequest) (*LinkPriorityResourceResponse, error)
	// GetLinkTypeDescription deals with retrieving the description for a link type in a blueprint spec
	// that can be used for documentation and tooling.
	// Markdown and plain text formats are supported.
	GetLinkTypeDescription(context.Context, *LinkRequest) (*sharedtypesv1.TypeDescriptionResponse, error)
	// GetLinkAnnotationDefinitions retrieves the annotation definitions for the link type.
	// Annotations provide a way to fine tune the behaviour of a link in a blueprint spec
	// in the linked resource metadata sections.
	GetLinkAnnotationDefinitions(context.Context, *LinkRequest) (*LinkAnnotationDefinitionsResponse, error)
	// GetKind tells us whether the link is a "hard" or "soft" link.
	// A hard link is where the priority resource type must be created first.
	// A soft link is where it does not matter which resource type in the relationship
	// is created first.
	GetLinkKind(context.Context, *LinkRequest) (*LinkKindResponse, error)
	// GetDataSourceType retrieves the type of a data source in a blueprint spec
	// that can be used for documentation and tooling.
	// This allows callers to get a human-readable label for the already known
	// data source type.
	GetDataSourceType(context.Context, *DataSourceRequest) (*DataSourceTypeResponse, error)
	// GetDataSourceTypeDescription deals with retrieving the description for a data source type in a blueprint spec
	// that can be used for documentation and tooling.
	// Markdown and plain text formats are supported.
	GetDataSourceTypeDescription(context.Context, *DataSourceRequest) (*sharedtypesv1.TypeDescriptionResponse, error)
	// GetDataSourceExamples deals with retrieving a list of examples for a data source type
	// in a blueprint spec that can be used for documentation and tooling.
	// Markdown and plain text formats are supported.
	GetDataSourceExamples(context.Context, *DataSourceRequest) (*sharedtypesv1.ExamplesResponse, error)
	// CustomValidateDataSource provides support for custom validation that goes beyond
	// the spec schema validation provided by the data source's spec definition.
	CustomValidateDataSource(context.Context, *CustomValidateDataSourceRequest) (*CustomValidateDataSourceResponse, error)
	// GetDataSourceSpecDefinition retrieves the spec definition for a data source.
	// This definition specifies all the fields that can be exported from a data source
	// to be used in a blueprint.
	// This is the first line of validation for a data source in a blueprint and is also
	// useful for validating references to a data source instance
	// in a blueprint and for providing definitions for docs and tooling.
	GetDataSourceSpecDefinition(context.Context, *DataSourceRequest) (*DataSourceSpecDefinitionResponse, error)
	// GetDataSourceFilterFields provides the fields that can be used in a filter when querying
	// a data source.
	GetDataSourceFilterFields(context.Context, *DataSourceRequest) (*DataSourceFilterFieldsResponse, error)
	// FetchDataSource deals with loading the data from the upstream data source
	// and returning the exported fields defined in the spec.
	FetchDataSource(context.Context, *FetchDataSourceRequest) (*FetchDataSourceResponse, error)
	// GetCustomVariableType retrieves the type of a custom variable type in a blueprint spec
	// that can be used for documentation and tooling.
	// This allows callers to get a human-readable label for the already known
	// custom variable type.
	GetCustomVariableType(context.Context, *CustomVariableTypeRequest) (*CustomVariableTypeResponse, error)
	// GetCustomVariableTypeDescription deals with retrieving the description
	// for a custom variable type in a blueprint spec that can be used for
	// documentation and tooling.
	// Markdown and plain text formats are supported.
	GetCustomVariableTypeDescription(context.Context, *CustomVariableTypeRequest) (*sharedtypesv1.TypeDescriptionResponse, error)
	// GetCustomVariableTypeOptions loads a set of fixed possible values available
	// for the custom variable type.
	// In the returned options, each one is keyed by a label, essentially
	// behaving as a runtime enum.
	GetCustomVariableTypeOptions(context.Context, *CustomVariableTypeRequest) (*CustomVariableTypeOptionsResponse, error)
	// GetCustomVariableTypeExamples deals with retrieving a list of examples for a custom
	// variable type in a blueprint spec that can be used for documentation and tooling.
	// Markdown and plain text formats are supported.
	GetCustomVariableTypeExamples(context.Context, *CustomVariableTypeRequest) (*sharedtypesv1.ExamplesResponse, error)
	// GetFunctionDefinition returns the definition of the function
	// that includes allowed parameters and return types.
	// This would usually be called during initialisation of a provider
	// to pre-fetch function definitions and cache them to validate
	// the returned values from plugin function calls.
	GetFunctionDefinition(context.Context, *sharedtypesv1.FunctionDefinitionRequest) (*sharedtypesv1.FunctionDefinitionResponse, error)
	// CallFunction is called when a function is used in a blueprint.
	CallFunction(context.Context, *sharedtypesv1.FunctionCallRequest) (*sharedtypesv1.FunctionCallResponse, error)
	// contains filtered or unexported methods
}

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

Interface exported by a provider plugin server.

type ResolvedDataSource

type ResolvedDataSource struct {
	Type               *DataSourceType                           `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
	DataSourceMetadata *ResolvedDataSourceMetadata               `protobuf:"bytes,2,opt,name=data_source_metadata,json=dataSourceMetadata" json:"data_source_metadata,omitempty"`
	Filter             []*ResolvedDataSourceFilter               `protobuf:"bytes,3,rep,name=filter" json:"filter,omitempty"`
	Exports            map[string]*ResolvedDataSourceFieldExport `` /* 134-byte string literal not displayed */
	Description        *schemapb.MappingNode                     `protobuf:"bytes,5,opt,name=description" json:"description,omitempty"`
	// contains filtered or unexported fields
}

ResolvedDataSource is a data source for which all ${..} substitutions have been applied.

func (*ResolvedDataSource) Descriptor deprecated

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

Deprecated: Use ResolvedDataSource.ProtoReflect.Descriptor instead.

func (*ResolvedDataSource) GetDataSourceMetadata

func (x *ResolvedDataSource) GetDataSourceMetadata() *ResolvedDataSourceMetadata

func (*ResolvedDataSource) GetDescription

func (x *ResolvedDataSource) GetDescription() *schemapb.MappingNode

func (*ResolvedDataSource) GetExports

func (*ResolvedDataSource) GetFilter

func (x *ResolvedDataSource) GetFilter() []*ResolvedDataSourceFilter

func (*ResolvedDataSource) GetType

func (x *ResolvedDataSource) GetType() *DataSourceType

func (*ResolvedDataSource) ProtoMessage

func (*ResolvedDataSource) ProtoMessage()

func (*ResolvedDataSource) ProtoReflect

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

func (*ResolvedDataSource) Reset

func (x *ResolvedDataSource) Reset()

func (*ResolvedDataSource) String

func (x *ResolvedDataSource) String() string

type ResolvedDataSourceFieldExport

type ResolvedDataSourceFieldExport struct {
	Type        string                `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
	AliasFor    *schemapb.ScalarValue `protobuf:"bytes,2,opt,name=alias_for,json=aliasFor" json:"alias_for,omitempty"`
	Description *schemapb.MappingNode `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"`
	// contains filtered or unexported fields
}

ResolvedDataSourceFieldExport provides a field export for which all ${..} substitutions have been applied.

func (*ResolvedDataSourceFieldExport) Descriptor deprecated

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

Deprecated: Use ResolvedDataSourceFieldExport.ProtoReflect.Descriptor instead.

func (*ResolvedDataSourceFieldExport) GetAliasFor

func (*ResolvedDataSourceFieldExport) GetDescription

func (x *ResolvedDataSourceFieldExport) GetDescription() *schemapb.MappingNode

func (*ResolvedDataSourceFieldExport) GetType

func (*ResolvedDataSourceFieldExport) ProtoMessage

func (*ResolvedDataSourceFieldExport) ProtoMessage()

func (*ResolvedDataSourceFieldExport) ProtoReflect

func (*ResolvedDataSourceFieldExport) Reset

func (x *ResolvedDataSourceFieldExport) Reset()

func (*ResolvedDataSourceFieldExport) String

type ResolvedDataSourceFilter

type ResolvedDataSourceFilter struct {
	Field    *schemapb.ScalarValue           `protobuf:"bytes,1,opt,name=field" json:"field,omitempty"`
	Operator string                          `protobuf:"bytes,2,opt,name=operator" json:"operator,omitempty"`
	Search   *ResolvedDataSourceFilterSearch `protobuf:"bytes,3,opt,name=search" json:"search,omitempty"`
	// contains filtered or unexported fields
}

ResolvedDataSourceFilter provides a filter for which all ${..} substitutions have been applied.

func (*ResolvedDataSourceFilter) Descriptor deprecated

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

Deprecated: Use ResolvedDataSourceFilter.ProtoReflect.Descriptor instead.

func (*ResolvedDataSourceFilter) GetField

func (*ResolvedDataSourceFilter) GetOperator

func (x *ResolvedDataSourceFilter) GetOperator() string

func (*ResolvedDataSourceFilter) GetSearch

func (*ResolvedDataSourceFilter) ProtoMessage

func (*ResolvedDataSourceFilter) ProtoMessage()

func (*ResolvedDataSourceFilter) ProtoReflect

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

func (*ResolvedDataSourceFilter) Reset

func (x *ResolvedDataSourceFilter) Reset()

func (*ResolvedDataSourceFilter) String

func (x *ResolvedDataSourceFilter) String() string

type ResolvedDataSourceFilterSearch

type ResolvedDataSourceFilterSearch struct {
	Values []*schemapb.MappingNode `protobuf:"bytes,1,rep,name=values" json:"values,omitempty"`
	// contains filtered or unexported fields
}

ResolvedDataSourceFilterSearch provides data source filter search terms for which all ${..} substitutions have been applied.

func (*ResolvedDataSourceFilterSearch) Descriptor deprecated

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

Deprecated: Use ResolvedDataSourceFilterSearch.ProtoReflect.Descriptor instead.

func (*ResolvedDataSourceFilterSearch) GetValues

func (*ResolvedDataSourceFilterSearch) ProtoMessage

func (*ResolvedDataSourceFilterSearch) ProtoMessage()

func (*ResolvedDataSourceFilterSearch) ProtoReflect

func (*ResolvedDataSourceFilterSearch) Reset

func (x *ResolvedDataSourceFilterSearch) Reset()

func (*ResolvedDataSourceFilterSearch) String

type ResolvedDataSourceMetadata

type ResolvedDataSourceMetadata struct {
	DisplayName *schemapb.MappingNode `protobuf:"bytes,1,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
	Annotations *schemapb.MappingNode `protobuf:"bytes,2,opt,name=annotations" json:"annotations,omitempty"`
	Custom      *schemapb.MappingNode `protobuf:"bytes,3,opt,name=custom" json:"custom,omitempty"`
	// contains filtered or unexported fields
}

ResolvedDataSourceMetadata provides metadata for which all ${..} substitutions have been applied.

func (*ResolvedDataSourceMetadata) Descriptor deprecated

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

Deprecated: Use ResolvedDataSourceMetadata.ProtoReflect.Descriptor instead.

func (*ResolvedDataSourceMetadata) GetAnnotations

func (x *ResolvedDataSourceMetadata) GetAnnotations() *schemapb.MappingNode

func (*ResolvedDataSourceMetadata) GetCustom

func (*ResolvedDataSourceMetadata) GetDisplayName

func (x *ResolvedDataSourceMetadata) GetDisplayName() *schemapb.MappingNode

func (*ResolvedDataSourceMetadata) ProtoMessage

func (*ResolvedDataSourceMetadata) ProtoMessage()

func (*ResolvedDataSourceMetadata) ProtoReflect

func (*ResolvedDataSourceMetadata) Reset

func (x *ResolvedDataSourceMetadata) Reset()

func (*ResolvedDataSourceMetadata) String

func (x *ResolvedDataSourceMetadata) String() string

type ResourceRequest

type ResourceRequest struct {

	// The type of resource to carry out an action on or retrieve
	// some information about.
	ResourceType *sharedtypesv1.ResourceType `protobuf:"bytes,1,opt,name=resource_type,json=resourceType" json:"resource_type,omitempty"`
	// The ID of the host making the request
	// to the provider.
	HostId string `protobuf:"bytes,2,opt,name=host_id,json=hostId" json:"host_id,omitempty"`
	// Runtime configuration for the current environment
	// specific to the current provider.
	Context *sharedtypesv1.ProviderContext `protobuf:"bytes,3,opt,name=context" json:"context,omitempty"`
	// contains filtered or unexported fields
}

ResourceRequest is the request input for general resource type requests that only require a resource type and the current context.

func (*ResourceRequest) Descriptor deprecated

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

Deprecated: Use ResourceRequest.ProtoReflect.Descriptor instead.

func (*ResourceRequest) GetContext

func (*ResourceRequest) GetHostId

func (x *ResourceRequest) GetHostId() string

func (*ResourceRequest) GetResourceType

func (x *ResourceRequest) GetResourceType() *sharedtypesv1.ResourceType

func (*ResourceRequest) ProtoMessage

func (*ResourceRequest) ProtoMessage()

func (*ResourceRequest) ProtoReflect

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

func (*ResourceRequest) Reset

func (x *ResourceRequest) Reset()

func (*ResourceRequest) String

func (x *ResourceRequest) String() string

type ResourceSpecDefinitionResponse

type ResourceSpecDefinitionResponse struct {

	// Types that are valid to be assigned to Response:
	//
	//	*ResourceSpecDefinitionResponse_SpecDefinition
	//	*ResourceSpecDefinitionResponse_ErrorResponse
	Response isResourceSpecDefinitionResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

ResourceSpecDefinitionResponse is the response containing the spec definition for a given resource type.

func (*ResourceSpecDefinitionResponse) Descriptor deprecated

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

Deprecated: Use ResourceSpecDefinitionResponse.ProtoReflect.Descriptor instead.

func (*ResourceSpecDefinitionResponse) GetErrorResponse

func (*ResourceSpecDefinitionResponse) GetResponse

func (x *ResourceSpecDefinitionResponse) GetResponse() isResourceSpecDefinitionResponse_Response

func (*ResourceSpecDefinitionResponse) GetSpecDefinition

func (*ResourceSpecDefinitionResponse) ProtoMessage

func (*ResourceSpecDefinitionResponse) ProtoMessage()

func (*ResourceSpecDefinitionResponse) ProtoReflect

func (*ResourceSpecDefinitionResponse) Reset

func (x *ResourceSpecDefinitionResponse) Reset()

func (*ResourceSpecDefinitionResponse) String

type ResourceSpecDefinitionResponse_ErrorResponse

type ResourceSpecDefinitionResponse_ErrorResponse struct {
	ErrorResponse *sharedtypesv1.ErrorResponse `protobuf:"bytes,2,opt,name=error_response,json=errorResponse,oneof"`
}

type ResourceSpecDefinitionResponse_SpecDefinition

type ResourceSpecDefinitionResponse_SpecDefinition struct {
	SpecDefinition *sharedtypesv1.ResourceSpecDefinition `protobuf:"bytes,1,opt,name=spec_definition,json=specDefinition,oneof"`
}

type ResourceStabilisedDepsResponse

type ResourceStabilisedDepsResponse struct {

	// Types that are valid to be assigned to Response:
	//
	//	*ResourceStabilisedDepsResponse_StabilisedDependencies
	//	*ResourceStabilisedDepsResponse_ErrorResponse
	Response isResourceStabilisedDepsResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

ResourceStabilisedDepsResponse is the response containing the list of resource types that must be stabilised before the current resource can be deployed.

func (*ResourceStabilisedDepsResponse) Descriptor deprecated

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

Deprecated: Use ResourceStabilisedDepsResponse.ProtoReflect.Descriptor instead.

func (*ResourceStabilisedDepsResponse) GetErrorResponse

func (*ResourceStabilisedDepsResponse) GetResponse

func (x *ResourceStabilisedDepsResponse) GetResponse() isResourceStabilisedDepsResponse_Response

func (*ResourceStabilisedDepsResponse) GetStabilisedDependencies

func (x *ResourceStabilisedDepsResponse) GetStabilisedDependencies() *StabilisedDependencies

func (*ResourceStabilisedDepsResponse) ProtoMessage

func (*ResourceStabilisedDepsResponse) ProtoMessage()

func (*ResourceStabilisedDepsResponse) ProtoReflect

func (*ResourceStabilisedDepsResponse) Reset

func (x *ResourceStabilisedDepsResponse) Reset()

func (*ResourceStabilisedDepsResponse) String

type ResourceStabilisedDepsResponse_ErrorResponse

type ResourceStabilisedDepsResponse_ErrorResponse struct {
	ErrorResponse *sharedtypesv1.ErrorResponse `protobuf:"bytes,2,opt,name=error_response,json=errorResponse,oneof"`
}

type ResourceStabilisedDepsResponse_StabilisedDependencies

type ResourceStabilisedDepsResponse_StabilisedDependencies struct {
	StabilisedDependencies *StabilisedDependencies `protobuf:"bytes,1,opt,name=stabilised_dependencies,json=stabilisedDependencies,oneof"`
}

type ResourceTypes

type ResourceTypes struct {
	ResourceTypes []*sharedtypesv1.ResourceType `protobuf:"bytes,1,rep,name=resource_types,json=resourceTypes" json:"resource_types,omitempty"`
	// contains filtered or unexported fields
}

ResourceTypes holds a list of resource types that are implemented by the provider.

func (*ResourceTypes) Descriptor deprecated

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

Deprecated: Use ResourceTypes.ProtoReflect.Descriptor instead.

func (*ResourceTypes) GetResourceTypes

func (x *ResourceTypes) GetResourceTypes() []*sharedtypesv1.ResourceType

func (*ResourceTypes) ProtoMessage

func (*ResourceTypes) ProtoMessage()

func (*ResourceTypes) ProtoReflect

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

func (*ResourceTypes) Reset

func (x *ResourceTypes) Reset()

func (*ResourceTypes) String

func (x *ResourceTypes) String() string

type ResourceTypesResponse

type ResourceTypesResponse struct {

	// Types that are valid to be assigned to Response:
	//
	//	*ResourceTypesResponse_ResourceTypes
	//	*ResourceTypesResponse_ErrorResponse
	Response isResourceTypesResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

ResourceTypesResponse contains the response for requesting a list of all the resource types that are implemented by the provider.

func (*ResourceTypesResponse) Descriptor deprecated

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

Deprecated: Use ResourceTypesResponse.ProtoReflect.Descriptor instead.

func (*ResourceTypesResponse) GetErrorResponse

func (x *ResourceTypesResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse

func (*ResourceTypesResponse) GetResourceTypes

func (x *ResourceTypesResponse) GetResourceTypes() *ResourceTypes

func (*ResourceTypesResponse) GetResponse

func (x *ResourceTypesResponse) GetResponse() isResourceTypesResponse_Response

func (*ResourceTypesResponse) ProtoMessage

func (*ResourceTypesResponse) ProtoMessage()

func (*ResourceTypesResponse) ProtoReflect

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

func (*ResourceTypesResponse) Reset

func (x *ResourceTypesResponse) Reset()

func (*ResourceTypesResponse) String

func (x *ResourceTypesResponse) String() string

type ResourceTypesResponse_ErrorResponse

type ResourceTypesResponse_ErrorResponse struct {
	ErrorResponse *sharedtypesv1.ErrorResponse `protobuf:"bytes,2,opt,name=error_response,json=errorResponse,oneof"`
}

type ResourceTypesResponse_ResourceTypes

type ResourceTypesResponse_ResourceTypes struct {
	ResourceTypes *ResourceTypes `protobuf:"bytes,1,opt,name=resource_types,json=resourceTypes,oneof"`
}

type RetryPolicy

type RetryPolicy struct {

	// The maximum number of retries that should be attempted
	// for a resource, link or data source operation.
	// If this is 0, no retries should be attempted.
	MaxRetries int32 `protobuf:"varint,1,opt,name=max_retries,json=maxRetries" json:"max_retries,omitempty"`
	// The delay in seconds that should be used before the first retry
	// attempt.
	// Fractional seconds are supported.
	FirstRetryDelay float64 `protobuf:"fixed64,2,opt,name=first_retry_delay,json=firstRetryDelay" json:"first_retry_delay,omitempty"`
	// The maximum internval in seconds to wait between retries.
	// If -1 is provided, no maximum delay is enforced.
	// Fractional seconds are supported.
	MaxDelay float64 `protobuf:"fixed64,3,opt,name=max_delay,json=maxDelay" json:"max_delay,omitempty"`
	// The factor that should be used to calculate the backoff time
	// between retries.
	// This AWS blog post from 2015 provides a good insight into how exponential backoff works:
	// https://aws.amazon.com/blogs/architecture/exponential-backoff-and-jitter/
	BackoffFactor float64 `protobuf:"fixed64,4,opt,name=backoff_factor,json=backoffFactor" json:"backoff_factor,omitempty"`
	// Determines whether to apply jitter to the retry interval.
	// This AWS blog post from 2015 provides a good insight into how jitter works:
	// https://aws.amazon.com/blogs/architecture/exponential-backoff-and-jitter/
	Jitter bool `protobuf:"varint,5,opt,name=jitter" json:"jitter,omitempty"`
	// contains filtered or unexported fields
}

RetryPolicy defines the retry policy that should be used for the provider with resource, link and data source operations.

func (*RetryPolicy) Descriptor deprecated

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

Deprecated: Use RetryPolicy.ProtoReflect.Descriptor instead.

func (*RetryPolicy) GetBackoffFactor

func (x *RetryPolicy) GetBackoffFactor() float64

func (*RetryPolicy) GetFirstRetryDelay

func (x *RetryPolicy) GetFirstRetryDelay() float64

func (*RetryPolicy) GetJitter

func (x *RetryPolicy) GetJitter() bool

func (*RetryPolicy) GetMaxDelay

func (x *RetryPolicy) GetMaxDelay() float64

func (*RetryPolicy) GetMaxRetries

func (x *RetryPolicy) GetMaxRetries() int32

func (*RetryPolicy) ProtoMessage

func (*RetryPolicy) ProtoMessage()

func (*RetryPolicy) ProtoReflect

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

func (*RetryPolicy) Reset

func (x *RetryPolicy) Reset()

func (*RetryPolicy) String

func (x *RetryPolicy) String() string

type RetryPolicyResponse

type RetryPolicyResponse struct {

	// Types that are valid to be assigned to Response:
	//
	//	*RetryPolicyResponse_RetryPolicy
	//	*RetryPolicyResponse_ErrorResponse
	Response isRetryPolicyResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

RetryPolicyResponse contains the response for requesting the retry policy that should be used for the provider.

func (*RetryPolicyResponse) Descriptor deprecated

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

Deprecated: Use RetryPolicyResponse.ProtoReflect.Descriptor instead.

func (*RetryPolicyResponse) GetErrorResponse

func (x *RetryPolicyResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse

func (*RetryPolicyResponse) GetResponse

func (x *RetryPolicyResponse) GetResponse() isRetryPolicyResponse_Response

func (*RetryPolicyResponse) GetRetryPolicy

func (x *RetryPolicyResponse) GetRetryPolicy() *RetryPolicy

func (*RetryPolicyResponse) ProtoMessage

func (*RetryPolicyResponse) ProtoMessage()

func (*RetryPolicyResponse) ProtoReflect

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

func (*RetryPolicyResponse) Reset

func (x *RetryPolicyResponse) Reset()

func (*RetryPolicyResponse) String

func (x *RetryPolicyResponse) String() string

type RetryPolicyResponse_ErrorResponse

type RetryPolicyResponse_ErrorResponse struct {
	ErrorResponse *sharedtypesv1.ErrorResponse `protobuf:"bytes,2,opt,name=error_response,json=errorResponse,oneof"`
}

type RetryPolicyResponse_RetryPolicy

type RetryPolicyResponse_RetryPolicy struct {
	RetryPolicy *RetryPolicy `protobuf:"bytes,1,opt,name=retry_policy,json=retryPolicy,oneof"`
}

type StabilisedDependencies

type StabilisedDependencies struct {
	ResourceTypes []*sharedtypesv1.ResourceType `protobuf:"bytes,1,rep,name=resource_types,json=resourceTypes" json:"resource_types,omitempty"`
	// contains filtered or unexported fields
}

StabilisedDependencies holds a list of resource types that must be stabilised before the current resource can be deployed.

func (*StabilisedDependencies) Descriptor deprecated

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

Deprecated: Use StabilisedDependencies.ProtoReflect.Descriptor instead.

func (*StabilisedDependencies) GetResourceTypes

func (x *StabilisedDependencies) GetResourceTypes() []*sharedtypesv1.ResourceType

func (*StabilisedDependencies) ProtoMessage

func (*StabilisedDependencies) ProtoMessage()

func (*StabilisedDependencies) ProtoReflect

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

func (*StabilisedDependencies) Reset

func (x *StabilisedDependencies) Reset()

func (*StabilisedDependencies) String

func (x *StabilisedDependencies) String() string

type StageLinkChangesCompleteResponse

type StageLinkChangesCompleteResponse struct {
	Changes *sharedtypesv1.LinkChanges `protobuf:"bytes,1,opt,name=changes" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

StageLinkChangesCompleteResponse is the response returned by the provider plugin when changes for a link have been staged.

func (*StageLinkChangesCompleteResponse) Descriptor deprecated

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

Deprecated: Use StageLinkChangesCompleteResponse.ProtoReflect.Descriptor instead.

func (*StageLinkChangesCompleteResponse) GetChanges

func (*StageLinkChangesCompleteResponse) ProtoMessage

func (*StageLinkChangesCompleteResponse) ProtoMessage()

func (*StageLinkChangesCompleteResponse) ProtoReflect

func (*StageLinkChangesCompleteResponse) Reset

func (*StageLinkChangesCompleteResponse) String

type StageLinkChangesRequest

type StageLinkChangesRequest struct {
	LinkType *LinkType `protobuf:"bytes,1,opt,name=link_type,json=linkType" json:"link_type,omitempty"`
	// The ID of the host making the request
	// to the provider.
	HostId           string                 `protobuf:"bytes,2,opt,name=host_id,json=hostId" json:"host_id,omitempty"`
	ResourceAChanges *sharedtypesv1.Changes `protobuf:"bytes,3,opt,name=resource_a_changes,json=resourceAChanges" json:"resource_a_changes,omitempty"`
	ResourceBChanges *sharedtypesv1.Changes `protobuf:"bytes,4,opt,name=resource_b_changes,json=resourceBChanges" json:"resource_b_changes,omitempty"`
	CurrentLinkState *LinkState             `protobuf:"bytes,5,opt,name=current_link_state,json=currentLinkState" json:"current_link_state,omitempty"`
	Context          *LinkContext           `protobuf:"bytes,6,opt,name=context" json:"context,omitempty"`
	// contains filtered or unexported fields
}

StageLinkChangesRequest provides the input data needed to stage changes for a link between two resources.

func (*StageLinkChangesRequest) Descriptor deprecated

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

Deprecated: Use StageLinkChangesRequest.ProtoReflect.Descriptor instead.

func (*StageLinkChangesRequest) GetContext

func (x *StageLinkChangesRequest) GetContext() *LinkContext

func (*StageLinkChangesRequest) GetCurrentLinkState

func (x *StageLinkChangesRequest) GetCurrentLinkState() *LinkState

func (*StageLinkChangesRequest) GetHostId

func (x *StageLinkChangesRequest) GetHostId() string

func (*StageLinkChangesRequest) GetLinkType

func (x *StageLinkChangesRequest) GetLinkType() *LinkType

func (*StageLinkChangesRequest) GetResourceAChanges

func (x *StageLinkChangesRequest) GetResourceAChanges() *sharedtypesv1.Changes

func (*StageLinkChangesRequest) GetResourceBChanges

func (x *StageLinkChangesRequest) GetResourceBChanges() *sharedtypesv1.Changes

func (*StageLinkChangesRequest) ProtoMessage

func (*StageLinkChangesRequest) ProtoMessage()

func (*StageLinkChangesRequest) ProtoReflect

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

func (*StageLinkChangesRequest) Reset

func (x *StageLinkChangesRequest) Reset()

func (*StageLinkChangesRequest) String

func (x *StageLinkChangesRequest) String() string

type StageLinkChangesResponse

type StageLinkChangesResponse struct {

	// Types that are valid to be assigned to Response:
	//
	//	*StageLinkChangesResponse_CompleteResponse
	//	*StageLinkChangesResponse_ErrorResponse
	Response isStageLinkChangesResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

StageLinkChangesResponse is the response containing the result of staging changes for a link.

func (*StageLinkChangesResponse) Descriptor deprecated

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

Deprecated: Use StageLinkChangesResponse.ProtoReflect.Descriptor instead.

func (*StageLinkChangesResponse) GetCompleteResponse

func (*StageLinkChangesResponse) GetErrorResponse

func (x *StageLinkChangesResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse

func (*StageLinkChangesResponse) GetResponse

func (x *StageLinkChangesResponse) GetResponse() isStageLinkChangesResponse_Response

func (*StageLinkChangesResponse) ProtoMessage

func (*StageLinkChangesResponse) ProtoMessage()

func (*StageLinkChangesResponse) ProtoReflect

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

func (*StageLinkChangesResponse) Reset

func (x *StageLinkChangesResponse) Reset()

func (*StageLinkChangesResponse) String

func (x *StageLinkChangesResponse) String() string

type StageLinkChangesResponse_CompleteResponse

type StageLinkChangesResponse_CompleteResponse struct {
	CompleteResponse *StageLinkChangesCompleteResponse `protobuf:"bytes,1,opt,name=complete_response,json=completeResponse,oneof"`
}

type StageLinkChangesResponse_ErrorResponse

type StageLinkChangesResponse_ErrorResponse struct {
	ErrorResponse *sharedtypesv1.ErrorResponse `protobuf:"bytes,2,opt,name=error_response,json=errorResponse,oneof"`
}

type UnimplementedProviderServer

type UnimplementedProviderServer struct{}

UnimplementedProviderServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedProviderServer) CanResourceLinkTo

func (UnimplementedProviderServer) FetchDataSource

func (UnimplementedProviderServer) GetCustomVariableType

func (UnimplementedProviderServer) GetCustomVariableTypeExamples

func (UnimplementedProviderServer) GetDataSourceExamples

func (UnimplementedProviderServer) GetDataSourceFilterFields

func (UnimplementedProviderServer) GetDataSourceSpecDefinition

func (UnimplementedProviderServer) GetDataSourceType

func (UnimplementedProviderServer) GetDataSourceTypeDescription

func (UnimplementedProviderServer) GetLinkAnnotationDefinitions

func (UnimplementedProviderServer) GetLinkKind

func (UnimplementedProviderServer) GetLinkPriorityResource

func (UnimplementedProviderServer) GetLinkTypeDescription

func (UnimplementedProviderServer) GetNamespace

func (UnimplementedProviderServer) GetResourceExamples

func (UnimplementedProviderServer) GetResourceSpecDefinition

func (UnimplementedProviderServer) GetResourceStabilisedDeps

func (UnimplementedProviderServer) GetResourceType

func (UnimplementedProviderServer) GetResourceTypeDescription

func (UnimplementedProviderServer) GetRetryPolicy

func (UnimplementedProviderServer) IsResourceCommonTerminal

func (UnimplementedProviderServer) ListCustomVariableTypes

func (UnimplementedProviderServer) ListDataSourceTypes

func (UnimplementedProviderServer) ListFunctions

func (UnimplementedProviderServer) ListLinkTypes

func (UnimplementedProviderServer) ListResourceTypes

func (UnimplementedProviderServer) StageLinkChanges

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 UpdateLinkIntermediaryResourcesCompleteResponse

type UpdateLinkIntermediaryResourcesCompleteResponse struct {
	IntermediaryResourceStates []*LinkIntermediaryResourceState `` /* 134-byte string literal not displayed */
	LinkData                   *schemapb.MappingNode            `protobuf:"bytes,2,opt,name=link_data,json=linkData" json:"link_data,omitempty"`
	ResourceDataMappings       map[string]string                `` /* 190-byte string literal not displayed */
	// contains filtered or unexported fields
}

UpdateLinkIntermediaryResourcesCompleteResponse contains the result of updating intermediary resources for a link.

func (*UpdateLinkIntermediaryResourcesCompleteResponse) Descriptor deprecated

Deprecated: Use UpdateLinkIntermediaryResourcesCompleteResponse.ProtoReflect.Descriptor instead.

func (*UpdateLinkIntermediaryResourcesCompleteResponse) GetIntermediaryResourceStates

func (*UpdateLinkIntermediaryResourcesCompleteResponse) GetLinkData

func (*UpdateLinkIntermediaryResourcesCompleteResponse) GetResourceDataMappings

func (x *UpdateLinkIntermediaryResourcesCompleteResponse) GetResourceDataMappings() map[string]string

func (*UpdateLinkIntermediaryResourcesCompleteResponse) ProtoMessage

func (*UpdateLinkIntermediaryResourcesCompleteResponse) ProtoReflect

func (*UpdateLinkIntermediaryResourcesCompleteResponse) Reset

func (*UpdateLinkIntermediaryResourcesCompleteResponse) String

type UpdateLinkIntermediaryResourcesRequest

type UpdateLinkIntermediaryResourcesRequest struct {
	LinkType *LinkType `protobuf:"bytes,1,opt,name=link_type,json=linkType" json:"link_type,omitempty"`
	// The ID of the host making the request
	// to the provider.
	HostId           string                      `protobuf:"bytes,2,opt,name=host_id,json=hostId" json:"host_id,omitempty"`
	ResourceAInfo    *sharedtypesv1.ResourceInfo `protobuf:"bytes,3,opt,name=resource_a_info,json=resourceAInfo" json:"resource_a_info,omitempty"`
	ResourceBInfo    *sharedtypesv1.ResourceInfo `protobuf:"bytes,4,opt,name=resource_b_info,json=resourceBInfo" json:"resource_b_info,omitempty"`
	LinkId           string                      `protobuf:"bytes,5,opt,name=link_id,json=linkId" json:"link_id,omitempty"`
	Changes          *sharedtypesv1.LinkChanges  `protobuf:"bytes,6,opt,name=changes" json:"changes,omitempty"`
	InstanceName     string                      `protobuf:"bytes,7,opt,name=instance_name,json=instanceName" json:"instance_name,omitempty"`
	UpdateType       LinkUpdateType              `protobuf:"varint,8,opt,name=update_type,json=updateType,enum=providerserverv1.LinkUpdateType" json:"update_type,omitempty"`
	CurrentLinkState *LinkState                  `protobuf:"bytes,9,opt,name=current_link_state,json=currentLinkState" json:"current_link_state,omitempty"`
	Context          *LinkContext                `protobuf:"bytes,10,opt,name=context" json:"context,omitempty"`
	// contains filtered or unexported fields
}

UpdateLinkIntermediaryResourcesRequest provides the input data needed to update intermediary resources for a link between two resources.

func (*UpdateLinkIntermediaryResourcesRequest) Descriptor deprecated

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

Deprecated: Use UpdateLinkIntermediaryResourcesRequest.ProtoReflect.Descriptor instead.

func (*UpdateLinkIntermediaryResourcesRequest) GetChanges

func (*UpdateLinkIntermediaryResourcesRequest) GetContext

func (*UpdateLinkIntermediaryResourcesRequest) GetCurrentLinkState

func (x *UpdateLinkIntermediaryResourcesRequest) GetCurrentLinkState() *LinkState

func (*UpdateLinkIntermediaryResourcesRequest) GetHostId

func (*UpdateLinkIntermediaryResourcesRequest) GetInstanceName

func (x *UpdateLinkIntermediaryResourcesRequest) GetInstanceName() string

func (*UpdateLinkIntermediaryResourcesRequest) GetLinkId

func (*UpdateLinkIntermediaryResourcesRequest) GetLinkType

func (*UpdateLinkIntermediaryResourcesRequest) GetResourceAInfo

func (*UpdateLinkIntermediaryResourcesRequest) GetResourceBInfo

func (*UpdateLinkIntermediaryResourcesRequest) GetUpdateType

func (*UpdateLinkIntermediaryResourcesRequest) ProtoMessage

func (*UpdateLinkIntermediaryResourcesRequest) ProtoReflect

func (*UpdateLinkIntermediaryResourcesRequest) Reset

func (*UpdateLinkIntermediaryResourcesRequest) String

type UpdateLinkIntermediaryResourcesResponse

type UpdateLinkIntermediaryResourcesResponse struct {

	// Types that are valid to be assigned to Response:
	//
	//	*UpdateLinkIntermediaryResourcesResponse_CompleteResponse
	//	*UpdateLinkIntermediaryResourcesResponse_ErrorResponse
	Response isUpdateLinkIntermediaryResourcesResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

UpdateLinkIntermediaryResourcesResponse is the response containing the result of updating intermediary resources for a link.

func (*UpdateLinkIntermediaryResourcesResponse) Descriptor deprecated

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

Deprecated: Use UpdateLinkIntermediaryResourcesResponse.ProtoReflect.Descriptor instead.

func (*UpdateLinkIntermediaryResourcesResponse) GetCompleteResponse

func (*UpdateLinkIntermediaryResourcesResponse) GetErrorResponse

func (*UpdateLinkIntermediaryResourcesResponse) GetResponse

func (x *UpdateLinkIntermediaryResourcesResponse) GetResponse() isUpdateLinkIntermediaryResourcesResponse_Response

func (*UpdateLinkIntermediaryResourcesResponse) ProtoMessage

func (*UpdateLinkIntermediaryResourcesResponse) ProtoReflect

func (*UpdateLinkIntermediaryResourcesResponse) Reset

func (*UpdateLinkIntermediaryResourcesResponse) String

type UpdateLinkIntermediaryResourcesResponse_CompleteResponse

type UpdateLinkIntermediaryResourcesResponse_CompleteResponse struct {
	CompleteResponse *UpdateLinkIntermediaryResourcesCompleteResponse `protobuf:"bytes,1,opt,name=complete_response,json=completeResponse,oneof"`
}

type UpdateLinkIntermediaryResourcesResponse_ErrorResponse

type UpdateLinkIntermediaryResourcesResponse_ErrorResponse struct {
	ErrorResponse *sharedtypesv1.ErrorResponse `protobuf:"bytes,2,opt,name=error_response,json=errorResponse,oneof"`
}

type UpdateLinkResourceCompleteResponse

type UpdateLinkResourceCompleteResponse struct {
	LinkData             *schemapb.MappingNode `protobuf:"bytes,1,opt,name=link_data,json=linkData" json:"link_data,omitempty"`
	ResourceDataMappings map[string]string     `` /* 190-byte string literal not displayed */
	// contains filtered or unexported fields
}

UpdateLinkResourceCompleteResponse contains the result of updating a resource as a part of a link. The returned link data will be merged with the results from other link component updates to form the final link data that will be persisted in the blueprint instance state.

func (*UpdateLinkResourceCompleteResponse) Descriptor deprecated

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

Deprecated: Use UpdateLinkResourceCompleteResponse.ProtoReflect.Descriptor instead.

func (*UpdateLinkResourceCompleteResponse) GetLinkData

func (*UpdateLinkResourceCompleteResponse) GetResourceDataMappings

func (x *UpdateLinkResourceCompleteResponse) GetResourceDataMappings() map[string]string

func (*UpdateLinkResourceCompleteResponse) ProtoMessage

func (*UpdateLinkResourceCompleteResponse) ProtoMessage()

func (*UpdateLinkResourceCompleteResponse) ProtoReflect

func (*UpdateLinkResourceCompleteResponse) Reset

func (*UpdateLinkResourceCompleteResponse) String

type UpdateLinkResourceRequest

type UpdateLinkResourceRequest struct {
	LinkType *LinkType `protobuf:"bytes,1,opt,name=link_type,json=linkType" json:"link_type,omitempty"`
	// The ID of the host making the request
	// to the provider.
	HostId            string                      `protobuf:"bytes,2,opt,name=host_id,json=hostId" json:"host_id,omitempty"`
	Changes           *sharedtypesv1.LinkChanges  `protobuf:"bytes,3,opt,name=changes" json:"changes,omitempty"`
	ResourceInfo      *sharedtypesv1.ResourceInfo `protobuf:"bytes,4,opt,name=resource_info,json=resourceInfo" json:"resource_info,omitempty"`
	OtherResourceInfo *sharedtypesv1.ResourceInfo `protobuf:"bytes,5,opt,name=other_resource_info,json=otherResourceInfo" json:"other_resource_info,omitempty"`
	InstanceName      string                      `protobuf:"bytes,6,opt,name=instance_name,json=instanceName" json:"instance_name,omitempty"`
	UpdateType        LinkUpdateType              `protobuf:"varint,7,opt,name=update_type,json=updateType,enum=providerserverv1.LinkUpdateType" json:"update_type,omitempty"`
	CurrentLinkState  *LinkState                  `protobuf:"bytes,8,opt,name=current_link_state,json=currentLinkState" json:"current_link_state,omitempty"`
	Context           *LinkContext                `protobuf:"bytes,9,opt,name=context" json:"context,omitempty"`
	// contains filtered or unexported fields
}

UpdateLinkResourceRequest provides the input data needed to update a link between two resources.

func (*UpdateLinkResourceRequest) Descriptor deprecated

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

Deprecated: Use UpdateLinkResourceRequest.ProtoReflect.Descriptor instead.

func (*UpdateLinkResourceRequest) GetChanges

func (*UpdateLinkResourceRequest) GetContext

func (x *UpdateLinkResourceRequest) GetContext() *LinkContext

func (*UpdateLinkResourceRequest) GetCurrentLinkState

func (x *UpdateLinkResourceRequest) GetCurrentLinkState() *LinkState

func (*UpdateLinkResourceRequest) GetHostId

func (x *UpdateLinkResourceRequest) GetHostId() string

func (*UpdateLinkResourceRequest) GetInstanceName

func (x *UpdateLinkResourceRequest) GetInstanceName() string

func (*UpdateLinkResourceRequest) GetLinkType

func (x *UpdateLinkResourceRequest) GetLinkType() *LinkType

func (*UpdateLinkResourceRequest) GetOtherResourceInfo

func (x *UpdateLinkResourceRequest) GetOtherResourceInfo() *sharedtypesv1.ResourceInfo

func (*UpdateLinkResourceRequest) GetResourceInfo

func (*UpdateLinkResourceRequest) GetUpdateType

func (x *UpdateLinkResourceRequest) GetUpdateType() LinkUpdateType

func (*UpdateLinkResourceRequest) ProtoMessage

func (*UpdateLinkResourceRequest) ProtoMessage()

func (*UpdateLinkResourceRequest) ProtoReflect

func (*UpdateLinkResourceRequest) Reset

func (x *UpdateLinkResourceRequest) Reset()

func (*UpdateLinkResourceRequest) String

func (x *UpdateLinkResourceRequest) String() string

type UpdateLinkResourceResponse

type UpdateLinkResourceResponse struct {

	// Types that are valid to be assigned to Response:
	//
	//	*UpdateLinkResourceResponse_CompleteResponse
	//	*UpdateLinkResourceResponse_ErrorResponse
	Response isUpdateLinkResourceResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

UpdateLinkResourceResponse is the response containing the result of updating a resource as a part of a link.

func (*UpdateLinkResourceResponse) Descriptor deprecated

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

Deprecated: Use UpdateLinkResourceResponse.ProtoReflect.Descriptor instead.

func (*UpdateLinkResourceResponse) GetCompleteResponse

func (*UpdateLinkResourceResponse) GetErrorResponse

func (*UpdateLinkResourceResponse) GetResponse

func (x *UpdateLinkResourceResponse) GetResponse() isUpdateLinkResourceResponse_Response

func (*UpdateLinkResourceResponse) ProtoMessage

func (*UpdateLinkResourceResponse) ProtoMessage()

func (*UpdateLinkResourceResponse) ProtoReflect

func (*UpdateLinkResourceResponse) Reset

func (x *UpdateLinkResourceResponse) Reset()

func (*UpdateLinkResourceResponse) String

func (x *UpdateLinkResourceResponse) String() string

type UpdateLinkResourceResponse_CompleteResponse

type UpdateLinkResourceResponse_CompleteResponse struct {
	CompleteResponse *UpdateLinkResourceCompleteResponse `protobuf:"bytes,1,opt,name=complete_response,json=completeResponse,oneof"`
}

type UpdateLinkResourceResponse_ErrorResponse

type UpdateLinkResourceResponse_ErrorResponse struct {
	ErrorResponse *sharedtypesv1.ErrorResponse `protobuf:"bytes,2,opt,name=error_response,json=errorResponse,oneof"`
}

Jump to

Keyboard shortcuts

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