services

package
v0.0.0-...-3e0a52f Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EvsAvailableStatus = "available"
	EvsAttachingStatus = "attaching"
	EvsInUseStatus     = "in-use"
)

Variables

This section is empty.

Functions

func AttachVolumeCompleted

func AttachVolumeCompleted(c *config.CloudCredentials, serverID, volumeID string) error

func CheckVolumeExists

func CheckVolumeExists(credentials *config.CloudCredentials, name string, sizeGB int) (*cloudvolumes.Volume, error)

func CreateCinderCompleted

func CreateCinderCompleted(c *config.CloudCredentials, opts *cloudvolumes.CreateOpts) (string, error)

func CreateSnapshotCompleted

func CreateSnapshotCompleted(credentials *config.CloudCredentials, name string, volumeID string) (
	*snapshots.Snapshot, error)

func CreateVolumeCompleted

func CreateVolumeCompleted(c *config.CloudCredentials, otps *cloudvolumes.CreateOpts) (string, error)

func DeleteSnapshot

func DeleteSnapshot(c *config.CloudCredentials, snapshotID string) error

func DeleteVolume

func DeleteVolume(c *config.CloudCredentials, id string) error

func DetachVolumeCompleted

func DetachVolumeCompleted(c *config.CloudCredentials, serverID, volumeID string) error

func ExpandVolume

func ExpandVolume(c *config.CloudCredentials, id string, newSize int) error

func GetServer

func GetServer(c *config.CloudCredentials, serverID string) (*serversv2.Server, error)

func GetSnapshot

func GetSnapshot(c *config.CloudCredentials, id string) (*snapshots.Snapshot, error)

func WaitForVolumeAttaching

func WaitForVolumeAttaching(c *config.CloudCredentials, volumeID string) error

func WaitSnapshotReady

func WaitSnapshotReady(c *config.CloudCredentials, snapshotID string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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