Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { // cluster CreateCluster(ctx context.Context, region string, namespace string, name string, clusterInfo *types.EcsClient) error DeleteCluster(ctx context.Context, region string, namespace string, name string, clusterInfo *types.EcsClient) error // scale ScaleUp(ctx context.Context, region string, namespace string, name string, clusterInfo *types.EcsClient) error ScaleDown(ctx context.Context, region string, namespace string, name string, clusterInfo *types.EcsClient) error // callback CreateClusterCallback(ctx context.Context, region string, namespace string, name string, result *types.Callback) error ScaleUpCallback(ctx context.Context, region string, namespace string, name string, result *types.Callback) error ScaleDownCallback(ctx context.Context, region string, namespace string, name string, result *types.Callback) error DeleteClusterCallback(ctx context.Context, region string, namespace string, name string, result *types.Callback) error // logs GetClusterOperationLogs(ctx context.Context, region string, namespace string, name string) (string, error) }
Click to show internal directories.
Click to hide internal directories.