Documentation
¶
Index ¶
- type DatacenterInfo
- type DiskCreateRequest
- type Driver
- func (d *Driver) Create() error
- func (d *Driver) DriverName() string
- func (d *Driver) GetCreateFlags() []mcnflag.Flag
- func (d *Driver) GetIP() (string, error)
- func (d *Driver) GetSSHHostname() (string, error)
- func (d *Driver) GetState() (state.State, error)
- func (d *Driver) GetURL() (string, error)
- func (d *Driver) Kill() error
- func (d *Driver) PreCreateCheck() error
- func (d *Driver) Remove() error
- func (d *Driver) Restart() error
- func (d *Driver) SetConfigFromFlags(flags drivers.DriverOptions) error
- func (d *Driver) Start() error
- func (d *Driver) Stop() error
- type ImageFilter
- type ImageInfo
- type IpAddressInfo
- type KeyInfo
- type NetworkInterfaceInfo
- type OperationInfo
- type VmCreateRequest
- type VmInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatacenterInfo ¶
type DiskCreateRequest ¶
type Driver ¶
type Driver struct {
*drivers.BaseDriver
ApiKey string
Url string
VmID int
Image string
IPAddress string
Datacenter string
Memory int
Core int
CaCertPath string
PrivateKeyPath string
SSHUser string
SSHPort int
// contains filtered or unexported fields
}
func (*Driver) DriverName ¶
func (*Driver) GetCreateFlags ¶
GetCreateFlags registers the flags this driver adds to "docker hosts create"
func (*Driver) GetSSHHostname ¶
func (*Driver) PreCreateCheck ¶
func (*Driver) SetConfigFromFlags ¶
func (d *Driver) SetConfigFromFlags(flags drivers.DriverOptions) error
type ImageFilter ¶
type IpAddressInfo ¶
type NetworkInterfaceInfo ¶
type NetworkInterfaceInfo struct {
Id int `xmlrpc:"id"`
Type string `xmlrpc:"type"`
Ips []IpAddressInfo `xmlrpc:"ips"`
}
type OperationInfo ¶
type VmCreateRequest ¶
Click to show internal directories.
Click to hide internal directories.