Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAvailablePlugins ¶ added in v0.2.2
func GetAvailablePlugins() []string
func IsVmbasedProviders ¶ added in v0.2.2
Types ¶
type ProviderInterface ¶
type ProviderInterface interface {
// cluster
// Parse package and conf into cluster which clusterManager will register into db.
ParseClusterConf(ctx context.Context, versionId, runtimeId, conf string, clusterWrapper *models.ClusterWrapper) error
SplitJobIntoTasks(ctx context.Context, job *models.Job) (*models.TaskLayer, error)
HandleSubtask(ctx context.Context, task *models.Task) error
WaitSubtask(ctx context.Context, task *models.Task) error
DescribeSubnets(ctx context.Context, req *pb.DescribeSubnetsRequest) (*pb.DescribeSubnetsResponse, error)
CheckResource(ctx context.Context, clusterWrapper *models.ClusterWrapper) error
DescribeVpc(ctx context.Context, runtimeId, vpcId string) (*models.Vpc, error)
DescribeClusterDetails(ctx context.Context, cluster *models.ClusterWrapper) (*models.ClusterWrapper, error)
// runtime
ValidateRuntime(ctx context.Context, runtimeId, zone string, runtimeCredential *models.RuntimeCredential, needCreate bool) error
DescribeRuntimeProviderZones(ctx context.Context, runtimeCredential *models.RuntimeCredential) ([]string, error)
}
Click to show internal directories.
Click to hide internal directories.