Documentation ¶
Index ¶
- Variables
- type ModuleResource
- func (*ModuleResource) Descriptor() ([]byte, []int)deprecated
- func (x *ModuleResource) GetArtefacts() []*v1.DeploymentArtefact
- func (x *ModuleResource) GetLabels() *structpb.Struct
- func (x *ModuleResource) GetOutput() *ModuleResource_ModuleResourceOutput
- func (x *ModuleResource) GetSchema() *schema.Module
- func (*ModuleResource) ProtoMessage()
- func (x *ModuleResource) ProtoReflect() protoreflect.Message
- func (x *ModuleResource) Reset()
- func (x *ModuleResource) String() string
- type ModuleResource_ModuleResourceOutput
- func (*ModuleResource_ModuleResourceOutput) Descriptor() ([]byte, []int)deprecated
- func (x *ModuleResource_ModuleResourceOutput) GetDeploymentKey() string
- func (*ModuleResource_ModuleResourceOutput) ProtoMessage()
- func (x *ModuleResource_ModuleResourceOutput) ProtoReflect() protoreflect.Message
- func (x *ModuleResource_ModuleResourceOutput) Reset()
- func (x *ModuleResource_ModuleResourceOutput) String() string
- type MysqlResource
- func (*MysqlResource) Descriptor() ([]byte, []int)deprecated
- func (x *MysqlResource) GetOutput() *MysqlResource_MysqlResourceOutput
- func (*MysqlResource) ProtoMessage()
- func (x *MysqlResource) ProtoReflect() protoreflect.Message
- func (x *MysqlResource) Reset()
- func (x *MysqlResource) String() string
- type MysqlResource_MysqlResourceOutput
- func (*MysqlResource_MysqlResourceOutput) Descriptor() ([]byte, []int)deprecated
- func (x *MysqlResource_MysqlResourceOutput) GetReadDsn() string
- func (x *MysqlResource_MysqlResourceOutput) GetWriteDsn() string
- func (*MysqlResource_MysqlResourceOutput) ProtoMessage()
- func (x *MysqlResource_MysqlResourceOutput) ProtoReflect() protoreflect.Message
- func (x *MysqlResource_MysqlResourceOutput) Reset()
- func (x *MysqlResource_MysqlResourceOutput) String() string
- type PlanRequest
- type PlanResponse
- type PostgresResource
- func (*PostgresResource) Descriptor() ([]byte, []int)deprecated
- func (x *PostgresResource) GetOutput() *PostgresResource_PostgresResourceOutput
- func (*PostgresResource) ProtoMessage()
- func (x *PostgresResource) ProtoReflect() protoreflect.Message
- func (x *PostgresResource) Reset()
- func (x *PostgresResource) String() string
- type PostgresResource_PostgresResourceOutput
- func (*PostgresResource_PostgresResourceOutput) Descriptor() ([]byte, []int)deprecated
- func (x *PostgresResource_PostgresResourceOutput) GetReadDsn() string
- func (x *PostgresResource_PostgresResourceOutput) GetWriteDsn() string
- func (*PostgresResource_PostgresResourceOutput) ProtoMessage()
- func (x *PostgresResource_PostgresResourceOutput) ProtoReflect() protoreflect.Message
- func (x *PostgresResource_PostgresResourceOutput) Reset()
- func (x *PostgresResource_PostgresResourceOutput) String() string
- type ProvisionRequest
- func (*ProvisionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProvisionRequest) GetDesiredResources() []*ResourceContext
- func (x *ProvisionRequest) GetExistingResources() []*Resource
- func (x *ProvisionRequest) GetFtlClusterId() string
- func (x *ProvisionRequest) GetModule() string
- func (*ProvisionRequest) ProtoMessage()
- func (x *ProvisionRequest) ProtoReflect() protoreflect.Message
- func (x *ProvisionRequest) Reset()
- func (x *ProvisionRequest) String() string
- type ProvisionResponse
- func (*ProvisionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProvisionResponse) GetProvisioningToken() string
- func (x *ProvisionResponse) GetStatus() ProvisionResponse_ProvisionResponseStatus
- func (*ProvisionResponse) ProtoMessage()
- func (x *ProvisionResponse) ProtoReflect() protoreflect.Message
- func (x *ProvisionResponse) Reset()
- func (x *ProvisionResponse) String() string
- type ProvisionResponse_ProvisionResponseStatus
- func (ProvisionResponse_ProvisionResponseStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ProvisionResponse_ProvisionResponseStatus) Enum() *ProvisionResponse_ProvisionResponseStatus
- func (ProvisionResponse_ProvisionResponseStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProvisionResponse_ProvisionResponseStatus) Number() protoreflect.EnumNumber
- func (x ProvisionResponse_ProvisionResponseStatus) String() string
- func (ProvisionResponse_ProvisionResponseStatus) Type() protoreflect.EnumType
- type Resource
- func (*Resource) Descriptor() ([]byte, []int)deprecated
- func (x *Resource) GetModule() *ModuleResource
- func (x *Resource) GetMysql() *MysqlResource
- func (x *Resource) GetPostgres() *PostgresResource
- func (m *Resource) GetResource() isResource_Resource
- func (x *Resource) GetResourceId() string
- func (x *Resource) GetSqlMigration() *SqlMigrationResource
- func (*Resource) ProtoMessage()
- func (x *Resource) ProtoReflect() protoreflect.Message
- func (x *Resource) Reset()
- func (x *Resource) String() string
- type ResourceContext
- func (*ResourceContext) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceContext) GetDependencies() []*Resource
- func (x *ResourceContext) GetResource() *Resource
- func (*ResourceContext) ProtoMessage()
- func (x *ResourceContext) ProtoReflect() protoreflect.Message
- func (x *ResourceContext) Reset()
- func (x *ResourceContext) String() string
- type Resource_Module
- type Resource_Mysql
- type Resource_Postgres
- type Resource_SqlMigration
- type SqlMigrationResource
- func (*SqlMigrationResource) Descriptor() ([]byte, []int)deprecated
- func (x *SqlMigrationResource) GetDigest() string
- func (x *SqlMigrationResource) GetOutput() *SqlMigrationResource_SqlMigrationResourceOutput
- func (*SqlMigrationResource) ProtoMessage()
- func (x *SqlMigrationResource) ProtoReflect() protoreflect.Message
- func (x *SqlMigrationResource) Reset()
- func (x *SqlMigrationResource) String() string
- type SqlMigrationResource_SqlMigrationResourceOutput
- func (*SqlMigrationResource_SqlMigrationResourceOutput) Descriptor() ([]byte, []int)deprecated
- func (*SqlMigrationResource_SqlMigrationResourceOutput) ProtoMessage()
- func (x *SqlMigrationResource_SqlMigrationResourceOutput) ProtoReflect() protoreflect.Message
- func (x *SqlMigrationResource_SqlMigrationResourceOutput) Reset()
- func (x *SqlMigrationResource_SqlMigrationResourceOutput) String() string
- type StatusRequest
- func (*StatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StatusRequest) GetDesiredResources() []*Resource
- func (x *StatusRequest) GetProvisioningToken() string
- func (*StatusRequest) ProtoMessage()
- func (x *StatusRequest) ProtoReflect() protoreflect.Message
- func (x *StatusRequest) Reset()
- func (x *StatusRequest) String() string
- type StatusResponse
- func (*StatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StatusResponse) GetRunning() *StatusResponse_ProvisioningRunning
- func (m *StatusResponse) GetStatus() isStatusResponse_Status
- func (x *StatusResponse) GetSuccess() *StatusResponse_ProvisioningSuccess
- func (*StatusResponse) ProtoMessage()
- func (x *StatusResponse) ProtoReflect() protoreflect.Message
- func (x *StatusResponse) Reset()
- func (x *StatusResponse) String() string
- type StatusResponse_ProvisioningFailed
- func (*StatusResponse_ProvisioningFailed) Descriptor() ([]byte, []int)deprecated
- func (x *StatusResponse_ProvisioningFailed) GetErrorMessage() string
- func (*StatusResponse_ProvisioningFailed) ProtoMessage()
- func (x *StatusResponse_ProvisioningFailed) ProtoReflect() protoreflect.Message
- func (x *StatusResponse_ProvisioningFailed) Reset()
- func (x *StatusResponse_ProvisioningFailed) String() string
- type StatusResponse_ProvisioningRunning
- func (*StatusResponse_ProvisioningRunning) Descriptor() ([]byte, []int)deprecated
- func (*StatusResponse_ProvisioningRunning) ProtoMessage()
- func (x *StatusResponse_ProvisioningRunning) ProtoReflect() protoreflect.Message
- func (x *StatusResponse_ProvisioningRunning) Reset()
- func (x *StatusResponse_ProvisioningRunning) String() string
- type StatusResponse_ProvisioningSuccess
- func (*StatusResponse_ProvisioningSuccess) Descriptor() ([]byte, []int)deprecated
- func (x *StatusResponse_ProvisioningSuccess) GetUpdatedResources() []*Resource
- func (*StatusResponse_ProvisioningSuccess) ProtoMessage()
- func (x *StatusResponse_ProvisioningSuccess) ProtoReflect() protoreflect.Message
- func (x *StatusResponse_ProvisioningSuccess) Reset()
- func (x *StatusResponse_ProvisioningSuccess) String() string
- type StatusResponse_Running
- type StatusResponse_Success
Constants ¶
This section is empty.
Variables ¶
var ( ProvisionResponse_ProvisionResponseStatus_name = map[int32]string{ 0: "UNKNOWN", 1: "SUBMITTED", } ProvisionResponse_ProvisionResponseStatus_value = map[string]int32{ "UNKNOWN": 0, "SUBMITTED": 1, } )
Enum value maps for ProvisionResponse_ProvisionResponseStatus.
var File_xyz_block_ftl_v1beta1_provisioner_plugin_proto protoreflect.FileDescriptor
var File_xyz_block_ftl_v1beta1_provisioner_resource_proto protoreflect.FileDescriptor
var File_xyz_block_ftl_v1beta1_provisioner_service_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ModuleResource ¶ added in v0.377.0
type ModuleResource struct { Output *ModuleResource_ModuleResourceOutput `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"` Schema *schema.Module `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"` Artefacts []*v1.DeploymentArtefact `protobuf:"bytes,3,rep,name=artefacts,proto3" json:"artefacts,omitempty"` // Runner labels required to run this deployment. Labels *structpb.Struct `protobuf:"bytes,4,opt,name=labels,proto3,oneof" json:"labels,omitempty"` // contains filtered or unexported fields }
func (*ModuleResource) Descriptor
deprecated
added in
v0.377.0
func (*ModuleResource) Descriptor() ([]byte, []int)
Deprecated: Use ModuleResource.ProtoReflect.Descriptor instead.
func (*ModuleResource) GetArtefacts ¶ added in v0.377.0
func (x *ModuleResource) GetArtefacts() []*v1.DeploymentArtefact
func (*ModuleResource) GetLabels ¶ added in v0.377.0
func (x *ModuleResource) GetLabels() *structpb.Struct
func (*ModuleResource) GetOutput ¶ added in v0.377.0
func (x *ModuleResource) GetOutput() *ModuleResource_ModuleResourceOutput
func (*ModuleResource) GetSchema ¶ added in v0.377.0
func (x *ModuleResource) GetSchema() *schema.Module
func (*ModuleResource) ProtoMessage ¶ added in v0.377.0
func (*ModuleResource) ProtoMessage()
func (*ModuleResource) ProtoReflect ¶ added in v0.377.0
func (x *ModuleResource) ProtoReflect() protoreflect.Message
func (*ModuleResource) Reset ¶ added in v0.377.0
func (x *ModuleResource) Reset()
func (*ModuleResource) String ¶ added in v0.377.0
func (x *ModuleResource) String() string
type ModuleResource_ModuleResourceOutput ¶ added in v0.377.0
type ModuleResource_ModuleResourceOutput struct { DeploymentKey string `protobuf:"bytes,1,opt,name=deployment_key,json=deploymentKey,proto3" json:"deployment_key,omitempty"` // contains filtered or unexported fields }
func (*ModuleResource_ModuleResourceOutput) Descriptor
deprecated
added in
v0.377.0
func (*ModuleResource_ModuleResourceOutput) Descriptor() ([]byte, []int)
Deprecated: Use ModuleResource_ModuleResourceOutput.ProtoReflect.Descriptor instead.
func (*ModuleResource_ModuleResourceOutput) GetDeploymentKey ¶ added in v0.377.0
func (x *ModuleResource_ModuleResourceOutput) GetDeploymentKey() string
func (*ModuleResource_ModuleResourceOutput) ProtoMessage ¶ added in v0.377.0
func (*ModuleResource_ModuleResourceOutput) ProtoMessage()
func (*ModuleResource_ModuleResourceOutput) ProtoReflect ¶ added in v0.377.0
func (x *ModuleResource_ModuleResourceOutput) ProtoReflect() protoreflect.Message
func (*ModuleResource_ModuleResourceOutput) Reset ¶ added in v0.377.0
func (x *ModuleResource_ModuleResourceOutput) Reset()
func (*ModuleResource_ModuleResourceOutput) String ¶ added in v0.377.0
func (x *ModuleResource_ModuleResourceOutput) String() string
type MysqlResource ¶
type MysqlResource struct { Output *MysqlResource_MysqlResourceOutput `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"` // contains filtered or unexported fields }
func (*MysqlResource) Descriptor
deprecated
func (*MysqlResource) Descriptor() ([]byte, []int)
Deprecated: Use MysqlResource.ProtoReflect.Descriptor instead.
func (*MysqlResource) GetOutput ¶ added in v0.368.0
func (x *MysqlResource) GetOutput() *MysqlResource_MysqlResourceOutput
func (*MysqlResource) ProtoMessage ¶
func (*MysqlResource) ProtoMessage()
func (*MysqlResource) ProtoReflect ¶
func (x *MysqlResource) ProtoReflect() protoreflect.Message
func (*MysqlResource) Reset ¶
func (x *MysqlResource) Reset()
func (*MysqlResource) String ¶
func (x *MysqlResource) String() string
type MysqlResource_MysqlResourceOutput ¶ added in v0.368.0
type MysqlResource_MysqlResourceOutput struct { ReadDsn string `protobuf:"bytes,1,opt,name=read_dsn,json=readDsn,proto3" json:"read_dsn,omitempty"` WriteDsn string `protobuf:"bytes,2,opt,name=write_dsn,json=writeDsn,proto3" json:"write_dsn,omitempty"` // contains filtered or unexported fields }
func (*MysqlResource_MysqlResourceOutput) Descriptor
deprecated
added in
v0.368.0
func (*MysqlResource_MysqlResourceOutput) Descriptor() ([]byte, []int)
Deprecated: Use MysqlResource_MysqlResourceOutput.ProtoReflect.Descriptor instead.
func (*MysqlResource_MysqlResourceOutput) GetReadDsn ¶ added in v0.384.0
func (x *MysqlResource_MysqlResourceOutput) GetReadDsn() string
func (*MysqlResource_MysqlResourceOutput) GetWriteDsn ¶ added in v0.384.0
func (x *MysqlResource_MysqlResourceOutput) GetWriteDsn() string
func (*MysqlResource_MysqlResourceOutput) ProtoMessage ¶ added in v0.368.0
func (*MysqlResource_MysqlResourceOutput) ProtoMessage()
func (*MysqlResource_MysqlResourceOutput) ProtoReflect ¶ added in v0.368.0
func (x *MysqlResource_MysqlResourceOutput) ProtoReflect() protoreflect.Message
func (*MysqlResource_MysqlResourceOutput) Reset ¶ added in v0.368.0
func (x *MysqlResource_MysqlResourceOutput) Reset()
func (*MysqlResource_MysqlResourceOutput) String ¶ added in v0.368.0
func (x *MysqlResource_MysqlResourceOutput) String() string
type PlanRequest ¶
type PlanRequest struct { Provisioning *ProvisionRequest `protobuf:"bytes,1,opt,name=provisioning,proto3" json:"provisioning,omitempty"` // contains filtered or unexported fields }
func (*PlanRequest) Descriptor
deprecated
func (*PlanRequest) Descriptor() ([]byte, []int)
Deprecated: Use PlanRequest.ProtoReflect.Descriptor instead.
func (*PlanRequest) GetProvisioning ¶
func (x *PlanRequest) GetProvisioning() *ProvisionRequest
func (*PlanRequest) ProtoMessage ¶
func (*PlanRequest) ProtoMessage()
func (*PlanRequest) ProtoReflect ¶
func (x *PlanRequest) ProtoReflect() protoreflect.Message
func (*PlanRequest) Reset ¶
func (x *PlanRequest) Reset()
func (*PlanRequest) String ¶
func (x *PlanRequest) String() string
type PlanResponse ¶
type PlanResponse struct { // a detailed, implementation specific, plan of changes this deployment would do Plan string `protobuf:"bytes,1,opt,name=plan,proto3" json:"plan,omitempty"` // contains filtered or unexported fields }
func (*PlanResponse) Descriptor
deprecated
func (*PlanResponse) Descriptor() ([]byte, []int)
Deprecated: Use PlanResponse.ProtoReflect.Descriptor instead.
func (*PlanResponse) GetPlan ¶
func (x *PlanResponse) GetPlan() string
func (*PlanResponse) ProtoMessage ¶
func (*PlanResponse) ProtoMessage()
func (*PlanResponse) ProtoReflect ¶
func (x *PlanResponse) ProtoReflect() protoreflect.Message
func (*PlanResponse) Reset ¶
func (x *PlanResponse) Reset()
func (*PlanResponse) String ¶
func (x *PlanResponse) String() string
type PostgresResource ¶
type PostgresResource struct { Output *PostgresResource_PostgresResourceOutput `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"` // contains filtered or unexported fields }
func (*PostgresResource) Descriptor
deprecated
func (*PostgresResource) Descriptor() ([]byte, []int)
Deprecated: Use PostgresResource.ProtoReflect.Descriptor instead.
func (*PostgresResource) GetOutput ¶ added in v0.368.0
func (x *PostgresResource) GetOutput() *PostgresResource_PostgresResourceOutput
func (*PostgresResource) ProtoMessage ¶
func (*PostgresResource) ProtoMessage()
func (*PostgresResource) ProtoReflect ¶
func (x *PostgresResource) ProtoReflect() protoreflect.Message
func (*PostgresResource) Reset ¶
func (x *PostgresResource) Reset()
func (*PostgresResource) String ¶
func (x *PostgresResource) String() string
type PostgresResource_PostgresResourceOutput ¶ added in v0.368.0
type PostgresResource_PostgresResourceOutput struct { ReadDsn string `protobuf:"bytes,1,opt,name=read_dsn,json=readDsn,proto3" json:"read_dsn,omitempty"` WriteDsn string `protobuf:"bytes,2,opt,name=write_dsn,json=writeDsn,proto3" json:"write_dsn,omitempty"` // contains filtered or unexported fields }
func (*PostgresResource_PostgresResourceOutput) Descriptor
deprecated
added in
v0.368.0
func (*PostgresResource_PostgresResourceOutput) Descriptor() ([]byte, []int)
Deprecated: Use PostgresResource_PostgresResourceOutput.ProtoReflect.Descriptor instead.
func (*PostgresResource_PostgresResourceOutput) GetReadDsn ¶ added in v0.384.0
func (x *PostgresResource_PostgresResourceOutput) GetReadDsn() string
func (*PostgresResource_PostgresResourceOutput) GetWriteDsn ¶ added in v0.384.0
func (x *PostgresResource_PostgresResourceOutput) GetWriteDsn() string
func (*PostgresResource_PostgresResourceOutput) ProtoMessage ¶ added in v0.368.0
func (*PostgresResource_PostgresResourceOutput) ProtoMessage()
func (*PostgresResource_PostgresResourceOutput) ProtoReflect ¶ added in v0.368.0
func (x *PostgresResource_PostgresResourceOutput) ProtoReflect() protoreflect.Message
func (*PostgresResource_PostgresResourceOutput) Reset ¶ added in v0.368.0
func (x *PostgresResource_PostgresResourceOutput) Reset()
func (*PostgresResource_PostgresResourceOutput) String ¶ added in v0.368.0
func (x *PostgresResource_PostgresResourceOutput) String() string
type ProvisionRequest ¶
type ProvisionRequest struct { FtlClusterId string `protobuf:"bytes,1,opt,name=ftl_cluster_id,json=ftlClusterId,proto3" json:"ftl_cluster_id,omitempty"` Module string `protobuf:"bytes,2,opt,name=module,proto3" json:"module,omitempty"` // The resource FTL thinks exists currently ExistingResources []*Resource `protobuf:"bytes,3,rep,name=existing_resources,json=existingResources,proto3" json:"existing_resources,omitempty"` // The resource FTL would like to exist after this provisioning run. // This includes all new, existing, and changes resources in this change. DesiredResources []*ResourceContext `protobuf:"bytes,4,rep,name=desired_resources,json=desiredResources,proto3" json:"desired_resources,omitempty"` // contains filtered or unexported fields }
func (*ProvisionRequest) Descriptor
deprecated
func (*ProvisionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProvisionRequest.ProtoReflect.Descriptor instead.
func (*ProvisionRequest) GetDesiredResources ¶
func (x *ProvisionRequest) GetDesiredResources() []*ResourceContext
func (*ProvisionRequest) GetExistingResources ¶
func (x *ProvisionRequest) GetExistingResources() []*Resource
func (*ProvisionRequest) GetFtlClusterId ¶
func (x *ProvisionRequest) GetFtlClusterId() string
func (*ProvisionRequest) GetModule ¶
func (x *ProvisionRequest) GetModule() string
func (*ProvisionRequest) ProtoMessage ¶
func (*ProvisionRequest) ProtoMessage()
func (*ProvisionRequest) ProtoReflect ¶
func (x *ProvisionRequest) ProtoReflect() protoreflect.Message
func (*ProvisionRequest) Reset ¶
func (x *ProvisionRequest) Reset()
func (*ProvisionRequest) String ¶
func (x *ProvisionRequest) String() string
type ProvisionResponse ¶
type ProvisionResponse struct { ProvisioningToken string `protobuf:"bytes,1,opt,name=provisioning_token,json=provisioningToken,proto3" json:"provisioning_token,omitempty"` Status ProvisionResponse_ProvisionResponseStatus `` /* 147-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ProvisionResponse) Descriptor
deprecated
func (*ProvisionResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProvisionResponse.ProtoReflect.Descriptor instead.
func (*ProvisionResponse) GetProvisioningToken ¶
func (x *ProvisionResponse) GetProvisioningToken() string
func (*ProvisionResponse) GetStatus ¶
func (x *ProvisionResponse) GetStatus() ProvisionResponse_ProvisionResponseStatus
func (*ProvisionResponse) ProtoMessage ¶
func (*ProvisionResponse) ProtoMessage()
func (*ProvisionResponse) ProtoReflect ¶
func (x *ProvisionResponse) ProtoReflect() protoreflect.Message
func (*ProvisionResponse) Reset ¶
func (x *ProvisionResponse) Reset()
func (*ProvisionResponse) String ¶
func (x *ProvisionResponse) String() string
type ProvisionResponse_ProvisionResponseStatus ¶
type ProvisionResponse_ProvisionResponseStatus int32
const ( ProvisionResponse_UNKNOWN ProvisionResponse_ProvisionResponseStatus = 0 ProvisionResponse_SUBMITTED ProvisionResponse_ProvisionResponseStatus = 1 )
func (ProvisionResponse_ProvisionResponseStatus) Descriptor ¶
func (ProvisionResponse_ProvisionResponseStatus) Descriptor() protoreflect.EnumDescriptor
func (ProvisionResponse_ProvisionResponseStatus) EnumDescriptor
deprecated
func (ProvisionResponse_ProvisionResponseStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProvisionResponse_ProvisionResponseStatus.Descriptor instead.
func (ProvisionResponse_ProvisionResponseStatus) Number ¶
func (x ProvisionResponse_ProvisionResponseStatus) Number() protoreflect.EnumNumber
func (ProvisionResponse_ProvisionResponseStatus) String ¶
func (x ProvisionResponse_ProvisionResponseStatus) String() string
func (ProvisionResponse_ProvisionResponseStatus) Type ¶
func (ProvisionResponse_ProvisionResponseStatus) Type() protoreflect.EnumType
type Resource ¶
type Resource struct { // id unique within the module ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` // Types that are assignable to Resource: // // *Resource_Postgres // *Resource_Mysql // *Resource_Module // *Resource_SqlMigration Resource isResource_Resource `protobuf_oneof:"resource"` // contains filtered or unexported fields }
Resource is an abstract resource extracted from FTL Schema.
func (*Resource) Descriptor
deprecated
func (*Resource) GetModule ¶ added in v0.377.0
func (x *Resource) GetModule() *ModuleResource
func (*Resource) GetMysql ¶
func (x *Resource) GetMysql() *MysqlResource
func (*Resource) GetPostgres ¶
func (x *Resource) GetPostgres() *PostgresResource
func (*Resource) GetResource ¶
func (m *Resource) GetResource() isResource_Resource
func (*Resource) GetResourceId ¶
func (*Resource) GetSqlMigration ¶ added in v0.399.0
func (x *Resource) GetSqlMigration() *SqlMigrationResource
func (*Resource) ProtoMessage ¶
func (*Resource) ProtoMessage()
func (*Resource) ProtoReflect ¶
func (x *Resource) ProtoReflect() protoreflect.Message
type ResourceContext ¶ added in v0.368.0
type ResourceContext struct { Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` Dependencies []*Resource `protobuf:"bytes,2,rep,name=dependencies,proto3" json:"dependencies,omitempty"` // contains filtered or unexported fields }
ResourceContext is the context used to create a new resource This includes the direct dependencies of the new resource, that can impact the resource creation.
func (*ResourceContext) Descriptor
deprecated
added in
v0.368.0
func (*ResourceContext) Descriptor() ([]byte, []int)
Deprecated: Use ResourceContext.ProtoReflect.Descriptor instead.
func (*ResourceContext) GetDependencies ¶ added in v0.368.0
func (x *ResourceContext) GetDependencies() []*Resource
func (*ResourceContext) GetResource ¶ added in v0.368.0
func (x *ResourceContext) GetResource() *Resource
func (*ResourceContext) ProtoMessage ¶ added in v0.368.0
func (*ResourceContext) ProtoMessage()
func (*ResourceContext) ProtoReflect ¶ added in v0.368.0
func (x *ResourceContext) ProtoReflect() protoreflect.Message
func (*ResourceContext) Reset ¶ added in v0.368.0
func (x *ResourceContext) Reset()
func (*ResourceContext) String ¶ added in v0.368.0
func (x *ResourceContext) String() string
type Resource_Module ¶ added in v0.377.0
type Resource_Module struct {
Module *ModuleResource `protobuf:"bytes,104,opt,name=module,proto3,oneof"`
}
type Resource_Mysql ¶
type Resource_Mysql struct {
Mysql *MysqlResource `protobuf:"bytes,103,opt,name=mysql,proto3,oneof"`
}
type Resource_Postgres ¶
type Resource_Postgres struct {
Postgres *PostgresResource `protobuf:"bytes,102,opt,name=postgres,proto3,oneof"`
}
type Resource_SqlMigration ¶ added in v0.399.0
type Resource_SqlMigration struct {
SqlMigration *SqlMigrationResource `protobuf:"bytes,105,opt,name=sql_migration,json=sqlMigration,proto3,oneof"`
}
type SqlMigrationResource ¶ added in v0.399.0
type SqlMigrationResource struct { Output *SqlMigrationResource_SqlMigrationResourceOutput `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"` Digest string `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"` // contains filtered or unexported fields }
func (*SqlMigrationResource) Descriptor
deprecated
added in
v0.399.0
func (*SqlMigrationResource) Descriptor() ([]byte, []int)
Deprecated: Use SqlMigrationResource.ProtoReflect.Descriptor instead.
func (*SqlMigrationResource) GetDigest ¶ added in v0.399.0
func (x *SqlMigrationResource) GetDigest() string
func (*SqlMigrationResource) GetOutput ¶ added in v0.399.0
func (x *SqlMigrationResource) GetOutput() *SqlMigrationResource_SqlMigrationResourceOutput
func (*SqlMigrationResource) ProtoMessage ¶ added in v0.399.0
func (*SqlMigrationResource) ProtoMessage()
func (*SqlMigrationResource) ProtoReflect ¶ added in v0.399.0
func (x *SqlMigrationResource) ProtoReflect() protoreflect.Message
func (*SqlMigrationResource) Reset ¶ added in v0.399.0
func (x *SqlMigrationResource) Reset()
func (*SqlMigrationResource) String ¶ added in v0.399.0
func (x *SqlMigrationResource) String() string
type SqlMigrationResource_SqlMigrationResourceOutput ¶ added in v0.399.0
type SqlMigrationResource_SqlMigrationResourceOutput struct {
// contains filtered or unexported fields
}
func (*SqlMigrationResource_SqlMigrationResourceOutput) Descriptor
deprecated
added in
v0.399.0
func (*SqlMigrationResource_SqlMigrationResourceOutput) Descriptor() ([]byte, []int)
Deprecated: Use SqlMigrationResource_SqlMigrationResourceOutput.ProtoReflect.Descriptor instead.
func (*SqlMigrationResource_SqlMigrationResourceOutput) ProtoMessage ¶ added in v0.399.0
func (*SqlMigrationResource_SqlMigrationResourceOutput) ProtoMessage()
func (*SqlMigrationResource_SqlMigrationResourceOutput) ProtoReflect ¶ added in v0.399.0
func (x *SqlMigrationResource_SqlMigrationResourceOutput) ProtoReflect() protoreflect.Message
func (*SqlMigrationResource_SqlMigrationResourceOutput) Reset ¶ added in v0.399.0
func (x *SqlMigrationResource_SqlMigrationResourceOutput) Reset()
func (*SqlMigrationResource_SqlMigrationResourceOutput) String ¶ added in v0.399.0
func (x *SqlMigrationResource_SqlMigrationResourceOutput) String() string
type StatusRequest ¶
type StatusRequest struct { ProvisioningToken string `protobuf:"bytes,1,opt,name=provisioning_token,json=provisioningToken,proto3" json:"provisioning_token,omitempty"` // The set of desired_resources used to initiate this provisioning request // We need this as input here, so we can populate any resource fields in them // when the provisioning finishes DesiredResources []*Resource `protobuf:"bytes,2,rep,name=desired_resources,json=desiredResources,proto3" json:"desired_resources,omitempty"` // contains filtered or unexported fields }
func (*StatusRequest) Descriptor
deprecated
func (*StatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatusRequest.ProtoReflect.Descriptor instead.
func (*StatusRequest) GetDesiredResources ¶ added in v0.368.0
func (x *StatusRequest) GetDesiredResources() []*Resource
func (*StatusRequest) GetProvisioningToken ¶
func (x *StatusRequest) GetProvisioningToken() string
func (*StatusRequest) ProtoMessage ¶
func (*StatusRequest) ProtoMessage()
func (*StatusRequest) ProtoReflect ¶
func (x *StatusRequest) ProtoReflect() protoreflect.Message
func (*StatusRequest) Reset ¶
func (x *StatusRequest) Reset()
func (*StatusRequest) String ¶
func (x *StatusRequest) String() string
type StatusResponse ¶
type StatusResponse struct { // Types that are assignable to Status: // // *StatusResponse_Running // *StatusResponse_Success Status isStatusResponse_Status `protobuf_oneof:"status"` // contains filtered or unexported fields }
func (*StatusResponse) Descriptor
deprecated
func (*StatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead.
func (*StatusResponse) GetRunning ¶
func (x *StatusResponse) GetRunning() *StatusResponse_ProvisioningRunning
func (*StatusResponse) GetStatus ¶
func (m *StatusResponse) GetStatus() isStatusResponse_Status
func (*StatusResponse) GetSuccess ¶
func (x *StatusResponse) GetSuccess() *StatusResponse_ProvisioningSuccess
func (*StatusResponse) ProtoMessage ¶
func (*StatusResponse) ProtoMessage()
func (*StatusResponse) ProtoReflect ¶
func (x *StatusResponse) ProtoReflect() protoreflect.Message
func (*StatusResponse) Reset ¶
func (x *StatusResponse) Reset()
func (*StatusResponse) String ¶
func (x *StatusResponse) String() string
type StatusResponse_ProvisioningFailed ¶
type StatusResponse_ProvisioningFailed struct { ErrorMessage string `protobuf:"bytes,1,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // contains filtered or unexported fields }
func (*StatusResponse_ProvisioningFailed) Descriptor
deprecated
func (*StatusResponse_ProvisioningFailed) Descriptor() ([]byte, []int)
Deprecated: Use StatusResponse_ProvisioningFailed.ProtoReflect.Descriptor instead.
func (*StatusResponse_ProvisioningFailed) GetErrorMessage ¶
func (x *StatusResponse_ProvisioningFailed) GetErrorMessage() string
func (*StatusResponse_ProvisioningFailed) ProtoMessage ¶
func (*StatusResponse_ProvisioningFailed) ProtoMessage()
func (*StatusResponse_ProvisioningFailed) ProtoReflect ¶
func (x *StatusResponse_ProvisioningFailed) ProtoReflect() protoreflect.Message
func (*StatusResponse_ProvisioningFailed) Reset ¶
func (x *StatusResponse_ProvisioningFailed) Reset()
func (*StatusResponse_ProvisioningFailed) String ¶
func (x *StatusResponse_ProvisioningFailed) String() string
type StatusResponse_ProvisioningRunning ¶
type StatusResponse_ProvisioningRunning struct {
// contains filtered or unexported fields
}
func (*StatusResponse_ProvisioningRunning) Descriptor
deprecated
func (*StatusResponse_ProvisioningRunning) Descriptor() ([]byte, []int)
Deprecated: Use StatusResponse_ProvisioningRunning.ProtoReflect.Descriptor instead.
func (*StatusResponse_ProvisioningRunning) ProtoMessage ¶
func (*StatusResponse_ProvisioningRunning) ProtoMessage()
func (*StatusResponse_ProvisioningRunning) ProtoReflect ¶
func (x *StatusResponse_ProvisioningRunning) ProtoReflect() protoreflect.Message
func (*StatusResponse_ProvisioningRunning) Reset ¶
func (x *StatusResponse_ProvisioningRunning) Reset()
func (*StatusResponse_ProvisioningRunning) String ¶
func (x *StatusResponse_ProvisioningRunning) String() string
type StatusResponse_ProvisioningSuccess ¶
type StatusResponse_ProvisioningSuccess struct { // Some fields in the resources might have been populated // during the provisioning. The new state is returned here UpdatedResources []*Resource `protobuf:"bytes,1,rep,name=updated_resources,json=updatedResources,proto3" json:"updated_resources,omitempty"` // contains filtered or unexported fields }
func (*StatusResponse_ProvisioningSuccess) Descriptor
deprecated
func (*StatusResponse_ProvisioningSuccess) Descriptor() ([]byte, []int)
Deprecated: Use StatusResponse_ProvisioningSuccess.ProtoReflect.Descriptor instead.
func (*StatusResponse_ProvisioningSuccess) GetUpdatedResources ¶ added in v0.368.0
func (x *StatusResponse_ProvisioningSuccess) GetUpdatedResources() []*Resource
func (*StatusResponse_ProvisioningSuccess) ProtoMessage ¶
func (*StatusResponse_ProvisioningSuccess) ProtoMessage()
func (*StatusResponse_ProvisioningSuccess) ProtoReflect ¶
func (x *StatusResponse_ProvisioningSuccess) ProtoReflect() protoreflect.Message
func (*StatusResponse_ProvisioningSuccess) Reset ¶
func (x *StatusResponse_ProvisioningSuccess) Reset()
func (*StatusResponse_ProvisioningSuccess) String ¶
func (x *StatusResponse_ProvisioningSuccess) String() string
type StatusResponse_Running ¶
type StatusResponse_Running struct {
Running *StatusResponse_ProvisioningRunning `protobuf:"bytes,1,opt,name=running,proto3,oneof"`
}
type StatusResponse_Success ¶
type StatusResponse_Success struct {
Success *StatusResponse_ProvisioningSuccess `protobuf:"bytes,2,opt,name=success,proto3,oneof"`
}