Versions in this module Expand all Collapse all v0 v0.16.2 Sep 2, 2019 Changes in this version + const Fixed + const Floating + func NewDriver(hostName, storePath string) drivers.Driver + type Client interface + AssignFloatingIP func(d *Driver, floatingIP *FloatingIP) error + Authenticate func(d *Driver) error + CreateInstance func(d *Driver) (string, error) + CreateKeyPair func(d *Driver, name string, publicKey string) error + DeleteInstance func(d *Driver) error + DeleteKeyPair func(d *Driver, name string) error + GetFlavorID func(d *Driver) (string, error) + GetFloatingIPPoolID func(d *Driver) (string, error) + GetFloatingIPs func(d *Driver) ([]FloatingIP, error) + GetImageID func(d *Driver) (string, error) + GetInstanceIPAddresses func(d *Driver) ([]IPAddress, error) + GetInstancePortID func(d *Driver) (string, error) + GetInstanceState func(d *Driver) (string, error) + GetNetworkID func(d *Driver) (string, error) + GetPublicKey func(keyPairName string) ([]byte, error) + GetTenantID func(d *Driver) (string, error) + InitComputeClient func(d *Driver) error + InitIdentityClient func(d *Driver) error + InitNetworkClient func(d *Driver) error + RestartInstance func(d *Driver) error + StartInstance func(d *Driver) error + StopInstance func(d *Driver) error + WaitForInstanceStatus func(d *Driver, status string) error + type Driver struct + ActiveTimeout int + AuthUrl string + AvailabilityZone string + CaCert string + ComputeNetwork bool + ConfigDrive bool + DomainID string + DomainName string + EndpointType string + ExistingKey bool + FlavorId string + FlavorName string + FloatingIpPool string + FloatingIpPoolId string + ImageId string + ImageName string + Insecure bool + IpVersion int + KeyPairName string + MachineId string + NetworkId string + NetworkName string + Password string + PrivateKeyFile string + Region string + SecurityGroups []string + TenantId string + TenantName string + UserData []byte + Username string + func NewDerivedDriver(hostName, storePath string) *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) GetMetadata() map[string]string + 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) Remove() error + func (d *Driver) Restart() error + func (d *Driver) SetClient(client Client) + func (d *Driver) SetConfigFromFlags(flags drivers.DriverOptions) error + func (d *Driver) Start() error + func (d *Driver) Stop() error + type FloatingIP struct + Id string + Ip string + MachineId string + NetworkId string + Pool string + PortId string + type GenericClient struct + Compute *gophercloud.ServiceClient + Identity *gophercloud.ServiceClient + Network *gophercloud.ServiceClient + Provider *gophercloud.ProviderClient + func (c *GenericClient) AssignFloatingIP(d *Driver, floatingIP *FloatingIP) error + func (c *GenericClient) Authenticate(d *Driver) error + func (c *GenericClient) CreateInstance(d *Driver) (string, error) + func (c *GenericClient) CreateKeyPair(d *Driver, name string, publicKey string) error + func (c *GenericClient) DeleteInstance(d *Driver) error + func (c *GenericClient) DeleteKeyPair(d *Driver, name string) error + func (c *GenericClient) GetFlavorID(d *Driver) (string, error) + func (c *GenericClient) GetFloatingIPPoolID(d *Driver) (string, error) + func (c *GenericClient) GetFloatingIPs(d *Driver) ([]FloatingIP, error) + func (c *GenericClient) GetImageID(d *Driver) (string, error) + func (c *GenericClient) GetInstanceIPAddresses(d *Driver) ([]IPAddress, error) + func (c *GenericClient) GetInstancePortID(d *Driver) (string, error) + func (c *GenericClient) GetInstanceState(d *Driver) (string, error) + func (c *GenericClient) GetNetworkID(d *Driver) (string, error) + func (c *GenericClient) GetPublicKey(keyPairName string) ([]byte, error) + func (c *GenericClient) GetServerDetail(d *Driver) (*servers.Server, error) + func (c *GenericClient) GetTenantID(d *Driver) (string, error) + func (c *GenericClient) InitComputeClient(d *Driver) error + func (c *GenericClient) InitIdentityClient(d *Driver) error + func (c *GenericClient) InitNetworkClient(d *Driver) error + func (c *GenericClient) RestartInstance(d *Driver) error + func (c *GenericClient) SetTLSConfig(d *Driver) error + func (c *GenericClient) StartInstance(d *Driver) error + func (c *GenericClient) StopInstance(d *Driver) error + func (c *GenericClient) WaitForInstanceStatus(d *Driver, status string) error + type IPAddress struct + Address string + AddressType string + Mac string + Network string + Version int