Documentation
¶
Index ¶
- Constants
- Variables
- func NewServer(pluginID string, pluginMetadata *pluginservicev1.PluginMetadata, ...) *pluginbase.Server[ProviderServer]
- func RegisterProviderServer(s grpc.ServiceRegistrar, srv ProviderServer)
- func WrapProviderClient(client ProviderClient, hostID string) provider.Provider
- type CanResourceLinkToResponse
- func (*CanResourceLinkToResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CanResourceLinkToResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
- func (x *CanResourceLinkToResponse) GetResourceTypes() *sharedtypesv1.CanLinkTo
- func (x *CanResourceLinkToResponse) GetResponse() isCanResourceLinkToResponse_Response
- func (*CanResourceLinkToResponse) ProtoMessage()
- func (x *CanResourceLinkToResponse) ProtoReflect() protoreflect.Message
- func (x *CanResourceLinkToResponse) Reset()
- func (x *CanResourceLinkToResponse) String() string
- type CanResourceLinkToResponse_ErrorResponse
- type CanResourceLinkToResponse_ResourceTypes
- type CustomValidateDataSourceCompleteResponse
- func (*CustomValidateDataSourceCompleteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CustomValidateDataSourceCompleteResponse) GetDiagnostics() []*sharedtypesv1.Diagnostic
- func (*CustomValidateDataSourceCompleteResponse) ProtoMessage()
- func (x *CustomValidateDataSourceCompleteResponse) ProtoReflect() protoreflect.Message
- func (x *CustomValidateDataSourceCompleteResponse) Reset()
- func (x *CustomValidateDataSourceCompleteResponse) String() string
- type CustomValidateDataSourceRequest
- func (*CustomValidateDataSourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CustomValidateDataSourceRequest) GetContext() *sharedtypesv1.ProviderContext
- func (x *CustomValidateDataSourceRequest) GetDataSourceType() *DataSourceType
- func (x *CustomValidateDataSourceRequest) GetHostId() string
- func (x *CustomValidateDataSourceRequest) GetSchemaDataSource() *schemapb.DataSource
- func (*CustomValidateDataSourceRequest) ProtoMessage()
- func (x *CustomValidateDataSourceRequest) ProtoReflect() protoreflect.Message
- func (x *CustomValidateDataSourceRequest) Reset()
- func (x *CustomValidateDataSourceRequest) String() string
- type CustomValidateDataSourceResponse
- func (*CustomValidateDataSourceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CustomValidateDataSourceResponse) GetCompleteResponse() *CustomValidateDataSourceCompleteResponse
- func (x *CustomValidateDataSourceResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
- func (x *CustomValidateDataSourceResponse) GetResponse() isCustomValidateDataSourceResponse_Response
- func (*CustomValidateDataSourceResponse) ProtoMessage()
- func (x *CustomValidateDataSourceResponse) ProtoReflect() protoreflect.Message
- func (x *CustomValidateDataSourceResponse) Reset()
- func (x *CustomValidateDataSourceResponse) String() string
- type CustomValidateDataSourceResponse_CompleteResponse
- type CustomValidateDataSourceResponse_ErrorResponse
- type CustomValidateResourceCompleteResponse
- func (*CustomValidateResourceCompleteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CustomValidateResourceCompleteResponse) GetDiagnostics() []*sharedtypesv1.Diagnostic
- func (*CustomValidateResourceCompleteResponse) ProtoMessage()
- func (x *CustomValidateResourceCompleteResponse) ProtoReflect() protoreflect.Message
- func (x *CustomValidateResourceCompleteResponse) Reset()
- func (x *CustomValidateResourceCompleteResponse) String() string
- type CustomValidateResourceRequest
- func (*CustomValidateResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CustomValidateResourceRequest) GetContext() *sharedtypesv1.ProviderContext
- func (x *CustomValidateResourceRequest) GetHostId() string
- func (x *CustomValidateResourceRequest) GetResourceType() *sharedtypesv1.ResourceType
- func (x *CustomValidateResourceRequest) GetSchemaResource() *schemapb.Resource
- func (*CustomValidateResourceRequest) ProtoMessage()
- func (x *CustomValidateResourceRequest) ProtoReflect() protoreflect.Message
- func (x *CustomValidateResourceRequest) Reset()
- func (x *CustomValidateResourceRequest) String() string
- type CustomValidateResourceResponse
- func (*CustomValidateResourceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CustomValidateResourceResponse) GetCompleteResponse() *CustomValidateResourceCompleteResponse
- func (x *CustomValidateResourceResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
- func (x *CustomValidateResourceResponse) GetResponse() isCustomValidateResourceResponse_Response
- func (*CustomValidateResourceResponse) ProtoMessage()
- func (x *CustomValidateResourceResponse) ProtoReflect() protoreflect.Message
- func (x *CustomValidateResourceResponse) Reset()
- func (x *CustomValidateResourceResponse) String() string
- type CustomValidateResourceResponse_CompleteResponse
- type CustomValidateResourceResponse_ErrorResponse
- type CustomVariableType
- func (*CustomVariableType) Descriptor() ([]byte, []int)deprecated
- func (x *CustomVariableType) GetType() string
- func (*CustomVariableType) ProtoMessage()
- func (x *CustomVariableType) ProtoReflect() protoreflect.Message
- func (x *CustomVariableType) Reset()
- func (x *CustomVariableType) String() string
- type CustomVariableTypeInfo
- func (*CustomVariableTypeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CustomVariableTypeInfo) GetLabel() string
- func (x *CustomVariableTypeInfo) GetType() *CustomVariableType
- func (*CustomVariableTypeInfo) ProtoMessage()
- func (x *CustomVariableTypeInfo) ProtoReflect() protoreflect.Message
- func (x *CustomVariableTypeInfo) Reset()
- func (x *CustomVariableTypeInfo) String() string
- type CustomVariableTypeOption
- func (*CustomVariableTypeOption) Descriptor() ([]byte, []int)deprecated
- func (x *CustomVariableTypeOption) GetDescription() string
- func (x *CustomVariableTypeOption) GetFormattedDescription() string
- func (x *CustomVariableTypeOption) GetLabel() string
- func (x *CustomVariableTypeOption) GetValue() *schemapb.ScalarValue
- func (*CustomVariableTypeOption) ProtoMessage()
- func (x *CustomVariableTypeOption) ProtoReflect() protoreflect.Message
- func (x *CustomVariableTypeOption) Reset()
- func (x *CustomVariableTypeOption) String() string
- type CustomVariableTypeOptions
- func (*CustomVariableTypeOptions) Descriptor() ([]byte, []int)deprecated
- func (x *CustomVariableTypeOptions) GetOptions() map[string]*CustomVariableTypeOption
- func (*CustomVariableTypeOptions) ProtoMessage()
- func (x *CustomVariableTypeOptions) ProtoReflect() protoreflect.Message
- func (x *CustomVariableTypeOptions) Reset()
- func (x *CustomVariableTypeOptions) String() string
- type CustomVariableTypeOptionsResponse
- func (*CustomVariableTypeOptionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CustomVariableTypeOptionsResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
- func (x *CustomVariableTypeOptionsResponse) GetOptions() *CustomVariableTypeOptions
- func (x *CustomVariableTypeOptionsResponse) GetResponse() isCustomVariableTypeOptionsResponse_Response
- func (*CustomVariableTypeOptionsResponse) ProtoMessage()
- func (x *CustomVariableTypeOptionsResponse) ProtoReflect() protoreflect.Message
- func (x *CustomVariableTypeOptionsResponse) Reset()
- func (x *CustomVariableTypeOptionsResponse) String() string
- type CustomVariableTypeOptionsResponse_ErrorResponse
- type CustomVariableTypeOptionsResponse_Options
- type CustomVariableTypeRequest
- func (*CustomVariableTypeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CustomVariableTypeRequest) GetContext() *sharedtypesv1.ProviderContext
- func (x *CustomVariableTypeRequest) GetCustomVariableType() *CustomVariableType
- func (x *CustomVariableTypeRequest) GetHostId() string
- func (*CustomVariableTypeRequest) ProtoMessage()
- func (x *CustomVariableTypeRequest) ProtoReflect() protoreflect.Message
- func (x *CustomVariableTypeRequest) Reset()
- func (x *CustomVariableTypeRequest) String() string
- type CustomVariableTypeResponse
- func (*CustomVariableTypeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CustomVariableTypeResponse) GetCustomVarTypeInfo() *CustomVariableTypeInfo
- func (x *CustomVariableTypeResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
- func (x *CustomVariableTypeResponse) GetResponse() isCustomVariableTypeResponse_Response
- func (*CustomVariableTypeResponse) ProtoMessage()
- func (x *CustomVariableTypeResponse) ProtoReflect() protoreflect.Message
- func (x *CustomVariableTypeResponse) Reset()
- func (x *CustomVariableTypeResponse) String() string
- type CustomVariableTypeResponse_CustomVarTypeInfo
- type CustomVariableTypeResponse_ErrorResponse
- type CustomVariableTypes
- func (*CustomVariableTypes) Descriptor() ([]byte, []int)deprecated
- func (x *CustomVariableTypes) GetCustomVariableTypes() []*CustomVariableType
- func (*CustomVariableTypes) ProtoMessage()
- func (x *CustomVariableTypes) ProtoReflect() protoreflect.Message
- func (x *CustomVariableTypes) Reset()
- func (x *CustomVariableTypes) String() string
- type CustomVariableTypesResponse
- func (*CustomVariableTypesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CustomVariableTypesResponse) GetCustomVariableTypes() *CustomVariableTypes
- func (x *CustomVariableTypesResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
- func (x *CustomVariableTypesResponse) GetResponse() isCustomVariableTypesResponse_Response
- func (*CustomVariableTypesResponse) ProtoMessage()
- func (x *CustomVariableTypesResponse) ProtoReflect() protoreflect.Message
- func (x *CustomVariableTypesResponse) Reset()
- func (x *CustomVariableTypesResponse) String() string
- type CustomVariableTypesResponse_CustomVariableTypes
- type CustomVariableTypesResponse_ErrorResponse
- type DataSourceFilterFieldSchema
- func (*DataSourceFilterFieldSchema) Descriptor() ([]byte, []int)deprecated
- func (x *DataSourceFilterFieldSchema) GetConflictsWith() []string
- func (x *DataSourceFilterFieldSchema) GetDescription() string
- func (x *DataSourceFilterFieldSchema) GetFormattedDescription() string
- func (x *DataSourceFilterFieldSchema) GetSupportedOperators() []string
- func (x *DataSourceFilterFieldSchema) GetType() string
- func (*DataSourceFilterFieldSchema) ProtoMessage()
- func (x *DataSourceFilterFieldSchema) ProtoReflect() protoreflect.Message
- func (x *DataSourceFilterFieldSchema) Reset()
- func (x *DataSourceFilterFieldSchema) String() string
- type DataSourceFilterFields
- func (*DataSourceFilterFields) Descriptor() ([]byte, []int)deprecated
- func (x *DataSourceFilterFields) GetFilterFields() map[string]*DataSourceFilterFieldSchema
- func (*DataSourceFilterFields) ProtoMessage()
- func (x *DataSourceFilterFields) ProtoReflect() protoreflect.Message
- func (x *DataSourceFilterFields) Reset()
- func (x *DataSourceFilterFields) String() string
- type DataSourceFilterFieldsResponse
- func (*DataSourceFilterFieldsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DataSourceFilterFieldsResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
- func (x *DataSourceFilterFieldsResponse) GetFilterFields() *DataSourceFilterFields
- func (x *DataSourceFilterFieldsResponse) GetResponse() isDataSourceFilterFieldsResponse_Response
- func (*DataSourceFilterFieldsResponse) ProtoMessage()
- func (x *DataSourceFilterFieldsResponse) ProtoReflect() protoreflect.Message
- func (x *DataSourceFilterFieldsResponse) Reset()
- func (x *DataSourceFilterFieldsResponse) String() string
- type DataSourceFilterFieldsResponse_ErrorResponse
- type DataSourceFilterFieldsResponse_FilterFields
- type DataSourceRequest
- func (*DataSourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DataSourceRequest) GetContext() *sharedtypesv1.ProviderContext
- func (x *DataSourceRequest) GetDataSourceType() *DataSourceType
- func (x *DataSourceRequest) GetHostId() string
- func (*DataSourceRequest) ProtoMessage()
- func (x *DataSourceRequest) ProtoReflect() protoreflect.Message
- func (x *DataSourceRequest) Reset()
- func (x *DataSourceRequest) String() string
- type DataSourceSpecDefinition
- func (*DataSourceSpecDefinition) Descriptor() ([]byte, []int)deprecated
- func (x *DataSourceSpecDefinition) GetFields() map[string]*DataSourceSpecSchema
- func (*DataSourceSpecDefinition) ProtoMessage()
- func (x *DataSourceSpecDefinition) ProtoReflect() protoreflect.Message
- func (x *DataSourceSpecDefinition) Reset()
- func (x *DataSourceSpecDefinition) String() string
- type DataSourceSpecDefinitionResponse
- func (*DataSourceSpecDefinitionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DataSourceSpecDefinitionResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
- func (x *DataSourceSpecDefinitionResponse) GetResponse() isDataSourceSpecDefinitionResponse_Response
- func (x *DataSourceSpecDefinitionResponse) GetSpecDefinition() *DataSourceSpecDefinition
- func (*DataSourceSpecDefinitionResponse) ProtoMessage()
- func (x *DataSourceSpecDefinitionResponse) ProtoReflect() protoreflect.Message
- func (x *DataSourceSpecDefinitionResponse) Reset()
- func (x *DataSourceSpecDefinitionResponse) String() string
- type DataSourceSpecDefinitionResponse_ErrorResponse
- type DataSourceSpecDefinitionResponse_SpecDefinition
- type DataSourceSpecSchema
- func (*DataSourceSpecSchema) Descriptor() ([]byte, []int)deprecated
- func (x *DataSourceSpecSchema) GetDescription() string
- func (x *DataSourceSpecSchema) GetFormattedDescription() string
- func (x *DataSourceSpecSchema) GetItems() *DataSourceSpecSchema
- func (x *DataSourceSpecSchema) GetLabel() string
- func (x *DataSourceSpecSchema) GetNullable() bool
- func (x *DataSourceSpecSchema) GetSensitive() bool
- func (x *DataSourceSpecSchema) GetType() DataSourceSpecSchemaType
- func (*DataSourceSpecSchema) ProtoMessage()
- func (x *DataSourceSpecSchema) ProtoReflect() protoreflect.Message
- func (x *DataSourceSpecSchema) Reset()
- func (x *DataSourceSpecSchema) String() string
- type DataSourceSpecSchemaType
- func (DataSourceSpecSchemaType) Descriptor() protoreflect.EnumDescriptor
- func (x DataSourceSpecSchemaType) Enum() *DataSourceSpecSchemaType
- func (DataSourceSpecSchemaType) EnumDescriptor() ([]byte, []int)deprecated
- func (x DataSourceSpecSchemaType) Number() protoreflect.EnumNumber
- func (x DataSourceSpecSchemaType) String() string
- func (DataSourceSpecSchemaType) Type() protoreflect.EnumType
- type DataSourceType
- type DataSourceTypeInfo
- func (*DataSourceTypeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DataSourceTypeInfo) GetLabel() string
- func (x *DataSourceTypeInfo) GetType() *DataSourceType
- func (*DataSourceTypeInfo) ProtoMessage()
- func (x *DataSourceTypeInfo) ProtoReflect() protoreflect.Message
- func (x *DataSourceTypeInfo) Reset()
- func (x *DataSourceTypeInfo) String() string
- type DataSourceTypeResponse
- func (*DataSourceTypeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DataSourceTypeResponse) GetDataSourceTypeInfo() *DataSourceTypeInfo
- func (x *DataSourceTypeResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
- func (x *DataSourceTypeResponse) GetResponse() isDataSourceTypeResponse_Response
- func (*DataSourceTypeResponse) ProtoMessage()
- func (x *DataSourceTypeResponse) ProtoReflect() protoreflect.Message
- func (x *DataSourceTypeResponse) Reset()
- func (x *DataSourceTypeResponse) String() string
- type DataSourceTypeResponse_DataSourceTypeInfo
- type DataSourceTypeResponse_ErrorResponse
- type DataSourceTypes
- func (*DataSourceTypes) Descriptor() ([]byte, []int)deprecated
- func (x *DataSourceTypes) GetDataSourceTypes() []*DataSourceType
- func (*DataSourceTypes) ProtoMessage()
- func (x *DataSourceTypes) ProtoReflect() protoreflect.Message
- func (x *DataSourceTypes) Reset()
- func (x *DataSourceTypes) String() string
- type DataSourceTypesResponse
- func (*DataSourceTypesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DataSourceTypesResponse) GetDataSourceTypes() *DataSourceTypes
- func (x *DataSourceTypesResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
- func (x *DataSourceTypesResponse) GetResponse() isDataSourceTypesResponse_Response
- func (*DataSourceTypesResponse) ProtoMessage()
- func (x *DataSourceTypesResponse) ProtoReflect() protoreflect.Message
- func (x *DataSourceTypesResponse) Reset()
- func (x *DataSourceTypesResponse) String() string
- type DataSourceTypesResponse_DataSourceTypes
- type DataSourceTypesResponse_ErrorResponse
- type FetchDataSourceCompleteResponse
- func (*FetchDataSourceCompleteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FetchDataSourceCompleteResponse) GetData() map[string]*schemapb.MappingNode
- func (*FetchDataSourceCompleteResponse) ProtoMessage()
- func (x *FetchDataSourceCompleteResponse) ProtoReflect() protoreflect.Message
- func (x *FetchDataSourceCompleteResponse) Reset()
- func (x *FetchDataSourceCompleteResponse) String() string
- type FetchDataSourceRequest
- func (*FetchDataSourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FetchDataSourceRequest) GetContext() *sharedtypesv1.ProviderContext
- func (x *FetchDataSourceRequest) GetDataSourceType() *DataSourceType
- func (x *FetchDataSourceRequest) GetDataSourceWithResolvedSubs() *ResolvedDataSource
- func (x *FetchDataSourceRequest) GetHostId() string
- func (*FetchDataSourceRequest) ProtoMessage()
- func (x *FetchDataSourceRequest) ProtoReflect() protoreflect.Message
- func (x *FetchDataSourceRequest) Reset()
- func (x *FetchDataSourceRequest) String() string
- type FetchDataSourceResponse
- func (*FetchDataSourceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FetchDataSourceResponse) GetCompleteResponse() *FetchDataSourceCompleteResponse
- func (x *FetchDataSourceResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
- func (x *FetchDataSourceResponse) GetResponse() isFetchDataSourceResponse_Response
- func (*FetchDataSourceResponse) ProtoMessage()
- func (x *FetchDataSourceResponse) ProtoReflect() protoreflect.Message
- func (x *FetchDataSourceResponse) Reset()
- func (x *FetchDataSourceResponse) String() string
- type FetchDataSourceResponse_CompleteResponse
- type FetchDataSourceResponse_ErrorResponse
- type FunctionList
- type FunctionListResponse
- func (*FunctionListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FunctionListResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
- func (x *FunctionListResponse) GetFunctionList() *FunctionList
- func (x *FunctionListResponse) GetResponse() isFunctionListResponse_Response
- func (*FunctionListResponse) ProtoMessage()
- func (x *FunctionListResponse) ProtoReflect() protoreflect.Message
- func (x *FunctionListResponse) Reset()
- func (x *FunctionListResponse) String() string
- type FunctionListResponse_ErrorResponse
- type FunctionListResponse_FunctionList
- type GetLinkIntermediaryExternalStateCompleteResponse
- func (*GetLinkIntermediaryExternalStateCompleteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLinkIntermediaryExternalStateCompleteResponse) GetIntermediaryStates() map[string]*IntermediaryExternalState
- func (*GetLinkIntermediaryExternalStateCompleteResponse) ProtoMessage()
- func (x *GetLinkIntermediaryExternalStateCompleteResponse) ProtoReflect() protoreflect.Message
- func (x *GetLinkIntermediaryExternalStateCompleteResponse) Reset()
- func (x *GetLinkIntermediaryExternalStateCompleteResponse) String() string
- type GetLinkIntermediaryExternalStateRequest
- func (*GetLinkIntermediaryExternalStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLinkIntermediaryExternalStateRequest) GetContext() *LinkContext
- func (x *GetLinkIntermediaryExternalStateRequest) GetCurrentLinkState() *LinkState
- func (x *GetLinkIntermediaryExternalStateRequest) GetHostId() string
- func (x *GetLinkIntermediaryExternalStateRequest) GetInstanceId() string
- func (x *GetLinkIntermediaryExternalStateRequest) GetInstanceName() string
- func (x *GetLinkIntermediaryExternalStateRequest) GetIntermediaryResourceIds() []string
- func (x *GetLinkIntermediaryExternalStateRequest) GetLinkId() string
- func (x *GetLinkIntermediaryExternalStateRequest) GetLinkName() string
- func (x *GetLinkIntermediaryExternalStateRequest) GetLinkType() *LinkType
- func (x *GetLinkIntermediaryExternalStateRequest) GetResourceAInfo() *sharedtypesv1.ResourceInfo
- func (x *GetLinkIntermediaryExternalStateRequest) GetResourceBInfo() *sharedtypesv1.ResourceInfo
- func (*GetLinkIntermediaryExternalStateRequest) ProtoMessage()
- func (x *GetLinkIntermediaryExternalStateRequest) ProtoReflect() protoreflect.Message
- func (x *GetLinkIntermediaryExternalStateRequest) Reset()
- func (x *GetLinkIntermediaryExternalStateRequest) String() string
- type GetLinkIntermediaryExternalStateResponse
- func (*GetLinkIntermediaryExternalStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLinkIntermediaryExternalStateResponse) GetCompleteResponse() *GetLinkIntermediaryExternalStateCompleteResponse
- func (x *GetLinkIntermediaryExternalStateResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
- func (x *GetLinkIntermediaryExternalStateResponse) GetResponse() isGetLinkIntermediaryExternalStateResponse_Response
- func (*GetLinkIntermediaryExternalStateResponse) ProtoMessage()
- func (x *GetLinkIntermediaryExternalStateResponse) ProtoReflect() protoreflect.Message
- func (x *GetLinkIntermediaryExternalStateResponse) Reset()
- func (x *GetLinkIntermediaryExternalStateResponse) String() string
- type GetLinkIntermediaryExternalStateResponse_CompleteResponse
- type GetLinkIntermediaryExternalStateResponse_ErrorResponse
- type GetResourceExternalStateRequest
- func (*GetResourceExternalStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetResourceExternalStateRequest) GetContext() *sharedtypesv1.ProviderContext
- func (x *GetResourceExternalStateRequest) GetCurrentResourceMetadata() *sharedtypesv1.ResourceMetadataState
- func (x *GetResourceExternalStateRequest) GetCurrentResourceSpec() *schemapb.MappingNode
- func (x *GetResourceExternalStateRequest) GetHostId() string
- func (x *GetResourceExternalStateRequest) GetInstanceId() string
- func (x *GetResourceExternalStateRequest) GetInstanceName() string
- func (x *GetResourceExternalStateRequest) GetResourceId() string
- func (x *GetResourceExternalStateRequest) GetResourceName() string
- func (x *GetResourceExternalStateRequest) GetResourceType() *sharedtypesv1.ResourceType
- func (*GetResourceExternalStateRequest) ProtoMessage()
- func (x *GetResourceExternalStateRequest) ProtoReflect() protoreflect.Message
- func (x *GetResourceExternalStateRequest) Reset()
- func (x *GetResourceExternalStateRequest) String() string
- type GetResourceExternalStateResponse
- func (*GetResourceExternalStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetResourceExternalStateResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
- func (x *GetResourceExternalStateResponse) GetResourceSpecState() *schemapb.MappingNode
- func (x *GetResourceExternalStateResponse) GetResponse() isGetResourceExternalStateResponse_Response
- func (*GetResourceExternalStateResponse) ProtoMessage()
- func (x *GetResourceExternalStateResponse) ProtoReflect() protoreflect.Message
- func (x *GetResourceExternalStateResponse) Reset()
- func (x *GetResourceExternalStateResponse) String() string
- type GetResourceExternalStateResponse_ErrorResponse
- type GetResourceExternalStateResponse_ResourceSpecState
- type IntermediaryExternalState
- func (*IntermediaryExternalState) Descriptor() ([]byte, []int)deprecated
- func (x *IntermediaryExternalState) GetExists() bool
- func (x *IntermediaryExternalState) GetResourceId() string
- func (x *IntermediaryExternalState) GetResourceType() string
- func (x *IntermediaryExternalState) GetSpecData() *schemapb.MappingNode
- func (*IntermediaryExternalState) ProtoMessage()
- func (x *IntermediaryExternalState) ProtoReflect() protoreflect.Message
- func (x *IntermediaryExternalState) Reset()
- func (x *IntermediaryExternalState) String() string
- type IsResourceCommonTerminalResponse
- func (*IsResourceCommonTerminalResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IsResourceCommonTerminalResponse) GetData() *sharedtypesv1.ResourceCommonTerminalInfo
- func (x *IsResourceCommonTerminalResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
- func (x *IsResourceCommonTerminalResponse) GetResponse() isIsResourceCommonTerminalResponse_Response
- func (*IsResourceCommonTerminalResponse) ProtoMessage()
- func (x *IsResourceCommonTerminalResponse) ProtoReflect() protoreflect.Message
- func (x *IsResourceCommonTerminalResponse) Reset()
- func (x *IsResourceCommonTerminalResponse) String() string
- type IsResourceCommonTerminalResponse_Data
- type IsResourceCommonTerminalResponse_ErrorResponse
- type LinkAnnotationDefinition
- func (*LinkAnnotationDefinition) Descriptor() ([]byte, []int)deprecated
- func (x *LinkAnnotationDefinition) GetAllowedValues() []*schemapb.ScalarValue
- func (x *LinkAnnotationDefinition) GetDefaultValue() *schemapb.ScalarValue
- func (x *LinkAnnotationDefinition) GetDescription() string
- func (x *LinkAnnotationDefinition) GetExamples() []*schemapb.ScalarValue
- func (x *LinkAnnotationDefinition) GetLabel() string
- func (x *LinkAnnotationDefinition) GetName() string
- func (x *LinkAnnotationDefinition) GetRequired() bool
- func (x *LinkAnnotationDefinition) GetType() sharedtypesv1.ScalarType
- func (*LinkAnnotationDefinition) ProtoMessage()
- func (x *LinkAnnotationDefinition) ProtoReflect() protoreflect.Message
- func (x *LinkAnnotationDefinition) Reset()
- func (x *LinkAnnotationDefinition) String() string
- type LinkAnnotationDefinitions
- func (*LinkAnnotationDefinitions) Descriptor() ([]byte, []int)deprecated
- func (x *LinkAnnotationDefinitions) GetDefinitions() map[string]*LinkAnnotationDefinition
- func (*LinkAnnotationDefinitions) ProtoMessage()
- func (x *LinkAnnotationDefinitions) ProtoReflect() protoreflect.Message
- func (x *LinkAnnotationDefinitions) Reset()
- func (x *LinkAnnotationDefinitions) String() string
- type LinkAnnotationDefinitionsResponse
- func (*LinkAnnotationDefinitionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LinkAnnotationDefinitionsResponse) GetAnnotationDefinitions() *LinkAnnotationDefinitions
- func (x *LinkAnnotationDefinitionsResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
- func (x *LinkAnnotationDefinitionsResponse) GetResponse() isLinkAnnotationDefinitionsResponse_Response
- func (*LinkAnnotationDefinitionsResponse) ProtoMessage()
- func (x *LinkAnnotationDefinitionsResponse) ProtoReflect() protoreflect.Message
- func (x *LinkAnnotationDefinitionsResponse) Reset()
- func (x *LinkAnnotationDefinitionsResponse) String() string
- type LinkAnnotationDefinitionsResponse_AnnotationDefinitions
- type LinkAnnotationDefinitionsResponse_ErrorResponse
- type LinkCompletionDurations
- func (*LinkCompletionDurations) Descriptor() ([]byte, []int)deprecated
- func (x *LinkCompletionDurations) GetIntermediaryResources() *LinkComponentCompletionDurations
- func (x *LinkCompletionDurations) GetResourceAUpdate() *LinkComponentCompletionDurations
- func (x *LinkCompletionDurations) GetResourceBUpdate() *LinkComponentCompletionDurations
- func (x *LinkCompletionDurations) GetTotalDuration() *wrapperspb.DoubleValue
- func (*LinkCompletionDurations) ProtoMessage()
- func (x *LinkCompletionDurations) ProtoReflect() protoreflect.Message
- func (x *LinkCompletionDurations) Reset()
- func (x *LinkCompletionDurations) String() string
- type LinkComponentCompletionDurations
- func (*LinkComponentCompletionDurations) Descriptor() ([]byte, []int)deprecated
- func (x *LinkComponentCompletionDurations) GetAttemptDurations() []float64
- func (x *LinkComponentCompletionDurations) GetTotalDuration() *wrapperspb.DoubleValue
- func (*LinkComponentCompletionDurations) ProtoMessage()
- func (x *LinkComponentCompletionDurations) ProtoReflect() protoreflect.Message
- func (x *LinkComponentCompletionDurations) Reset()
- func (x *LinkComponentCompletionDurations) String() string
- type LinkContext
- func (*LinkContext) Descriptor() ([]byte, []int)deprecated
- func (x *LinkContext) GetContextVariables() map[string]*schemapb.ScalarValue
- func (x *LinkContext) GetProviderConfigVariables() map[string]*schemapb.ScalarValue
- func (*LinkContext) ProtoMessage()
- func (x *LinkContext) ProtoReflect() protoreflect.Message
- func (x *LinkContext) Reset()
- func (x *LinkContext) String() string
- type LinkIntermediaryResourceState
- func (*LinkIntermediaryResourceState) Descriptor() ([]byte, []int)deprecated
- func (x *LinkIntermediaryResourceState) GetFailureReasons() []string
- func (x *LinkIntermediaryResourceState) GetInstanceId() string
- func (x *LinkIntermediaryResourceState) GetLastDeployAttemptTimestamp() int64
- func (x *LinkIntermediaryResourceState) GetLastDeployedTimestamp() int64
- func (x *LinkIntermediaryResourceState) GetPreciseStatus() sharedtypesv1.PreciseResourceStatus
- func (x *LinkIntermediaryResourceState) GetResourceId() string
- func (x *LinkIntermediaryResourceState) GetResourceSpecData() *schemapb.MappingNode
- func (x *LinkIntermediaryResourceState) GetResourceType() string
- func (x *LinkIntermediaryResourceState) GetStatus() sharedtypesv1.ResourceStatus
- func (*LinkIntermediaryResourceState) ProtoMessage()
- func (x *LinkIntermediaryResourceState) ProtoReflect() protoreflect.Message
- func (x *LinkIntermediaryResourceState) Reset()
- func (x *LinkIntermediaryResourceState) String() string
- type LinkKind
- type LinkKindInfo
- type LinkKindResponse
- func (*LinkKindResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LinkKindResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
- func (x *LinkKindResponse) GetLinkKindInfo() *LinkKindInfo
- func (x *LinkKindResponse) GetResponse() isLinkKindResponse_Response
- func (*LinkKindResponse) ProtoMessage()
- func (x *LinkKindResponse) ProtoReflect() protoreflect.Message
- func (x *LinkKindResponse) Reset()
- func (x *LinkKindResponse) String() string
- type LinkKindResponse_ErrorResponse
- type LinkKindResponse_LinkKindInfo
- type LinkPriorityResource
- func (LinkPriorityResource) Descriptor() protoreflect.EnumDescriptor
- func (x LinkPriorityResource) Enum() *LinkPriorityResource
- func (LinkPriorityResource) EnumDescriptor() ([]byte, []int)deprecated
- func (x LinkPriorityResource) Number() protoreflect.EnumNumber
- func (x LinkPriorityResource) String() string
- func (LinkPriorityResource) Type() protoreflect.EnumType
- type LinkPriorityResourceInfo
- func (*LinkPriorityResourceInfo) Descriptor() ([]byte, []int)deprecated
- func (x *LinkPriorityResourceInfo) GetPriorityResource() LinkPriorityResource
- func (x *LinkPriorityResourceInfo) GetPriorityResourceType() *sharedtypesv1.ResourceType
- func (*LinkPriorityResourceInfo) ProtoMessage()
- func (x *LinkPriorityResourceInfo) ProtoReflect() protoreflect.Message
- func (x *LinkPriorityResourceInfo) Reset()
- func (x *LinkPriorityResourceInfo) String() string
- type LinkPriorityResourceResponse
- func (*LinkPriorityResourceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LinkPriorityResourceResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
- func (x *LinkPriorityResourceResponse) GetPriorityInfo() *LinkPriorityResourceInfo
- func (x *LinkPriorityResourceResponse) GetResponse() isLinkPriorityResourceResponse_Response
- func (*LinkPriorityResourceResponse) ProtoMessage()
- func (x *LinkPriorityResourceResponse) ProtoReflect() protoreflect.Message
- func (x *LinkPriorityResourceResponse) Reset()
- func (x *LinkPriorityResourceResponse) String() string
- type LinkPriorityResourceResponse_ErrorResponse
- type LinkPriorityResourceResponse_PriorityInfo
- type LinkRequest
- func (*LinkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LinkRequest) GetContext() *LinkContext
- func (x *LinkRequest) GetHostId() string
- func (x *LinkRequest) GetLinkType() *LinkType
- func (*LinkRequest) ProtoMessage()
- func (x *LinkRequest) ProtoReflect() protoreflect.Message
- func (x *LinkRequest) Reset()
- func (x *LinkRequest) String() string
- type LinkState
- func (*LinkState) Descriptor() ([]byte, []int)deprecated
- func (x *LinkState) GetData() map[string]*schemapb.MappingNode
- func (x *LinkState) GetDurations() *LinkCompletionDurations
- func (x *LinkState) GetFailureReasons() []string
- func (x *LinkState) GetId() string
- func (x *LinkState) GetInstanceId() string
- func (x *LinkState) GetIntermediaryResourceStates() []*LinkIntermediaryResourceState
- func (x *LinkState) GetLastDeployAttemptTimestamp() int64
- func (x *LinkState) GetLastDeployedTimestamp() int64
- func (x *LinkState) GetLastStatusUpdateTimestamp() int64
- func (x *LinkState) GetName() string
- func (x *LinkState) GetPreciseStatus() PreciseLinkStatus
- func (x *LinkState) GetStatus() LinkStatus
- func (*LinkState) ProtoMessage()
- func (x *LinkState) ProtoReflect() protoreflect.Message
- func (x *LinkState) Reset()
- func (x *LinkState) String() string
- type LinkStatus
- type LinkType
- type LinkTypes
- type LinkTypesResponse
- func (*LinkTypesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LinkTypesResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
- func (x *LinkTypesResponse) GetLinkTypes() *LinkTypes
- func (x *LinkTypesResponse) GetResponse() isLinkTypesResponse_Response
- func (*LinkTypesResponse) ProtoMessage()
- func (x *LinkTypesResponse) ProtoReflect() protoreflect.Message
- func (x *LinkTypesResponse) Reset()
- func (x *LinkTypesResponse) String() string
- type LinkTypesResponse_ErrorResponse
- type LinkTypesResponse_LinkTypes
- type LinkUpdateType
- func (LinkUpdateType) Descriptor() protoreflect.EnumDescriptor
- func (x LinkUpdateType) Enum() *LinkUpdateType
- func (LinkUpdateType) EnumDescriptor() ([]byte, []int)deprecated
- func (x LinkUpdateType) Number() protoreflect.EnumNumber
- func (x LinkUpdateType) String() string
- func (LinkUpdateType) Type() protoreflect.EnumType
- type Namespace
- type NamespaceResponse
- func (*NamespaceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NamespaceResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
- func (x *NamespaceResponse) GetNamespace() *Namespace
- func (x *NamespaceResponse) GetResponse() isNamespaceResponse_Response
- func (*NamespaceResponse) ProtoMessage()
- func (x *NamespaceResponse) ProtoReflect() protoreflect.Message
- func (x *NamespaceResponse) Reset()
- func (x *NamespaceResponse) String() string
- type NamespaceResponse_ErrorResponse
- type NamespaceResponse_Namespace
- type PreciseLinkStatus
- func (PreciseLinkStatus) Descriptor() protoreflect.EnumDescriptor
- func (x PreciseLinkStatus) Enum() *PreciseLinkStatus
- func (PreciseLinkStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x PreciseLinkStatus) Number() protoreflect.EnumNumber
- func (x PreciseLinkStatus) String() string
- func (PreciseLinkStatus) Type() protoreflect.EnumType
- type ProviderClient
- type ProviderRequest
- type ProviderServer
- type ResolvedDataSource
- func (*ResolvedDataSource) Descriptor() ([]byte, []int)deprecated
- func (x *ResolvedDataSource) GetDataSourceMetadata() *ResolvedDataSourceMetadata
- func (x *ResolvedDataSource) GetDescription() *schemapb.MappingNode
- func (x *ResolvedDataSource) GetExports() map[string]*ResolvedDataSourceFieldExport
- func (x *ResolvedDataSource) GetFilter() []*ResolvedDataSourceFilter
- func (x *ResolvedDataSource) GetType() *DataSourceType
- func (*ResolvedDataSource) ProtoMessage()
- func (x *ResolvedDataSource) ProtoReflect() protoreflect.Message
- func (x *ResolvedDataSource) Reset()
- func (x *ResolvedDataSource) String() string
- type ResolvedDataSourceFieldExport
- func (*ResolvedDataSourceFieldExport) Descriptor() ([]byte, []int)deprecated
- func (x *ResolvedDataSourceFieldExport) GetAliasFor() *schemapb.ScalarValue
- func (x *ResolvedDataSourceFieldExport) GetDescription() *schemapb.MappingNode
- func (x *ResolvedDataSourceFieldExport) GetType() string
- func (*ResolvedDataSourceFieldExport) ProtoMessage()
- func (x *ResolvedDataSourceFieldExport) ProtoReflect() protoreflect.Message
- func (x *ResolvedDataSourceFieldExport) Reset()
- func (x *ResolvedDataSourceFieldExport) String() string
- type ResolvedDataSourceFilter
- func (*ResolvedDataSourceFilter) Descriptor() ([]byte, []int)deprecated
- func (x *ResolvedDataSourceFilter) GetField() *schemapb.ScalarValue
- func (x *ResolvedDataSourceFilter) GetOperator() string
- func (x *ResolvedDataSourceFilter) GetSearch() *ResolvedDataSourceFilterSearch
- func (*ResolvedDataSourceFilter) ProtoMessage()
- func (x *ResolvedDataSourceFilter) ProtoReflect() protoreflect.Message
- func (x *ResolvedDataSourceFilter) Reset()
- func (x *ResolvedDataSourceFilter) String() string
- type ResolvedDataSourceFilterSearch
- func (*ResolvedDataSourceFilterSearch) Descriptor() ([]byte, []int)deprecated
- func (x *ResolvedDataSourceFilterSearch) GetValues() []*schemapb.MappingNode
- func (*ResolvedDataSourceFilterSearch) ProtoMessage()
- func (x *ResolvedDataSourceFilterSearch) ProtoReflect() protoreflect.Message
- func (x *ResolvedDataSourceFilterSearch) Reset()
- func (x *ResolvedDataSourceFilterSearch) String() string
- type ResolvedDataSourceMetadata
- func (*ResolvedDataSourceMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ResolvedDataSourceMetadata) GetAnnotations() *schemapb.MappingNode
- func (x *ResolvedDataSourceMetadata) GetCustom() *schemapb.MappingNode
- func (x *ResolvedDataSourceMetadata) GetDisplayName() *schemapb.MappingNode
- func (*ResolvedDataSourceMetadata) ProtoMessage()
- func (x *ResolvedDataSourceMetadata) ProtoReflect() protoreflect.Message
- func (x *ResolvedDataSourceMetadata) Reset()
- func (x *ResolvedDataSourceMetadata) String() string
- type ResourceRequest
- func (*ResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceRequest) GetContext() *sharedtypesv1.ProviderContext
- func (x *ResourceRequest) GetHostId() string
- func (x *ResourceRequest) GetResourceType() *sharedtypesv1.ResourceType
- func (*ResourceRequest) ProtoMessage()
- func (x *ResourceRequest) ProtoReflect() protoreflect.Message
- func (x *ResourceRequest) Reset()
- func (x *ResourceRequest) String() string
- type ResourceSpecDefinitionResponse
- func (*ResourceSpecDefinitionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceSpecDefinitionResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
- func (x *ResourceSpecDefinitionResponse) GetResponse() isResourceSpecDefinitionResponse_Response
- func (x *ResourceSpecDefinitionResponse) GetSpecDefinition() *sharedtypesv1.ResourceSpecDefinition
- func (*ResourceSpecDefinitionResponse) ProtoMessage()
- func (x *ResourceSpecDefinitionResponse) ProtoReflect() protoreflect.Message
- func (x *ResourceSpecDefinitionResponse) Reset()
- func (x *ResourceSpecDefinitionResponse) String() string
- type ResourceSpecDefinitionResponse_ErrorResponse
- type ResourceSpecDefinitionResponse_SpecDefinition
- type ResourceStabilisedDepsResponse
- func (*ResourceStabilisedDepsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceStabilisedDepsResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
- func (x *ResourceStabilisedDepsResponse) GetResponse() isResourceStabilisedDepsResponse_Response
- func (x *ResourceStabilisedDepsResponse) GetStabilisedDependencies() *StabilisedDependencies
- func (*ResourceStabilisedDepsResponse) ProtoMessage()
- func (x *ResourceStabilisedDepsResponse) ProtoReflect() protoreflect.Message
- func (x *ResourceStabilisedDepsResponse) Reset()
- func (x *ResourceStabilisedDepsResponse) String() string
- type ResourceStabilisedDepsResponse_ErrorResponse
- type ResourceStabilisedDepsResponse_StabilisedDependencies
- type ResourceTypes
- func (*ResourceTypes) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceTypes) GetResourceTypes() []*sharedtypesv1.ResourceType
- func (*ResourceTypes) ProtoMessage()
- func (x *ResourceTypes) ProtoReflect() protoreflect.Message
- func (x *ResourceTypes) Reset()
- func (x *ResourceTypes) String() string
- type ResourceTypesResponse
- func (*ResourceTypesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceTypesResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
- func (x *ResourceTypesResponse) GetResourceTypes() *ResourceTypes
- func (x *ResourceTypesResponse) GetResponse() isResourceTypesResponse_Response
- func (*ResourceTypesResponse) ProtoMessage()
- func (x *ResourceTypesResponse) ProtoReflect() protoreflect.Message
- func (x *ResourceTypesResponse) Reset()
- func (x *ResourceTypesResponse) String() string
- type ResourceTypesResponse_ErrorResponse
- type ResourceTypesResponse_ResourceTypes
- type RetryPolicy
- func (*RetryPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *RetryPolicy) GetBackoffFactor() float64
- func (x *RetryPolicy) GetFirstRetryDelay() float64
- func (x *RetryPolicy) GetJitter() bool
- func (x *RetryPolicy) GetMaxDelay() float64
- func (x *RetryPolicy) GetMaxRetries() int32
- func (*RetryPolicy) ProtoMessage()
- func (x *RetryPolicy) ProtoReflect() protoreflect.Message
- func (x *RetryPolicy) Reset()
- func (x *RetryPolicy) String() string
- type RetryPolicyResponse
- func (*RetryPolicyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RetryPolicyResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
- func (x *RetryPolicyResponse) GetResponse() isRetryPolicyResponse_Response
- func (x *RetryPolicyResponse) GetRetryPolicy() *RetryPolicy
- func (*RetryPolicyResponse) ProtoMessage()
- func (x *RetryPolicyResponse) ProtoReflect() protoreflect.Message
- func (x *RetryPolicyResponse) Reset()
- func (x *RetryPolicyResponse) String() string
- type RetryPolicyResponse_ErrorResponse
- type RetryPolicyResponse_RetryPolicy
- type StabilisedDependencies
- func (*StabilisedDependencies) Descriptor() ([]byte, []int)deprecated
- func (x *StabilisedDependencies) GetResourceTypes() []*sharedtypesv1.ResourceType
- func (*StabilisedDependencies) ProtoMessage()
- func (x *StabilisedDependencies) ProtoReflect() protoreflect.Message
- func (x *StabilisedDependencies) Reset()
- func (x *StabilisedDependencies) String() string
- type StageLinkChangesCompleteResponse
- func (*StageLinkChangesCompleteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StageLinkChangesCompleteResponse) GetChanges() *sharedtypesv1.LinkChanges
- func (*StageLinkChangesCompleteResponse) ProtoMessage()
- func (x *StageLinkChangesCompleteResponse) ProtoReflect() protoreflect.Message
- func (x *StageLinkChangesCompleteResponse) Reset()
- func (x *StageLinkChangesCompleteResponse) String() string
- type StageLinkChangesRequest
- func (*StageLinkChangesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StageLinkChangesRequest) GetContext() *LinkContext
- func (x *StageLinkChangesRequest) GetCurrentLinkState() *LinkState
- func (x *StageLinkChangesRequest) GetHostId() string
- func (x *StageLinkChangesRequest) GetLinkType() *LinkType
- func (x *StageLinkChangesRequest) GetResourceAChanges() *sharedtypesv1.Changes
- func (x *StageLinkChangesRequest) GetResourceBChanges() *sharedtypesv1.Changes
- func (*StageLinkChangesRequest) ProtoMessage()
- func (x *StageLinkChangesRequest) ProtoReflect() protoreflect.Message
- func (x *StageLinkChangesRequest) Reset()
- func (x *StageLinkChangesRequest) String() string
- type StageLinkChangesResponse
- func (*StageLinkChangesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StageLinkChangesResponse) GetCompleteResponse() *StageLinkChangesCompleteResponse
- func (x *StageLinkChangesResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
- func (x *StageLinkChangesResponse) GetResponse() isStageLinkChangesResponse_Response
- func (*StageLinkChangesResponse) ProtoMessage()
- func (x *StageLinkChangesResponse) ProtoReflect() protoreflect.Message
- func (x *StageLinkChangesResponse) Reset()
- func (x *StageLinkChangesResponse) String() string
- type StageLinkChangesResponse_CompleteResponse
- type StageLinkChangesResponse_ErrorResponse
- type UnimplementedProviderServer
- func (UnimplementedProviderServer) CallFunction(context.Context, *sharedtypesv1.FunctionCallRequest) (*sharedtypesv1.FunctionCallResponse, error)
- func (UnimplementedProviderServer) CanResourceLinkTo(context.Context, *ResourceRequest) (*CanResourceLinkToResponse, error)
- func (UnimplementedProviderServer) CustomValidateDataSource(context.Context, *CustomValidateDataSourceRequest) (*CustomValidateDataSourceResponse, error)
- func (UnimplementedProviderServer) CustomValidateResource(context.Context, *CustomValidateResourceRequest) (*CustomValidateResourceResponse, error)
- func (UnimplementedProviderServer) DeployResource(context.Context, *sharedtypesv1.DeployResourceRequest) (*sharedtypesv1.DeployResourceResponse, error)
- func (UnimplementedProviderServer) DestroyResource(context.Context, *sharedtypesv1.DestroyResourceRequest) (*sharedtypesv1.DestroyResourceResponse, error)
- func (UnimplementedProviderServer) FetchDataSource(context.Context, *FetchDataSourceRequest) (*FetchDataSourceResponse, error)
- func (UnimplementedProviderServer) GetConfigDefinition(context.Context, *ProviderRequest) (*sharedtypesv1.ConfigDefinitionResponse, error)
- func (UnimplementedProviderServer) GetCustomVariableType(context.Context, *CustomVariableTypeRequest) (*CustomVariableTypeResponse, error)
- func (UnimplementedProviderServer) GetCustomVariableTypeDescription(context.Context, *CustomVariableTypeRequest) (*sharedtypesv1.TypeDescriptionResponse, error)
- func (UnimplementedProviderServer) GetCustomVariableTypeExamples(context.Context, *CustomVariableTypeRequest) (*sharedtypesv1.ExamplesResponse, error)
- func (UnimplementedProviderServer) GetCustomVariableTypeOptions(context.Context, *CustomVariableTypeRequest) (*CustomVariableTypeOptionsResponse, error)
- func (UnimplementedProviderServer) GetDataSourceExamples(context.Context, *DataSourceRequest) (*sharedtypesv1.ExamplesResponse, error)
- func (UnimplementedProviderServer) GetDataSourceFilterFields(context.Context, *DataSourceRequest) (*DataSourceFilterFieldsResponse, error)
- func (UnimplementedProviderServer) GetDataSourceSpecDefinition(context.Context, *DataSourceRequest) (*DataSourceSpecDefinitionResponse, error)
- func (UnimplementedProviderServer) GetDataSourceType(context.Context, *DataSourceRequest) (*DataSourceTypeResponse, error)
- func (UnimplementedProviderServer) GetDataSourceTypeDescription(context.Context, *DataSourceRequest) (*sharedtypesv1.TypeDescriptionResponse, error)
- func (UnimplementedProviderServer) GetFunctionDefinition(context.Context, *sharedtypesv1.FunctionDefinitionRequest) (*sharedtypesv1.FunctionDefinitionResponse, error)
- func (UnimplementedProviderServer) GetLinkAnnotationDefinitions(context.Context, *LinkRequest) (*LinkAnnotationDefinitionsResponse, error)
- func (UnimplementedProviderServer) GetLinkIntermediaryExternalState(context.Context, *GetLinkIntermediaryExternalStateRequest) (*GetLinkIntermediaryExternalStateResponse, error)
- func (UnimplementedProviderServer) GetLinkKind(context.Context, *LinkRequest) (*LinkKindResponse, error)
- func (UnimplementedProviderServer) GetLinkPriorityResource(context.Context, *LinkRequest) (*LinkPriorityResourceResponse, error)
- func (UnimplementedProviderServer) GetLinkTypeDescription(context.Context, *LinkRequest) (*sharedtypesv1.TypeDescriptionResponse, error)
- func (UnimplementedProviderServer) GetNamespace(context.Context, *ProviderRequest) (*NamespaceResponse, error)
- func (UnimplementedProviderServer) GetResourceExamples(context.Context, *ResourceRequest) (*sharedtypesv1.ExamplesResponse, error)
- func (UnimplementedProviderServer) GetResourceExternalState(context.Context, *GetResourceExternalStateRequest) (*GetResourceExternalStateResponse, error)
- func (UnimplementedProviderServer) GetResourceSpecDefinition(context.Context, *ResourceRequest) (*ResourceSpecDefinitionResponse, error)
- func (UnimplementedProviderServer) GetResourceStabilisedDeps(context.Context, *ResourceRequest) (*ResourceStabilisedDepsResponse, error)
- func (UnimplementedProviderServer) GetResourceType(context.Context, *ResourceRequest) (*sharedtypesv1.ResourceTypeResponse, error)
- func (UnimplementedProviderServer) GetResourceTypeDescription(context.Context, *ResourceRequest) (*sharedtypesv1.TypeDescriptionResponse, error)
- func (UnimplementedProviderServer) GetRetryPolicy(context.Context, *ProviderRequest) (*RetryPolicyResponse, error)
- func (UnimplementedProviderServer) IsResourceCommonTerminal(context.Context, *ResourceRequest) (*IsResourceCommonTerminalResponse, error)
- func (UnimplementedProviderServer) ListCustomVariableTypes(context.Context, *ProviderRequest) (*CustomVariableTypesResponse, error)
- func (UnimplementedProviderServer) ListDataSourceTypes(context.Context, *ProviderRequest) (*DataSourceTypesResponse, error)
- func (UnimplementedProviderServer) ListFunctions(context.Context, *ProviderRequest) (*FunctionListResponse, error)
- func (UnimplementedProviderServer) ListLinkTypes(context.Context, *ProviderRequest) (*LinkTypesResponse, error)
- func (UnimplementedProviderServer) ListResourceTypes(context.Context, *ProviderRequest) (*ResourceTypesResponse, error)
- func (UnimplementedProviderServer) ResourceHasStabilised(context.Context, *sharedtypesv1.ResourceHasStabilisedRequest) (*sharedtypesv1.ResourceHasStabilisedResponse, error)
- func (UnimplementedProviderServer) StageLinkChanges(context.Context, *StageLinkChangesRequest) (*StageLinkChangesResponse, error)
- func (UnimplementedProviderServer) UpdateLinkIntermediaryResources(context.Context, *UpdateLinkIntermediaryResourcesRequest) (*UpdateLinkIntermediaryResourcesResponse, error)
- func (UnimplementedProviderServer) UpdateLinkResourceA(context.Context, *UpdateLinkResourceRequest) (*UpdateLinkResourceResponse, error)
- func (UnimplementedProviderServer) UpdateLinkResourceB(context.Context, *UpdateLinkResourceRequest) (*UpdateLinkResourceResponse, error)
- type UnsafeProviderServer
- type UpdateLinkIntermediaryResourcesCompleteResponse
- func (*UpdateLinkIntermediaryResourcesCompleteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateLinkIntermediaryResourcesCompleteResponse) GetIntermediaryResourceStates() []*LinkIntermediaryResourceState
- func (x *UpdateLinkIntermediaryResourcesCompleteResponse) GetLinkData() *schemapb.MappingNode
- func (x *UpdateLinkIntermediaryResourcesCompleteResponse) GetResourceDataMappings() map[string]string
- func (*UpdateLinkIntermediaryResourcesCompleteResponse) ProtoMessage()
- func (x *UpdateLinkIntermediaryResourcesCompleteResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateLinkIntermediaryResourcesCompleteResponse) Reset()
- func (x *UpdateLinkIntermediaryResourcesCompleteResponse) String() string
- type UpdateLinkIntermediaryResourcesRequest
- func (*UpdateLinkIntermediaryResourcesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateLinkIntermediaryResourcesRequest) GetChanges() *sharedtypesv1.LinkChanges
- func (x *UpdateLinkIntermediaryResourcesRequest) GetContext() *LinkContext
- func (x *UpdateLinkIntermediaryResourcesRequest) GetCurrentLinkState() *LinkState
- func (x *UpdateLinkIntermediaryResourcesRequest) GetHostId() string
- func (x *UpdateLinkIntermediaryResourcesRequest) GetInstanceName() string
- func (x *UpdateLinkIntermediaryResourcesRequest) GetLinkId() string
- func (x *UpdateLinkIntermediaryResourcesRequest) GetLinkType() *LinkType
- func (x *UpdateLinkIntermediaryResourcesRequest) GetResourceAInfo() *sharedtypesv1.ResourceInfo
- func (x *UpdateLinkIntermediaryResourcesRequest) GetResourceBInfo() *sharedtypesv1.ResourceInfo
- func (x *UpdateLinkIntermediaryResourcesRequest) GetUpdateType() LinkUpdateType
- func (*UpdateLinkIntermediaryResourcesRequest) ProtoMessage()
- func (x *UpdateLinkIntermediaryResourcesRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateLinkIntermediaryResourcesRequest) Reset()
- func (x *UpdateLinkIntermediaryResourcesRequest) String() string
- type UpdateLinkIntermediaryResourcesResponse
- func (*UpdateLinkIntermediaryResourcesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateLinkIntermediaryResourcesResponse) GetCompleteResponse() *UpdateLinkIntermediaryResourcesCompleteResponse
- func (x *UpdateLinkIntermediaryResourcesResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
- func (x *UpdateLinkIntermediaryResourcesResponse) GetResponse() isUpdateLinkIntermediaryResourcesResponse_Response
- func (*UpdateLinkIntermediaryResourcesResponse) ProtoMessage()
- func (x *UpdateLinkIntermediaryResourcesResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateLinkIntermediaryResourcesResponse) Reset()
- func (x *UpdateLinkIntermediaryResourcesResponse) String() string
- type UpdateLinkIntermediaryResourcesResponse_CompleteResponse
- type UpdateLinkIntermediaryResourcesResponse_ErrorResponse
- type UpdateLinkResourceCompleteResponse
- func (*UpdateLinkResourceCompleteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateLinkResourceCompleteResponse) GetLinkData() *schemapb.MappingNode
- func (x *UpdateLinkResourceCompleteResponse) GetResourceDataMappings() map[string]string
- func (*UpdateLinkResourceCompleteResponse) ProtoMessage()
- func (x *UpdateLinkResourceCompleteResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateLinkResourceCompleteResponse) Reset()
- func (x *UpdateLinkResourceCompleteResponse) String() string
- type UpdateLinkResourceRequest
- func (*UpdateLinkResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateLinkResourceRequest) GetChanges() *sharedtypesv1.LinkChanges
- func (x *UpdateLinkResourceRequest) GetContext() *LinkContext
- func (x *UpdateLinkResourceRequest) GetCurrentLinkState() *LinkState
- func (x *UpdateLinkResourceRequest) GetHostId() string
- func (x *UpdateLinkResourceRequest) GetInstanceName() string
- func (x *UpdateLinkResourceRequest) GetLinkType() *LinkType
- func (x *UpdateLinkResourceRequest) GetOtherResourceInfo() *sharedtypesv1.ResourceInfo
- func (x *UpdateLinkResourceRequest) GetResourceInfo() *sharedtypesv1.ResourceInfo
- func (x *UpdateLinkResourceRequest) GetUpdateType() LinkUpdateType
- func (*UpdateLinkResourceRequest) ProtoMessage()
- func (x *UpdateLinkResourceRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateLinkResourceRequest) Reset()
- func (x *UpdateLinkResourceRequest) String() string
- type UpdateLinkResourceResponse
- func (*UpdateLinkResourceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateLinkResourceResponse) GetCompleteResponse() *UpdateLinkResourceCompleteResponse
- func (x *UpdateLinkResourceResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
- func (x *UpdateLinkResourceResponse) GetResponse() isUpdateLinkResourceResponse_Response
- func (*UpdateLinkResourceResponse) ProtoMessage()
- func (x *UpdateLinkResourceResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateLinkResourceResponse) Reset()
- func (x *UpdateLinkResourceResponse) String() string
- type UpdateLinkResourceResponse_CompleteResponse
- type UpdateLinkResourceResponse_ErrorResponse
Constants ¶
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_GetLinkIntermediaryExternalState_FullMethodName = "/providerserverv1.Provider/GetLinkIntermediaryExternalState" 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" )
const ( // The protocol version that is used during the handshake to ensure the plugin // is compatible with the host service. ProtocolVersion = "1.0" )
Variables ¶
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.
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.
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.
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.
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", 19: "LINK_STATUS_CREATE_INTERRUPTED", 20: "LINK_STATUS_UPDATE_INTERRUPTED", 21: "LINK_STATUS_DESTROY_INTERRUPTED", } 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, "LINK_STATUS_CREATE_INTERRUPTED": 19, "LINK_STATUS_UPDATE_INTERRUPTED": 20, "LINK_STATUS_DESTROY_INTERRUPTED": 21, } )
Enum value maps for LinkStatus.
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", 19: "PRECISE_LINK_STATUS_RESOURCE_A_UPDATE_INTERRUPTED", 20: "PRECISE_LINK_STATUS_RESOURCE_B_UPDATE_INTERRUPTED", 21: "PRECISE_LINK_STATUS_INTERMEDIARY_RESOURCE_UPDATE_INTERRUPTED", } 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, "PRECISE_LINK_STATUS_RESOURCE_A_UPDATE_INTERRUPTED": 19, "PRECISE_LINK_STATUS_RESOURCE_B_UPDATE_INTERRUPTED": 20, "PRECISE_LINK_STATUS_INTERMEDIARY_RESOURCE_UPDATE_INTERRUPTED": 21, } )
Enum value maps for PreciseLinkStatus.
var File_plugin_framework_providerserverv1_provider_proto protoreflect.FileDescriptor
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: "GetLinkIntermediaryExternalState", Handler: _Provider_GetLinkIntermediaryExternalState_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 (x *CanResourceLinkToResponse) ProtoReflect() protoreflect.Message
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 (x *CustomValidateDataSourceCompleteResponse) GetDiagnostics() []*sharedtypesv1.Diagnostic
func (*CustomValidateDataSourceCompleteResponse) ProtoMessage ¶
func (*CustomValidateDataSourceCompleteResponse) ProtoMessage()
func (*CustomValidateDataSourceCompleteResponse) ProtoReflect ¶
func (x *CustomValidateDataSourceCompleteResponse) ProtoReflect() protoreflect.Message
func (*CustomValidateDataSourceCompleteResponse) Reset ¶
func (x *CustomValidateDataSourceCompleteResponse) Reset()
func (*CustomValidateDataSourceCompleteResponse) String ¶
func (x *CustomValidateDataSourceCompleteResponse) String() 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 (x *CustomValidateDataSourceRequest) GetContext() *sharedtypesv1.ProviderContext
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 (x *CustomValidateDataSourceRequest) ProtoReflect() protoreflect.Message
func (*CustomValidateDataSourceRequest) Reset ¶
func (x *CustomValidateDataSourceRequest) Reset()
func (*CustomValidateDataSourceRequest) String ¶
func (x *CustomValidateDataSourceRequest) String() 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 (x *CustomValidateDataSourceResponse) GetCompleteResponse() *CustomValidateDataSourceCompleteResponse
func (*CustomValidateDataSourceResponse) GetErrorResponse ¶
func (x *CustomValidateDataSourceResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
func (*CustomValidateDataSourceResponse) GetResponse ¶
func (x *CustomValidateDataSourceResponse) GetResponse() isCustomValidateDataSourceResponse_Response
func (*CustomValidateDataSourceResponse) ProtoMessage ¶
func (*CustomValidateDataSourceResponse) ProtoMessage()
func (*CustomValidateDataSourceResponse) ProtoReflect ¶
func (x *CustomValidateDataSourceResponse) ProtoReflect() protoreflect.Message
func (*CustomValidateDataSourceResponse) Reset ¶
func (x *CustomValidateDataSourceResponse) Reset()
func (*CustomValidateDataSourceResponse) String ¶
func (x *CustomValidateDataSourceResponse) String() 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 (x *CustomValidateResourceCompleteResponse) GetDiagnostics() []*sharedtypesv1.Diagnostic
func (*CustomValidateResourceCompleteResponse) ProtoMessage ¶
func (*CustomValidateResourceCompleteResponse) ProtoMessage()
func (*CustomValidateResourceCompleteResponse) ProtoReflect ¶
func (x *CustomValidateResourceCompleteResponse) ProtoReflect() protoreflect.Message
func (*CustomValidateResourceCompleteResponse) Reset ¶
func (x *CustomValidateResourceCompleteResponse) Reset()
func (*CustomValidateResourceCompleteResponse) String ¶
func (x *CustomValidateResourceCompleteResponse) String() 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 (x *CustomValidateResourceRequest) GetContext() *sharedtypesv1.ProviderContext
func (*CustomValidateResourceRequest) GetHostId ¶
func (x *CustomValidateResourceRequest) GetHostId() string
func (*CustomValidateResourceRequest) GetResourceType ¶
func (x *CustomValidateResourceRequest) GetResourceType() *sharedtypesv1.ResourceType
func (*CustomValidateResourceRequest) GetSchemaResource ¶
func (x *CustomValidateResourceRequest) GetSchemaResource() *schemapb.Resource
func (*CustomValidateResourceRequest) ProtoMessage ¶
func (*CustomValidateResourceRequest) ProtoMessage()
func (*CustomValidateResourceRequest) ProtoReflect ¶
func (x *CustomValidateResourceRequest) ProtoReflect() protoreflect.Message
func (*CustomValidateResourceRequest) Reset ¶
func (x *CustomValidateResourceRequest) Reset()
func (*CustomValidateResourceRequest) String ¶
func (x *CustomValidateResourceRequest) String() 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 (x *CustomValidateResourceResponse) GetCompleteResponse() *CustomValidateResourceCompleteResponse
func (*CustomValidateResourceResponse) GetErrorResponse ¶
func (x *CustomValidateResourceResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
func (*CustomValidateResourceResponse) GetResponse ¶
func (x *CustomValidateResourceResponse) GetResponse() isCustomValidateResourceResponse_Response
func (*CustomValidateResourceResponse) ProtoMessage ¶
func (*CustomValidateResourceResponse) ProtoMessage()
func (*CustomValidateResourceResponse) ProtoReflect ¶
func (x *CustomValidateResourceResponse) ProtoReflect() protoreflect.Message
func (*CustomValidateResourceResponse) Reset ¶
func (x *CustomValidateResourceResponse) Reset()
func (*CustomValidateResourceResponse) String ¶
func (x *CustomValidateResourceResponse) String() 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 (x *CustomVariableTypeInfo) GetType() *CustomVariableType
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 (x *CustomVariableTypeOption) GetValue() *schemapb.ScalarValue
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 (x *CustomVariableTypeOptions) GetOptions() map[string]*CustomVariableTypeOption
func (*CustomVariableTypeOptions) ProtoMessage ¶
func (*CustomVariableTypeOptions) ProtoMessage()
func (*CustomVariableTypeOptions) ProtoReflect ¶
func (x *CustomVariableTypeOptions) ProtoReflect() protoreflect.Message
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 (x *CustomVariableTypeOptionsResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
func (*CustomVariableTypeOptionsResponse) GetOptions ¶
func (x *CustomVariableTypeOptionsResponse) GetOptions() *CustomVariableTypeOptions
func (*CustomVariableTypeOptionsResponse) GetResponse ¶
func (x *CustomVariableTypeOptionsResponse) GetResponse() isCustomVariableTypeOptionsResponse_Response
func (*CustomVariableTypeOptionsResponse) ProtoMessage ¶
func (*CustomVariableTypeOptionsResponse) ProtoMessage()
func (*CustomVariableTypeOptionsResponse) ProtoReflect ¶
func (x *CustomVariableTypeOptionsResponse) ProtoReflect() protoreflect.Message
func (*CustomVariableTypeOptionsResponse) Reset ¶
func (x *CustomVariableTypeOptionsResponse) Reset()
func (*CustomVariableTypeOptionsResponse) String ¶
func (x *CustomVariableTypeOptionsResponse) String() 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 (x *CustomVariableTypeRequest) GetContext() *sharedtypesv1.ProviderContext
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 (x *CustomVariableTypeRequest) ProtoReflect() protoreflect.Message
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 (x *CustomVariableTypeResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
func (*CustomVariableTypeResponse) GetResponse ¶
func (x *CustomVariableTypeResponse) GetResponse() isCustomVariableTypeResponse_Response
func (*CustomVariableTypeResponse) ProtoMessage ¶
func (*CustomVariableTypeResponse) ProtoMessage()
func (*CustomVariableTypeResponse) ProtoReflect ¶
func (x *CustomVariableTypeResponse) ProtoReflect() protoreflect.Message
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 (x *CustomVariableTypesResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
func (*CustomVariableTypesResponse) GetResponse ¶
func (x *CustomVariableTypesResponse) GetResponse() isCustomVariableTypesResponse_Response
func (*CustomVariableTypesResponse) ProtoMessage ¶
func (*CustomVariableTypesResponse) ProtoMessage()
func (*CustomVariableTypesResponse) ProtoReflect ¶
func (x *CustomVariableTypesResponse) ProtoReflect() protoreflect.Message
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 (x *DataSourceFilterFieldSchema) ProtoReflect() protoreflect.Message
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 (x *DataSourceFilterFieldsResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
func (*DataSourceFilterFieldsResponse) GetFilterFields ¶
func (x *DataSourceFilterFieldsResponse) GetFilterFields() *DataSourceFilterFields
func (*DataSourceFilterFieldsResponse) GetResponse ¶
func (x *DataSourceFilterFieldsResponse) GetResponse() isDataSourceFilterFieldsResponse_Response
func (*DataSourceFilterFieldsResponse) ProtoMessage ¶
func (*DataSourceFilterFieldsResponse) ProtoMessage()
func (*DataSourceFilterFieldsResponse) ProtoReflect ¶
func (x *DataSourceFilterFieldsResponse) ProtoReflect() protoreflect.Message
func (*DataSourceFilterFieldsResponse) Reset ¶
func (x *DataSourceFilterFieldsResponse) Reset()
func (*DataSourceFilterFieldsResponse) String ¶
func (x *DataSourceFilterFieldsResponse) String() 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 (x *DataSourceRequest) GetContext() *sharedtypesv1.ProviderContext
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 (x *DataSourceSpecDefinition) GetFields() map[string]*DataSourceSpecSchema
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 (x *DataSourceSpecDefinitionResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
func (*DataSourceSpecDefinitionResponse) GetResponse ¶
func (x *DataSourceSpecDefinitionResponse) GetResponse() isDataSourceSpecDefinitionResponse_Response
func (*DataSourceSpecDefinitionResponse) GetSpecDefinition ¶
func (x *DataSourceSpecDefinitionResponse) GetSpecDefinition() *DataSourceSpecDefinition
func (*DataSourceSpecDefinitionResponse) ProtoMessage ¶
func (*DataSourceSpecDefinitionResponse) ProtoMessage()
func (*DataSourceSpecDefinitionResponse) ProtoReflect ¶
func (x *DataSourceSpecDefinitionResponse) ProtoReflect() protoreflect.Message
func (*DataSourceSpecDefinitionResponse) Reset ¶
func (x *DataSourceSpecDefinitionResponse) Reset()
func (*DataSourceSpecDefinitionResponse) String ¶
func (x *DataSourceSpecDefinitionResponse) String() 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 (x *DataSourceSpecSchema) GetItems() *DataSourceSpecSchema
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 (x *DataSourceSpecSchema) GetType() DataSourceSpecSchemaType
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) Descriptor() protoreflect.EnumDescriptor
func (DataSourceSpecSchemaType) Enum ¶
func (x DataSourceSpecSchemaType) Enum() *DataSourceSpecSchemaType
func (DataSourceSpecSchemaType) EnumDescriptor
deprecated
func (DataSourceSpecSchemaType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DataSourceSpecSchemaType.Descriptor instead.
func (DataSourceSpecSchemaType) Number ¶
func (x DataSourceSpecSchemaType) Number() protoreflect.EnumNumber
func (DataSourceSpecSchemaType) String ¶
func (x DataSourceSpecSchemaType) String() string
func (DataSourceSpecSchemaType) Type ¶
func (DataSourceSpecSchemaType) Type() protoreflect.EnumType
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 (x *FetchDataSourceCompleteResponse) GetData() map[string]*schemapb.MappingNode
func (*FetchDataSourceCompleteResponse) ProtoMessage ¶
func (*FetchDataSourceCompleteResponse) ProtoMessage()
func (*FetchDataSourceCompleteResponse) ProtoReflect ¶
func (x *FetchDataSourceCompleteResponse) ProtoReflect() protoreflect.Message
func (*FetchDataSourceCompleteResponse) Reset ¶
func (x *FetchDataSourceCompleteResponse) Reset()
func (*FetchDataSourceCompleteResponse) String ¶
func (x *FetchDataSourceCompleteResponse) String() 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 (x *FetchDataSourceRequest) GetContext() *sharedtypesv1.ProviderContext
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 GetLinkIntermediaryExternalStateCompleteResponse ¶ added in v0.2.0
type GetLinkIntermediaryExternalStateCompleteResponse struct {
// Maps intermediary resource ID to its external state.
IntermediaryStates map[string]*IntermediaryExternalState `` /* 182-byte string literal not displayed */
// contains filtered or unexported fields
}
GetLinkIntermediaryExternalStateCompleteResponse contains the external state of intermediary resources.
func (*GetLinkIntermediaryExternalStateCompleteResponse) Descriptor
deprecated
added in
v0.2.0
func (*GetLinkIntermediaryExternalStateCompleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLinkIntermediaryExternalStateCompleteResponse.ProtoReflect.Descriptor instead.
func (*GetLinkIntermediaryExternalStateCompleteResponse) GetIntermediaryStates ¶ added in v0.2.0
func (x *GetLinkIntermediaryExternalStateCompleteResponse) GetIntermediaryStates() map[string]*IntermediaryExternalState
func (*GetLinkIntermediaryExternalStateCompleteResponse) ProtoMessage ¶ added in v0.2.0
func (*GetLinkIntermediaryExternalStateCompleteResponse) ProtoMessage()
func (*GetLinkIntermediaryExternalStateCompleteResponse) ProtoReflect ¶ added in v0.2.0
func (x *GetLinkIntermediaryExternalStateCompleteResponse) ProtoReflect() protoreflect.Message
func (*GetLinkIntermediaryExternalStateCompleteResponse) Reset ¶ added in v0.2.0
func (x *GetLinkIntermediaryExternalStateCompleteResponse) Reset()
func (*GetLinkIntermediaryExternalStateCompleteResponse) String ¶ added in v0.2.0
func (x *GetLinkIntermediaryExternalStateCompleteResponse) String() string
type GetLinkIntermediaryExternalStateRequest ¶ added in v0.2.0
type GetLinkIntermediaryExternalStateRequest struct {
// The type of link to retrieve intermediary external state for.
// 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"`
// The globally unique identifier for the blueprint instance.
InstanceId string `protobuf:"bytes,3,opt,name=instance_id,json=instanceId" json:"instance_id,omitempty"`
// The user-defined name for the blueprint instance.
InstanceName string `protobuf:"bytes,4,opt,name=instance_name,json=instanceName" json:"instance_name,omitempty"`
// The globally unique identifier for the link.
LinkId string `protobuf:"bytes,5,opt,name=link_id,json=linkId" json:"link_id,omitempty"`
// The logical name of the link in the format `{resourceA}::{resourceB}`.
LinkName string `protobuf:"bytes,6,opt,name=link_name,json=linkName" json:"link_name,omitempty"`
// Information about resource A in the link.
ResourceAInfo *sharedtypesv1.ResourceInfo `protobuf:"bytes,7,opt,name=resource_a_info,json=resourceAInfo" json:"resource_a_info,omitempty"`
// Information about resource B in the link.
ResourceBInfo *sharedtypesv1.ResourceInfo `protobuf:"bytes,8,opt,name=resource_b_info,json=resourceBInfo" json:"resource_b_info,omitempty"`
// IDs of specific intermediary resources to fetch.
// If empty, fetch all intermediary resources for the link.
IntermediaryResourceIds []string `protobuf:"bytes,9,rep,name=intermediary_resource_ids,json=intermediaryResourceIds" json:"intermediary_resource_ids,omitempty"`
// The current persisted state of the link.
CurrentLinkState *LinkState `protobuf:"bytes,10,opt,name=current_link_state,json=currentLinkState" json:"current_link_state,omitempty"`
// Runtime configuration for the current environment.
Context *LinkContext `protobuf:"bytes,11,opt,name=context" json:"context,omitempty"`
// contains filtered or unexported fields
}
GetLinkIntermediaryExternalStateRequest provides the input data needed to fetch the external state of intermediary resources for a link.
func (*GetLinkIntermediaryExternalStateRequest) Descriptor
deprecated
added in
v0.2.0
func (*GetLinkIntermediaryExternalStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLinkIntermediaryExternalStateRequest.ProtoReflect.Descriptor instead.
func (*GetLinkIntermediaryExternalStateRequest) GetContext ¶ added in v0.2.0
func (x *GetLinkIntermediaryExternalStateRequest) GetContext() *LinkContext
func (*GetLinkIntermediaryExternalStateRequest) GetCurrentLinkState ¶ added in v0.2.0
func (x *GetLinkIntermediaryExternalStateRequest) GetCurrentLinkState() *LinkState
func (*GetLinkIntermediaryExternalStateRequest) GetHostId ¶ added in v0.2.0
func (x *GetLinkIntermediaryExternalStateRequest) GetHostId() string
func (*GetLinkIntermediaryExternalStateRequest) GetInstanceId ¶ added in v0.2.0
func (x *GetLinkIntermediaryExternalStateRequest) GetInstanceId() string
func (*GetLinkIntermediaryExternalStateRequest) GetInstanceName ¶ added in v0.2.0
func (x *GetLinkIntermediaryExternalStateRequest) GetInstanceName() string
func (*GetLinkIntermediaryExternalStateRequest) GetIntermediaryResourceIds ¶ added in v0.2.0
func (x *GetLinkIntermediaryExternalStateRequest) GetIntermediaryResourceIds() []string
func (*GetLinkIntermediaryExternalStateRequest) GetLinkId ¶ added in v0.2.0
func (x *GetLinkIntermediaryExternalStateRequest) GetLinkId() string
func (*GetLinkIntermediaryExternalStateRequest) GetLinkName ¶ added in v0.2.0
func (x *GetLinkIntermediaryExternalStateRequest) GetLinkName() string
func (*GetLinkIntermediaryExternalStateRequest) GetLinkType ¶ added in v0.2.0
func (x *GetLinkIntermediaryExternalStateRequest) GetLinkType() *LinkType
func (*GetLinkIntermediaryExternalStateRequest) GetResourceAInfo ¶ added in v0.2.0
func (x *GetLinkIntermediaryExternalStateRequest) GetResourceAInfo() *sharedtypesv1.ResourceInfo
func (*GetLinkIntermediaryExternalStateRequest) GetResourceBInfo ¶ added in v0.2.0
func (x *GetLinkIntermediaryExternalStateRequest) GetResourceBInfo() *sharedtypesv1.ResourceInfo
func (*GetLinkIntermediaryExternalStateRequest) ProtoMessage ¶ added in v0.2.0
func (*GetLinkIntermediaryExternalStateRequest) ProtoMessage()
func (*GetLinkIntermediaryExternalStateRequest) ProtoReflect ¶ added in v0.2.0
func (x *GetLinkIntermediaryExternalStateRequest) ProtoReflect() protoreflect.Message
func (*GetLinkIntermediaryExternalStateRequest) Reset ¶ added in v0.2.0
func (x *GetLinkIntermediaryExternalStateRequest) Reset()
func (*GetLinkIntermediaryExternalStateRequest) String ¶ added in v0.2.0
func (x *GetLinkIntermediaryExternalStateRequest) String() string
type GetLinkIntermediaryExternalStateResponse ¶ added in v0.2.0
type GetLinkIntermediaryExternalStateResponse struct {
// Types that are valid to be assigned to Response:
//
// *GetLinkIntermediaryExternalStateResponse_CompleteResponse
// *GetLinkIntermediaryExternalStateResponse_ErrorResponse
Response isGetLinkIntermediaryExternalStateResponse_Response `protobuf_oneof:"response"`
// contains filtered or unexported fields
}
GetLinkIntermediaryExternalStateResponse contains the response for fetching external state of intermediary resources.
func (*GetLinkIntermediaryExternalStateResponse) Descriptor
deprecated
added in
v0.2.0
func (*GetLinkIntermediaryExternalStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLinkIntermediaryExternalStateResponse.ProtoReflect.Descriptor instead.
func (*GetLinkIntermediaryExternalStateResponse) GetCompleteResponse ¶ added in v0.2.0
func (x *GetLinkIntermediaryExternalStateResponse) GetCompleteResponse() *GetLinkIntermediaryExternalStateCompleteResponse
func (*GetLinkIntermediaryExternalStateResponse) GetErrorResponse ¶ added in v0.2.0
func (x *GetLinkIntermediaryExternalStateResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
func (*GetLinkIntermediaryExternalStateResponse) GetResponse ¶ added in v0.2.0
func (x *GetLinkIntermediaryExternalStateResponse) GetResponse() isGetLinkIntermediaryExternalStateResponse_Response
func (*GetLinkIntermediaryExternalStateResponse) ProtoMessage ¶ added in v0.2.0
func (*GetLinkIntermediaryExternalStateResponse) ProtoMessage()
func (*GetLinkIntermediaryExternalStateResponse) ProtoReflect ¶ added in v0.2.0
func (x *GetLinkIntermediaryExternalStateResponse) ProtoReflect() protoreflect.Message
func (*GetLinkIntermediaryExternalStateResponse) Reset ¶ added in v0.2.0
func (x *GetLinkIntermediaryExternalStateResponse) Reset()
func (*GetLinkIntermediaryExternalStateResponse) String ¶ added in v0.2.0
func (x *GetLinkIntermediaryExternalStateResponse) String() string
type GetLinkIntermediaryExternalStateResponse_CompleteResponse ¶ added in v0.2.0
type GetLinkIntermediaryExternalStateResponse_CompleteResponse struct {
CompleteResponse *GetLinkIntermediaryExternalStateCompleteResponse `protobuf:"bytes,1,opt,name=complete_response,json=completeResponse,oneof"`
}
type GetLinkIntermediaryExternalStateResponse_ErrorResponse ¶ added in v0.2.0
type GetLinkIntermediaryExternalStateResponse_ErrorResponse struct {
ErrorResponse *sharedtypesv1.ErrorResponse `protobuf:"bytes,2,opt,name=error_response,json=errorResponse,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"`
// The logical name of the resource in the blueprint.
// This can be used along with instance_id/instance_name for tag-based
// resource lookups when the external ID (e.g., ARN) is not available.
ResourceName string `protobuf:"bytes,9,opt,name=resource_name,json=resourceName" json:"resource_name,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 (x *GetResourceExternalStateRequest) GetContext() *sharedtypesv1.ProviderContext
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) GetResourceName ¶ added in v0.2.0
func (x *GetResourceExternalStateRequest) GetResourceName() string
func (*GetResourceExternalStateRequest) GetResourceType ¶
func (x *GetResourceExternalStateRequest) GetResourceType() *sharedtypesv1.ResourceType
func (*GetResourceExternalStateRequest) ProtoMessage ¶
func (*GetResourceExternalStateRequest) ProtoMessage()
func (*GetResourceExternalStateRequest) ProtoReflect ¶
func (x *GetResourceExternalStateRequest) ProtoReflect() protoreflect.Message
func (*GetResourceExternalStateRequest) Reset ¶
func (x *GetResourceExternalStateRequest) Reset()
func (*GetResourceExternalStateRequest) String ¶
func (x *GetResourceExternalStateRequest) String() 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 (x *GetResourceExternalStateResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
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 (x *GetResourceExternalStateResponse) ProtoReflect() protoreflect.Message
func (*GetResourceExternalStateResponse) Reset ¶
func (x *GetResourceExternalStateResponse) Reset()
func (*GetResourceExternalStateResponse) String ¶
func (x *GetResourceExternalStateResponse) String() 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 IntermediaryExternalState ¶ added in v0.2.0
type IntermediaryExternalState struct {
// The unique identifier for the intermediary resource.
ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId" json:"resource_id,omitempty"`
// The type of the intermediary resource (e.g., "aws/iam/role_policy").
ResourceType string `protobuf:"bytes,2,opt,name=resource_type,json=resourceType" json:"resource_type,omitempty"`
// The current external state of the intermediary resource spec.
SpecData *schemapb.MappingNode `protobuf:"bytes,3,opt,name=spec_data,json=specData" json:"spec_data,omitempty"`
// Whether the resource exists in the external system.
Exists bool `protobuf:"varint,4,opt,name=exists" json:"exists,omitempty"`
// contains filtered or unexported fields
}
IntermediaryExternalState contains the external (cloud) state of an intermediary resource.
func (*IntermediaryExternalState) Descriptor
deprecated
added in
v0.2.0
func (*IntermediaryExternalState) Descriptor() ([]byte, []int)
Deprecated: Use IntermediaryExternalState.ProtoReflect.Descriptor instead.
func (*IntermediaryExternalState) GetExists ¶ added in v0.2.0
func (x *IntermediaryExternalState) GetExists() bool
func (*IntermediaryExternalState) GetResourceId ¶ added in v0.2.0
func (x *IntermediaryExternalState) GetResourceId() string
func (*IntermediaryExternalState) GetResourceType ¶ added in v0.2.0
func (x *IntermediaryExternalState) GetResourceType() string
func (*IntermediaryExternalState) GetSpecData ¶ added in v0.2.0
func (x *IntermediaryExternalState) GetSpecData() *schemapb.MappingNode
func (*IntermediaryExternalState) ProtoMessage ¶ added in v0.2.0
func (*IntermediaryExternalState) ProtoMessage()
func (*IntermediaryExternalState) ProtoReflect ¶ added in v0.2.0
func (x *IntermediaryExternalState) ProtoReflect() protoreflect.Message
func (*IntermediaryExternalState) Reset ¶ added in v0.2.0
func (x *IntermediaryExternalState) Reset()
func (*IntermediaryExternalState) String ¶ added in v0.2.0
func (x *IntermediaryExternalState) String() string
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 (x *IsResourceCommonTerminalResponse) GetData() *sharedtypesv1.ResourceCommonTerminalInfo
func (*IsResourceCommonTerminalResponse) GetErrorResponse ¶
func (x *IsResourceCommonTerminalResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
func (*IsResourceCommonTerminalResponse) GetResponse ¶
func (x *IsResourceCommonTerminalResponse) GetResponse() isIsResourceCommonTerminalResponse_Response
func (*IsResourceCommonTerminalResponse) ProtoMessage ¶
func (*IsResourceCommonTerminalResponse) ProtoMessage()
func (*IsResourceCommonTerminalResponse) ProtoReflect ¶
func (x *IsResourceCommonTerminalResponse) ProtoReflect() protoreflect.Message
func (*IsResourceCommonTerminalResponse) Reset ¶
func (x *IsResourceCommonTerminalResponse) Reset()
func (*IsResourceCommonTerminalResponse) String ¶
func (x *IsResourceCommonTerminalResponse) String() 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 (x *LinkAnnotationDefinition) GetType() sharedtypesv1.ScalarType
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 (x *LinkAnnotationDefinitions) GetDefinitions() map[string]*LinkAnnotationDefinition
func (*LinkAnnotationDefinitions) ProtoMessage ¶
func (*LinkAnnotationDefinitions) ProtoMessage()
func (*LinkAnnotationDefinitions) ProtoReflect ¶
func (x *LinkAnnotationDefinitions) ProtoReflect() protoreflect.Message
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 (x *LinkAnnotationDefinitionsResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
func (*LinkAnnotationDefinitionsResponse) GetResponse ¶
func (x *LinkAnnotationDefinitionsResponse) GetResponse() isLinkAnnotationDefinitionsResponse_Response
func (*LinkAnnotationDefinitionsResponse) ProtoMessage ¶
func (*LinkAnnotationDefinitionsResponse) ProtoMessage()
func (*LinkAnnotationDefinitionsResponse) ProtoReflect ¶
func (x *LinkAnnotationDefinitionsResponse) ProtoReflect() protoreflect.Message
func (*LinkAnnotationDefinitionsResponse) Reset ¶
func (x *LinkAnnotationDefinitionsResponse) Reset()
func (*LinkAnnotationDefinitionsResponse) String ¶
func (x *LinkAnnotationDefinitionsResponse) String() 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 (x *LinkCompletionDurations) GetResourceAUpdate() *LinkComponentCompletionDurations
func (*LinkCompletionDurations) GetResourceBUpdate ¶
func (x *LinkCompletionDurations) GetResourceBUpdate() *LinkComponentCompletionDurations
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 (x *LinkComponentCompletionDurations) GetTotalDuration() *wrapperspb.DoubleValue
func (*LinkComponentCompletionDurations) ProtoMessage ¶
func (*LinkComponentCompletionDurations) ProtoMessage()
func (*LinkComponentCompletionDurations) ProtoReflect ¶
func (x *LinkComponentCompletionDurations) ProtoReflect() protoreflect.Message
func (*LinkComponentCompletionDurations) Reset ¶
func (x *LinkComponentCompletionDurations) Reset()
func (*LinkComponentCompletionDurations) String ¶
func (x *LinkComponentCompletionDurations) String() 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 (x *LinkIntermediaryResourceState) GetPreciseStatus() sharedtypesv1.PreciseResourceStatus
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 (x *LinkIntermediaryResourceState) GetStatus() sharedtypesv1.ResourceStatus
func (*LinkIntermediaryResourceState) ProtoMessage ¶
func (*LinkIntermediaryResourceState) ProtoMessage()
func (*LinkIntermediaryResourceState) ProtoReflect ¶
func (x *LinkIntermediaryResourceState) ProtoReflect() protoreflect.Message
func (*LinkIntermediaryResourceState) Reset ¶
func (x *LinkIntermediaryResourceState) Reset()
func (*LinkIntermediaryResourceState) String ¶
func (x *LinkIntermediaryResourceState) String() 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.
func (LinkKind) Descriptor ¶
func (LinkKind) Descriptor() protoreflect.EnumDescriptor
func (LinkKind) EnumDescriptor
deprecated
func (LinkKind) Number ¶
func (x LinkKind) Number() protoreflect.EnumNumber
func (LinkKind) Type ¶
func (LinkKind) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
func (LinkPriorityResource) Enum ¶
func (x LinkPriorityResource) Enum() *LinkPriorityResource
func (LinkPriorityResource) EnumDescriptor
deprecated
func (LinkPriorityResource) EnumDescriptor() ([]byte, []int)
Deprecated: Use LinkPriorityResource.Descriptor instead.
func (LinkPriorityResource) Number ¶
func (x LinkPriorityResource) Number() protoreflect.EnumNumber
func (LinkPriorityResource) String ¶
func (x LinkPriorityResource) String() string
func (LinkPriorityResource) Type ¶
func (LinkPriorityResource) Type() protoreflect.EnumType
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 (x *LinkPriorityResourceResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
func (*LinkPriorityResourceResponse) GetPriorityInfo ¶
func (x *LinkPriorityResourceResponse) GetPriorityInfo() *LinkPriorityResourceInfo
func (*LinkPriorityResourceResponse) GetResponse ¶
func (x *LinkPriorityResourceResponse) GetResponse() isLinkPriorityResourceResponse_Response
func (*LinkPriorityResourceResponse) ProtoMessage ¶
func (*LinkPriorityResourceResponse) ProtoMessage()
func (*LinkPriorityResourceResponse) ProtoReflect ¶
func (x *LinkPriorityResourceResponse) ProtoReflect() protoreflect.Message
func (*LinkPriorityResourceResponse) Reset ¶
func (x *LinkPriorityResourceResponse) Reset()
func (*LinkPriorityResourceResponse) String ¶
func (x *LinkPriorityResourceResponse) String() 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) GetDurations ¶
func (x *LinkState) GetDurations() *LinkCompletionDurations
func (*LinkState) GetFailureReasons ¶
func (*LinkState) GetInstanceId ¶
func (*LinkState) GetIntermediaryResourceStates ¶
func (x *LinkState) GetIntermediaryResourceStates() []*LinkIntermediaryResourceState
func (*LinkState) GetLastDeployAttemptTimestamp ¶
func (*LinkState) GetLastDeployedTimestamp ¶
func (*LinkState) GetLastStatusUpdateTimestamp ¶
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
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 // The status for when a link creation was interrupted due to deployment // being cancelled (e.g., drain timeout after terminal failure). // The actual state of the link is unknown and needs reconciliation. LinkStatus_LINK_STATUS_CREATE_INTERRUPTED LinkStatus = 19 // The status for when a link update was interrupted due to deployment // being cancelled (e.g., drain timeout after terminal failure). // The actual state of the link is unknown and needs reconciliation. LinkStatus_LINK_STATUS_UPDATE_INTERRUPTED LinkStatus = 20 // The status for when a link destruction was interrupted due to deployment // being cancelled (e.g., drain timeout after terminal failure). // The actual state of the link is unknown and needs reconciliation. LinkStatus_LINK_STATUS_DESTROY_INTERRUPTED LinkStatus = 21 )
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 ¶
func (LinkStatus) Type() protoreflect.EnumType
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) ProtoMessage ¶
func (*LinkType) ProtoMessage()
func (*LinkType) ProtoReflect ¶
func (x *LinkType) ProtoReflect() protoreflect.Message
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) GetLinkTypes ¶
func (*LinkTypes) ProtoMessage ¶
func (*LinkTypes) ProtoMessage()
func (*LinkTypes) ProtoReflect ¶
func (x *LinkTypes) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
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 (x LinkUpdateType) Number() protoreflect.EnumNumber
func (LinkUpdateType) String ¶
func (x LinkUpdateType) String() string
func (LinkUpdateType) Type ¶
func (LinkUpdateType) Type() protoreflect.EnumType
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) GetNamespace ¶
func (*Namespace) ProtoMessage ¶
func (*Namespace) ProtoMessage()
func (*Namespace) ProtoReflect ¶
func (x *Namespace) ProtoReflect() protoreflect.Message
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 // The status for when the resource A update for a link was interrupted due to // deployment being cancelled (e.g., drain timeout after terminal failure). // The actual state is unknown and needs reconciliation. PreciseLinkStatus_PRECISE_LINK_STATUS_RESOURCE_A_UPDATE_INTERRUPTED PreciseLinkStatus = 19 // The status for when the resource B update for a link was interrupted due to // deployment being cancelled (e.g., drain timeout after terminal failure). // The actual state is unknown and needs reconciliation. PreciseLinkStatus_PRECISE_LINK_STATUS_RESOURCE_B_UPDATE_INTERRUPTED PreciseLinkStatus = 20 // The status for when the intermediary resources update for a link was interrupted // due to deployment being cancelled (e.g., drain timeout after terminal failure). // The actual state is unknown and needs reconciliation. PreciseLinkStatus_PRECISE_LINK_STATUS_INTERMEDIARY_RESOURCE_UPDATE_INTERRUPTED PreciseLinkStatus = 21 )
func (PreciseLinkStatus) Descriptor ¶
func (PreciseLinkStatus) Descriptor() protoreflect.EnumDescriptor
func (PreciseLinkStatus) Enum ¶
func (x PreciseLinkStatus) Enum() *PreciseLinkStatus
func (PreciseLinkStatus) EnumDescriptor
deprecated
func (PreciseLinkStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use PreciseLinkStatus.Descriptor instead.
func (PreciseLinkStatus) Number ¶
func (x PreciseLinkStatus) Number() protoreflect.EnumNumber
func (PreciseLinkStatus) String ¶
func (x PreciseLinkStatus) String() string
func (PreciseLinkStatus) Type ¶
func (PreciseLinkStatus) Type() protoreflect.EnumType
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)
// GetLinkIntermediaryExternalState fetches the current cloud state for intermediary
// resources owned by this link. Used for drift detection and reconciliation.
// Link implementations that don't manage intermediary resources should return
// an empty map or nil output.
GetLinkIntermediaryExternalState(ctx context.Context, in *GetLinkIntermediaryExternalStateRequest, opts ...grpc.CallOption) (*GetLinkIntermediaryExternalStateResponse, 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)
// GetLinkIntermediaryExternalState fetches the current cloud state for intermediary
// resources owned by this link. Used for drift detection and reconciliation.
// Link implementations that don't manage intermediary resources should return
// an empty map or nil output.
GetLinkIntermediaryExternalState(context.Context, *GetLinkIntermediaryExternalStateRequest) (*GetLinkIntermediaryExternalStateResponse, 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 (x *ResolvedDataSource) GetExports() map[string]*ResolvedDataSourceFieldExport
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 (x *ResolvedDataSourceFieldExport) GetAliasFor() *schemapb.ScalarValue
func (*ResolvedDataSourceFieldExport) GetDescription ¶
func (x *ResolvedDataSourceFieldExport) GetDescription() *schemapb.MappingNode
func (*ResolvedDataSourceFieldExport) GetType ¶
func (x *ResolvedDataSourceFieldExport) GetType() string
func (*ResolvedDataSourceFieldExport) ProtoMessage ¶
func (*ResolvedDataSourceFieldExport) ProtoMessage()
func (*ResolvedDataSourceFieldExport) ProtoReflect ¶
func (x *ResolvedDataSourceFieldExport) ProtoReflect() protoreflect.Message
func (*ResolvedDataSourceFieldExport) Reset ¶
func (x *ResolvedDataSourceFieldExport) Reset()
func (*ResolvedDataSourceFieldExport) String ¶
func (x *ResolvedDataSourceFieldExport) String() 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 (x *ResolvedDataSourceFilter) GetField() *schemapb.ScalarValue
func (*ResolvedDataSourceFilter) GetOperator ¶
func (x *ResolvedDataSourceFilter) GetOperator() string
func (*ResolvedDataSourceFilter) GetSearch ¶
func (x *ResolvedDataSourceFilter) GetSearch() *ResolvedDataSourceFilterSearch
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 (x *ResolvedDataSourceFilterSearch) GetValues() []*schemapb.MappingNode
func (*ResolvedDataSourceFilterSearch) ProtoMessage ¶
func (*ResolvedDataSourceFilterSearch) ProtoMessage()
func (*ResolvedDataSourceFilterSearch) ProtoReflect ¶
func (x *ResolvedDataSourceFilterSearch) ProtoReflect() protoreflect.Message
func (*ResolvedDataSourceFilterSearch) Reset ¶
func (x *ResolvedDataSourceFilterSearch) Reset()
func (*ResolvedDataSourceFilterSearch) String ¶
func (x *ResolvedDataSourceFilterSearch) String() 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 (x *ResolvedDataSourceMetadata) GetCustom() *schemapb.MappingNode
func (*ResolvedDataSourceMetadata) GetDisplayName ¶
func (x *ResolvedDataSourceMetadata) GetDisplayName() *schemapb.MappingNode
func (*ResolvedDataSourceMetadata) ProtoMessage ¶
func (*ResolvedDataSourceMetadata) ProtoMessage()
func (*ResolvedDataSourceMetadata) ProtoReflect ¶
func (x *ResolvedDataSourceMetadata) ProtoReflect() protoreflect.Message
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 (x *ResourceRequest) GetContext() *sharedtypesv1.ProviderContext
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 (x *ResourceSpecDefinitionResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
func (*ResourceSpecDefinitionResponse) GetResponse ¶
func (x *ResourceSpecDefinitionResponse) GetResponse() isResourceSpecDefinitionResponse_Response
func (*ResourceSpecDefinitionResponse) GetSpecDefinition ¶
func (x *ResourceSpecDefinitionResponse) GetSpecDefinition() *sharedtypesv1.ResourceSpecDefinition
func (*ResourceSpecDefinitionResponse) ProtoMessage ¶
func (*ResourceSpecDefinitionResponse) ProtoMessage()
func (*ResourceSpecDefinitionResponse) ProtoReflect ¶
func (x *ResourceSpecDefinitionResponse) ProtoReflect() protoreflect.Message
func (*ResourceSpecDefinitionResponse) Reset ¶
func (x *ResourceSpecDefinitionResponse) Reset()
func (*ResourceSpecDefinitionResponse) String ¶
func (x *ResourceSpecDefinitionResponse) String() 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 (x *ResourceStabilisedDepsResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
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 (x *ResourceStabilisedDepsResponse) ProtoReflect() protoreflect.Message
func (*ResourceStabilisedDepsResponse) Reset ¶
func (x *ResourceStabilisedDepsResponse) Reset()
func (*ResourceStabilisedDepsResponse) String ¶
func (x *ResourceStabilisedDepsResponse) String() 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 (x *StageLinkChangesCompleteResponse) GetChanges() *sharedtypesv1.LinkChanges
func (*StageLinkChangesCompleteResponse) ProtoMessage ¶
func (*StageLinkChangesCompleteResponse) ProtoMessage()
func (*StageLinkChangesCompleteResponse) ProtoReflect ¶
func (x *StageLinkChangesCompleteResponse) ProtoReflect() protoreflect.Message
func (*StageLinkChangesCompleteResponse) Reset ¶
func (x *StageLinkChangesCompleteResponse) Reset()
func (*StageLinkChangesCompleteResponse) String ¶
func (x *StageLinkChangesCompleteResponse) String() 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 (x *StageLinkChangesResponse) GetCompleteResponse() *StageLinkChangesCompleteResponse
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) CallFunction ¶
func (UnimplementedProviderServer) CallFunction(context.Context, *sharedtypesv1.FunctionCallRequest) (*sharedtypesv1.FunctionCallResponse, error)
func (UnimplementedProviderServer) CanResourceLinkTo ¶
func (UnimplementedProviderServer) CanResourceLinkTo(context.Context, *ResourceRequest) (*CanResourceLinkToResponse, error)
func (UnimplementedProviderServer) CustomValidateDataSource ¶
func (UnimplementedProviderServer) CustomValidateDataSource(context.Context, *CustomValidateDataSourceRequest) (*CustomValidateDataSourceResponse, error)
func (UnimplementedProviderServer) CustomValidateResource ¶
func (UnimplementedProviderServer) CustomValidateResource(context.Context, *CustomValidateResourceRequest) (*CustomValidateResourceResponse, error)
func (UnimplementedProviderServer) DeployResource ¶
func (UnimplementedProviderServer) DeployResource(context.Context, *sharedtypesv1.DeployResourceRequest) (*sharedtypesv1.DeployResourceResponse, error)
func (UnimplementedProviderServer) DestroyResource ¶
func (UnimplementedProviderServer) DestroyResource(context.Context, *sharedtypesv1.DestroyResourceRequest) (*sharedtypesv1.DestroyResourceResponse, error)
func (UnimplementedProviderServer) FetchDataSource ¶
func (UnimplementedProviderServer) FetchDataSource(context.Context, *FetchDataSourceRequest) (*FetchDataSourceResponse, error)
func (UnimplementedProviderServer) GetConfigDefinition ¶
func (UnimplementedProviderServer) GetConfigDefinition(context.Context, *ProviderRequest) (*sharedtypesv1.ConfigDefinitionResponse, error)
func (UnimplementedProviderServer) GetCustomVariableType ¶
func (UnimplementedProviderServer) GetCustomVariableType(context.Context, *CustomVariableTypeRequest) (*CustomVariableTypeResponse, error)
func (UnimplementedProviderServer) GetCustomVariableTypeDescription ¶
func (UnimplementedProviderServer) GetCustomVariableTypeDescription(context.Context, *CustomVariableTypeRequest) (*sharedtypesv1.TypeDescriptionResponse, error)
func (UnimplementedProviderServer) GetCustomVariableTypeExamples ¶
func (UnimplementedProviderServer) GetCustomVariableTypeExamples(context.Context, *CustomVariableTypeRequest) (*sharedtypesv1.ExamplesResponse, error)
func (UnimplementedProviderServer) GetCustomVariableTypeOptions ¶
func (UnimplementedProviderServer) GetCustomVariableTypeOptions(context.Context, *CustomVariableTypeRequest) (*CustomVariableTypeOptionsResponse, error)
func (UnimplementedProviderServer) GetDataSourceExamples ¶
func (UnimplementedProviderServer) GetDataSourceExamples(context.Context, *DataSourceRequest) (*sharedtypesv1.ExamplesResponse, error)
func (UnimplementedProviderServer) GetDataSourceFilterFields ¶
func (UnimplementedProviderServer) GetDataSourceFilterFields(context.Context, *DataSourceRequest) (*DataSourceFilterFieldsResponse, error)
func (UnimplementedProviderServer) GetDataSourceSpecDefinition ¶
func (UnimplementedProviderServer) GetDataSourceSpecDefinition(context.Context, *DataSourceRequest) (*DataSourceSpecDefinitionResponse, error)
func (UnimplementedProviderServer) GetDataSourceType ¶
func (UnimplementedProviderServer) GetDataSourceType(context.Context, *DataSourceRequest) (*DataSourceTypeResponse, error)
func (UnimplementedProviderServer) GetDataSourceTypeDescription ¶
func (UnimplementedProviderServer) GetDataSourceTypeDescription(context.Context, *DataSourceRequest) (*sharedtypesv1.TypeDescriptionResponse, error)
func (UnimplementedProviderServer) GetFunctionDefinition ¶
func (UnimplementedProviderServer) GetFunctionDefinition(context.Context, *sharedtypesv1.FunctionDefinitionRequest) (*sharedtypesv1.FunctionDefinitionResponse, error)
func (UnimplementedProviderServer) GetLinkAnnotationDefinitions ¶
func (UnimplementedProviderServer) GetLinkAnnotationDefinitions(context.Context, *LinkRequest) (*LinkAnnotationDefinitionsResponse, error)
func (UnimplementedProviderServer) GetLinkIntermediaryExternalState ¶ added in v0.2.0
func (UnimplementedProviderServer) GetLinkIntermediaryExternalState(context.Context, *GetLinkIntermediaryExternalStateRequest) (*GetLinkIntermediaryExternalStateResponse, error)
func (UnimplementedProviderServer) GetLinkKind ¶
func (UnimplementedProviderServer) GetLinkKind(context.Context, *LinkRequest) (*LinkKindResponse, error)
func (UnimplementedProviderServer) GetLinkPriorityResource ¶
func (UnimplementedProviderServer) GetLinkPriorityResource(context.Context, *LinkRequest) (*LinkPriorityResourceResponse, error)
func (UnimplementedProviderServer) GetLinkTypeDescription ¶
func (UnimplementedProviderServer) GetLinkTypeDescription(context.Context, *LinkRequest) (*sharedtypesv1.TypeDescriptionResponse, error)
func (UnimplementedProviderServer) GetNamespace ¶
func (UnimplementedProviderServer) GetNamespace(context.Context, *ProviderRequest) (*NamespaceResponse, error)
func (UnimplementedProviderServer) GetResourceExamples ¶
func (UnimplementedProviderServer) GetResourceExamples(context.Context, *ResourceRequest) (*sharedtypesv1.ExamplesResponse, error)
func (UnimplementedProviderServer) GetResourceExternalState ¶
func (UnimplementedProviderServer) GetResourceExternalState(context.Context, *GetResourceExternalStateRequest) (*GetResourceExternalStateResponse, error)
func (UnimplementedProviderServer) GetResourceSpecDefinition ¶
func (UnimplementedProviderServer) GetResourceSpecDefinition(context.Context, *ResourceRequest) (*ResourceSpecDefinitionResponse, error)
func (UnimplementedProviderServer) GetResourceStabilisedDeps ¶
func (UnimplementedProviderServer) GetResourceStabilisedDeps(context.Context, *ResourceRequest) (*ResourceStabilisedDepsResponse, error)
func (UnimplementedProviderServer) GetResourceType ¶
func (UnimplementedProviderServer) GetResourceType(context.Context, *ResourceRequest) (*sharedtypesv1.ResourceTypeResponse, error)
func (UnimplementedProviderServer) GetResourceTypeDescription ¶
func (UnimplementedProviderServer) GetResourceTypeDescription(context.Context, *ResourceRequest) (*sharedtypesv1.TypeDescriptionResponse, error)
func (UnimplementedProviderServer) GetRetryPolicy ¶
func (UnimplementedProviderServer) GetRetryPolicy(context.Context, *ProviderRequest) (*RetryPolicyResponse, error)
func (UnimplementedProviderServer) IsResourceCommonTerminal ¶
func (UnimplementedProviderServer) IsResourceCommonTerminal(context.Context, *ResourceRequest) (*IsResourceCommonTerminalResponse, error)
func (UnimplementedProviderServer) ListCustomVariableTypes ¶
func (UnimplementedProviderServer) ListCustomVariableTypes(context.Context, *ProviderRequest) (*CustomVariableTypesResponse, error)
func (UnimplementedProviderServer) ListDataSourceTypes ¶
func (UnimplementedProviderServer) ListDataSourceTypes(context.Context, *ProviderRequest) (*DataSourceTypesResponse, error)
func (UnimplementedProviderServer) ListFunctions ¶
func (UnimplementedProviderServer) ListFunctions(context.Context, *ProviderRequest) (*FunctionListResponse, error)
func (UnimplementedProviderServer) ListLinkTypes ¶
func (UnimplementedProviderServer) ListLinkTypes(context.Context, *ProviderRequest) (*LinkTypesResponse, error)
func (UnimplementedProviderServer) ListResourceTypes ¶
func (UnimplementedProviderServer) ListResourceTypes(context.Context, *ProviderRequest) (*ResourceTypesResponse, error)
func (UnimplementedProviderServer) ResourceHasStabilised ¶
func (UnimplementedProviderServer) ResourceHasStabilised(context.Context, *sharedtypesv1.ResourceHasStabilisedRequest) (*sharedtypesv1.ResourceHasStabilisedResponse, error)
func (UnimplementedProviderServer) StageLinkChanges ¶
func (UnimplementedProviderServer) StageLinkChanges(context.Context, *StageLinkChangesRequest) (*StageLinkChangesResponse, error)
func (UnimplementedProviderServer) UpdateLinkIntermediaryResources ¶
func (UnimplementedProviderServer) UpdateLinkIntermediaryResources(context.Context, *UpdateLinkIntermediaryResourcesRequest) (*UpdateLinkIntermediaryResourcesResponse, error)
func (UnimplementedProviderServer) UpdateLinkResourceA ¶
func (UnimplementedProviderServer) UpdateLinkResourceA(context.Context, *UpdateLinkResourceRequest) (*UpdateLinkResourceResponse, error)
func (UnimplementedProviderServer) UpdateLinkResourceB ¶
func (UnimplementedProviderServer) UpdateLinkResourceB(context.Context, *UpdateLinkResourceRequest) (*UpdateLinkResourceResponse, error)
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
func (*UpdateLinkIntermediaryResourcesCompleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateLinkIntermediaryResourcesCompleteResponse.ProtoReflect.Descriptor instead.
func (*UpdateLinkIntermediaryResourcesCompleteResponse) GetIntermediaryResourceStates ¶
func (x *UpdateLinkIntermediaryResourcesCompleteResponse) GetIntermediaryResourceStates() []*LinkIntermediaryResourceState
func (*UpdateLinkIntermediaryResourcesCompleteResponse) GetLinkData ¶
func (x *UpdateLinkIntermediaryResourcesCompleteResponse) GetLinkData() *schemapb.MappingNode
func (*UpdateLinkIntermediaryResourcesCompleteResponse) GetResourceDataMappings ¶
func (x *UpdateLinkIntermediaryResourcesCompleteResponse) GetResourceDataMappings() map[string]string
func (*UpdateLinkIntermediaryResourcesCompleteResponse) ProtoMessage ¶
func (*UpdateLinkIntermediaryResourcesCompleteResponse) ProtoMessage()
func (*UpdateLinkIntermediaryResourcesCompleteResponse) ProtoReflect ¶
func (x *UpdateLinkIntermediaryResourcesCompleteResponse) ProtoReflect() protoreflect.Message
func (*UpdateLinkIntermediaryResourcesCompleteResponse) Reset ¶
func (x *UpdateLinkIntermediaryResourcesCompleteResponse) Reset()
func (*UpdateLinkIntermediaryResourcesCompleteResponse) String ¶
func (x *UpdateLinkIntermediaryResourcesCompleteResponse) String() 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 (x *UpdateLinkIntermediaryResourcesRequest) GetChanges() *sharedtypesv1.LinkChanges
func (*UpdateLinkIntermediaryResourcesRequest) GetContext ¶
func (x *UpdateLinkIntermediaryResourcesRequest) GetContext() *LinkContext
func (*UpdateLinkIntermediaryResourcesRequest) GetCurrentLinkState ¶
func (x *UpdateLinkIntermediaryResourcesRequest) GetCurrentLinkState() *LinkState
func (*UpdateLinkIntermediaryResourcesRequest) GetHostId ¶
func (x *UpdateLinkIntermediaryResourcesRequest) GetHostId() string
func (*UpdateLinkIntermediaryResourcesRequest) GetInstanceName ¶
func (x *UpdateLinkIntermediaryResourcesRequest) GetInstanceName() string
func (*UpdateLinkIntermediaryResourcesRequest) GetLinkId ¶
func (x *UpdateLinkIntermediaryResourcesRequest) GetLinkId() string
func (*UpdateLinkIntermediaryResourcesRequest) GetLinkType ¶
func (x *UpdateLinkIntermediaryResourcesRequest) GetLinkType() *LinkType
func (*UpdateLinkIntermediaryResourcesRequest) GetResourceAInfo ¶
func (x *UpdateLinkIntermediaryResourcesRequest) GetResourceAInfo() *sharedtypesv1.ResourceInfo
func (*UpdateLinkIntermediaryResourcesRequest) GetResourceBInfo ¶
func (x *UpdateLinkIntermediaryResourcesRequest) GetResourceBInfo() *sharedtypesv1.ResourceInfo
func (*UpdateLinkIntermediaryResourcesRequest) GetUpdateType ¶
func (x *UpdateLinkIntermediaryResourcesRequest) GetUpdateType() LinkUpdateType
func (*UpdateLinkIntermediaryResourcesRequest) ProtoMessage ¶
func (*UpdateLinkIntermediaryResourcesRequest) ProtoMessage()
func (*UpdateLinkIntermediaryResourcesRequest) ProtoReflect ¶
func (x *UpdateLinkIntermediaryResourcesRequest) ProtoReflect() protoreflect.Message
func (*UpdateLinkIntermediaryResourcesRequest) Reset ¶
func (x *UpdateLinkIntermediaryResourcesRequest) Reset()
func (*UpdateLinkIntermediaryResourcesRequest) String ¶
func (x *UpdateLinkIntermediaryResourcesRequest) String() 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 (x *UpdateLinkIntermediaryResourcesResponse) GetCompleteResponse() *UpdateLinkIntermediaryResourcesCompleteResponse
func (*UpdateLinkIntermediaryResourcesResponse) GetErrorResponse ¶
func (x *UpdateLinkIntermediaryResourcesResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
func (*UpdateLinkIntermediaryResourcesResponse) GetResponse ¶
func (x *UpdateLinkIntermediaryResourcesResponse) GetResponse() isUpdateLinkIntermediaryResourcesResponse_Response
func (*UpdateLinkIntermediaryResourcesResponse) ProtoMessage ¶
func (*UpdateLinkIntermediaryResourcesResponse) ProtoMessage()
func (*UpdateLinkIntermediaryResourcesResponse) ProtoReflect ¶
func (x *UpdateLinkIntermediaryResourcesResponse) ProtoReflect() protoreflect.Message
func (*UpdateLinkIntermediaryResourcesResponse) Reset ¶
func (x *UpdateLinkIntermediaryResourcesResponse) Reset()
func (*UpdateLinkIntermediaryResourcesResponse) String ¶
func (x *UpdateLinkIntermediaryResourcesResponse) String() 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 (x *UpdateLinkResourceCompleteResponse) GetLinkData() *schemapb.MappingNode
func (*UpdateLinkResourceCompleteResponse) GetResourceDataMappings ¶
func (x *UpdateLinkResourceCompleteResponse) GetResourceDataMappings() map[string]string
func (*UpdateLinkResourceCompleteResponse) ProtoMessage ¶
func (*UpdateLinkResourceCompleteResponse) ProtoMessage()
func (*UpdateLinkResourceCompleteResponse) ProtoReflect ¶
func (x *UpdateLinkResourceCompleteResponse) ProtoReflect() protoreflect.Message
func (*UpdateLinkResourceCompleteResponse) Reset ¶
func (x *UpdateLinkResourceCompleteResponse) Reset()
func (*UpdateLinkResourceCompleteResponse) String ¶
func (x *UpdateLinkResourceCompleteResponse) String() 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 (x *UpdateLinkResourceRequest) GetChanges() *sharedtypesv1.LinkChanges
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 (x *UpdateLinkResourceRequest) GetResourceInfo() *sharedtypesv1.ResourceInfo
func (*UpdateLinkResourceRequest) GetUpdateType ¶
func (x *UpdateLinkResourceRequest) GetUpdateType() LinkUpdateType
func (*UpdateLinkResourceRequest) ProtoMessage ¶
func (*UpdateLinkResourceRequest) ProtoMessage()
func (*UpdateLinkResourceRequest) ProtoReflect ¶
func (x *UpdateLinkResourceRequest) ProtoReflect() protoreflect.Message
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 (x *UpdateLinkResourceResponse) GetCompleteResponse() *UpdateLinkResourceCompleteResponse
func (*UpdateLinkResourceResponse) GetErrorResponse ¶
func (x *UpdateLinkResourceResponse) GetErrorResponse() *sharedtypesv1.ErrorResponse
func (*UpdateLinkResourceResponse) GetResponse ¶
func (x *UpdateLinkResourceResponse) GetResponse() isUpdateLinkResourceResponse_Response
func (*UpdateLinkResourceResponse) ProtoMessage ¶
func (*UpdateLinkResourceResponse) ProtoMessage()
func (*UpdateLinkResourceResponse) ProtoReflect ¶
func (x *UpdateLinkResourceResponse) ProtoReflect() protoreflect.Message
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"`
}