Versions in this module Expand all Collapse all v0 v0.0.1 Sep 26, 2025 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 + DeleteFloatingIP func(d *Driver, floatingIP *FloatingIP) error + DeleteInstance func(d *Driver) error + DeleteKeyPair func(d *Driver, name string) error + GetFlavorID func(d *Driver) (string, error) + GetFloatingIP func(d *Driver, ip string) (*FloatingIP, 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) + GetServerGroupID func(d *Driver) (string, error) + InitBlockStorageClient func(d *Driver) error + InitComputeClient func(d *Driver) error + InitNetworkClient func(d *Driver) error + RestartInstance func(d *Driver) error + StartInstance func(d *Driver) error + StopInstance func(d *Driver) error + VolumeAttach func(d *Driver) (string, error) + VolumeCreate func(d *Driver) (string, error) + WaitForInstanceStatus func(d *Driver, status string) error + WaitForVolumeStatus func(d *Driver, status string) error + type Driver struct + ActiveTimeout int + ApplicationCredentialId string + ApplicationCredentialName string + ApplicationCredentialSecret string + AuthUrl string + AvailabilityZone string + BootFromVolume bool + 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 + ServerGroupId string + ServerGroupName string + TenantDomainId string + TenantDomainName string + TenantId string + TenantName string + UserData []byte + UserDomainId string + UserDomainName string + UserId string + Username string + VolumeDevicePath string + VolumeId string + VolumeName string + VolumeSize int + VolumeType 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) 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 + func (d *Driver) UnmarshalJSON(data []byte) error + type FloatingIP struct + Id string + Ip string + MachineId string + NetworkId string + Pool string + PortId string + type GenericClient struct + BlockStorage *gophercloud.ServiceClient + Compute *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) DeleteFloatingIP(d *Driver, floatingIP *FloatingIP) 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) GetFloatingIP(d *Driver, ip string) (*FloatingIP, 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) GetServerGroupID(d *Driver) (string, error) + func (c *GenericClient) InitBlockStorageClient(d *Driver) error + func (c *GenericClient) InitComputeClient(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) VolumeAttach(d *Driver) (string, error) + func (c *GenericClient) VolumeCreate(d *Driver) (string, error) + func (c *GenericClient) WaitForInstanceStatus(d *Driver, status string) error + func (c *GenericClient) WaitForVolumeStatus(d *Driver, status string) error + type IPAddress struct + Address string + AddressType string + Mac string + Network string + Version int