Documentation ¶
Index ¶
- func AttachNetworkToOpts(opts *servers.CreateOpts, n []networks.Network)
- func AttachVolume(client *gophercloud.ServiceClient, volume *volumes.Volume, ...)
- func CreateServer(client *gophercloud.ServiceClient, serverName, imageName, flavorName string, ...) *servers.Server
- func CreateServerWithOptions(client *gophercloud.ServiceClient, opts servers.CreateOpts) *servers.Server
- func CreateVolume(client *gophercloud.ServiceClient, volumeName string) *volumes.Volume
- func DeleteServer(client *gophercloud.ServiceClient, serverId string)
- func FindServerByExactName(client *gophercloud.ServiceClient, name string) (servers.Server, error)
- func FindServersByName(client *gophercloud.ServiceClient, name string) []servers.Server
- func GetAllServers(client *gophercloud.ServiceClient) []servers.Server
- func GetBlockStorageClient() *gophercloud.ServiceClient
- func GetOSClient() *gophercloud.ServiceClient
- func ListAllKeypairs(client *gophercloud.ServiceClient)
- func ListServersInCurrentTenant(client *gophercloud.ServiceClient, t string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttachNetworkToOpts ¶
func AttachNetworkToOpts(opts *servers.CreateOpts, n []networks.Network)
func AttachVolume ¶
func AttachVolume(client *gophercloud.ServiceClient, volume *volumes.Volume, server *servers.Server)
func CreateServer ¶
func CreateServer(client *gophercloud.ServiceClient, serverName, imageName, flavorName string, n []networks.Network) *servers.Server
func CreateServerWithOptions ¶
func CreateServerWithOptions(client *gophercloud.ServiceClient, opts servers.CreateOpts) *servers.Server
func CreateVolume ¶
func CreateVolume(client *gophercloud.ServiceClient, volumeName string) *volumes.Volume
func DeleteServer ¶
func DeleteServer(client *gophercloud.ServiceClient, serverId string)
func FindServerByExactName ¶
func FindServerByExactName(client *gophercloud.ServiceClient, name string) (servers.Server, error)
FindServerByExactName will search the current tenant for servers matching that name, if more than one server is found an error will be returned to indicate that no unique server could be retrieved. (searching by ID would be required)
func FindServersByName ¶
func FindServersByName(client *gophercloud.ServiceClient, name string) []servers.Server
func GetAllServers ¶
func GetAllServers(client *gophercloud.ServiceClient) []servers.Server
func GetBlockStorageClient ¶
func GetBlockStorageClient() *gophercloud.ServiceClient
func GetOSClient ¶
func GetOSClient() *gophercloud.ServiceClient
func ListAllKeypairs ¶
func ListAllKeypairs(client *gophercloud.ServiceClient)
func ListServersInCurrentTenant ¶
func ListServersInCurrentTenant(client *gophercloud.ServiceClient, t string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.