Help us shape the future of Go! Take the 2026 Go Developer Survey

openstack

package
v0.0.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

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 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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL