Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultCreateInstanceWait = time.Minute * 2 DefaultRetryCount = 3 ClusterNamePrefix = "K8S-APP" )
Variables ¶
This section is empty.
Functions ¶
func GeneateName ¶
Types ¶
type CreateInstancesOption ¶
type Interface ¶
type Interface interface { CreateInstances(*CreateInstancesOption) ([]*Instance, error) DeleteInstances(instanceID []string) error GetInstance(string) (*Instance, error) StopInstances(...string) error }
func NewQingCloudInstanceService ¶
func NewQingCloudInstanceService(instance *service.InstanceService, job *service.JobService) Interface
Click to show internal directories.
Click to hide internal directories.