Documentation ¶
Index ¶
- func AttachVolumeCinder(osProvider *gophercloud.ProviderClient, volumeID, serverID, mountpoint string) error
- func AttachVolumeNova(osProvider *gophercloud.ProviderClient, volumeID, serverID string) error
- func DetachVolumeCinder(osProvider *gophercloud.ProviderClient, volumeID string, force bool) error
- func DetachVolumeNova(osProvider *gophercloud.ProviderClient, volumeID, serverID string) error
- func GetLB(osProvider *gophercloud.ProviderClient) (map[string]loadbalancers.LoadBalancer, map[string]listeners.Listener, ...)
- func GetOpenStackClient(context string) (*gophercloud.ProviderClient, string, error)
- func GetServer(osProvider *gophercloud.ProviderClient) (map[string]servers.Server, error)
- func GetVolumeAttachmentsForServerNova(osProvider *gophercloud.ProviderClient, servers map[string]servers.Server) (map[string]*NovaVolumeAttachments, error)
- func GetVolumes(osProvider *gophercloud.ProviderClient) (map[string]volumes.Volume, error)
- type NovaVolumeAttachments
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttachVolumeCinder ¶ added in v0.0.8
func AttachVolumeCinder(osProvider *gophercloud.ProviderClient, volumeID, serverID, mountpoint string) error
func AttachVolumeNova ¶ added in v0.0.8
func AttachVolumeNova(osProvider *gophercloud.ProviderClient, volumeID, serverID string) error
func DetachVolumeCinder ¶
func DetachVolumeCinder(osProvider *gophercloud.ProviderClient, volumeID string, force bool) error
func DetachVolumeNova ¶
func DetachVolumeNova(osProvider *gophercloud.ProviderClient, volumeID, serverID string) error
func GetLB ¶
func GetLB(osProvider *gophercloud.ProviderClient) (map[string]loadbalancers.LoadBalancer, map[string]listeners.Listener, map[string]pools.Pool, map[string]pools.Member, map[string]monitors.Monitor, map[string]floatingips.FloatingIP, error)
func GetOpenStackClient ¶
func GetOpenStackClient(context string) (*gophercloud.ProviderClient, string, error)
func GetServer ¶
func GetServer(osProvider *gophercloud.ProviderClient) (map[string]servers.Server, error)
func GetVolumeAttachmentsForServerNova ¶ added in v0.0.8
func GetVolumeAttachmentsForServerNova(osProvider *gophercloud.ProviderClient, servers map[string]servers.Server) (map[string]*NovaVolumeAttachments, error)
func GetVolumes ¶
func GetVolumes(osProvider *gophercloud.ProviderClient) (map[string]volumes.Volume, error)
Types ¶
type NovaVolumeAttachments ¶ added in v0.0.8
type NovaVolumeAttachments struct {
VolumeAttachments []*novaAttachment `json:"volumeAttachments"`
}
func GetVolumeAttachmentsNova ¶ added in v0.0.8
func GetVolumeAttachmentsNova(osProvider *gophercloud.ProviderClient, serverID string) (*NovaVolumeAttachments, error)
Click to show internal directories.
Click to hide internal directories.