Documentation
¶
Index ¶
- Variables
- func Initializer() func(cfg interface{}) (cloud.Cloud, error)
- type Cloud
- func (c *Cloud) DescribeInstance(instanceID string) (domain.Instance, error)
- func (c *Cloud) DescribeInstances() ([]domain.Instance, error)
- func (c *Cloud) ParseBootVolumeId(raw string) (string, error)
- func (c *Cloud) ParseRawInstanceIP(raw string) (string, error)
- func (c *Cloud) RestartInstance(instanceId string) error
- func (c *Cloud) RestoreInstance(software *models.Software, instance *models.Instance, session *models.Session, ...) (string, error)
- func (c *Cloud) RunInstance(software *models.Software, instance *models.Instance, session *models.Session, ...) (string, error)
- func (c *Cloud) StartInstance(instanceId string) error
- func (c *Cloud) StopInstance(instanceId string) error
- func (c *Cloud) TerminateInstance(instanceID string) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func Initializer ¶
Types ¶
type Cloud ¶
type Cloud struct {
// contains filtered or unexported fields
}
func (*Cloud) DescribeInstance ¶
func (*Cloud) ParseRawInstanceIP ¶
ParseRawInstanceIP 解析raw中服务器ip
func (*Cloud) RestartInstance ¶
func (*Cloud) RestoreInstance ¶
func (*Cloud) RunInstance ¶
func (*Cloud) StartInstance ¶
func (*Cloud) StopInstance ¶
func (*Cloud) TerminateInstance ¶
Click to show internal directories.
Click to hide internal directories.