volumestate

package
v21.11.1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package volumestate defines an enum to represents Volume states life cycle

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Enum

type Enum int

Enum represents the state of a host

const (
	// Creating creating The volume is being created
	Creating Enum = iota
	// Available available	The volume is ready to attach to an instance.
	Available
	// Attaching attaching	The volume is attaching to an instance.
	Attaching
	// Detaching detaching	The volume is detaching from an instance.
	Detaching
	// Used in-use The volume is attached to an instance.
	Used
	// Deleting deleting	The volume is being deleted.
	Deleting
	// Error error cases:
	// error	A volume creation error occurred.
	// error_deleting	A volume deletion error occurred.
	// error_backing-up	A backup error occurred.
	// error_restoring	A backup restoration error occurred.
	// error_extending	An error occurred while attempting to extend a volume.
	Error
	// Unknown possible cases
	// backing-up	The volume is being backed up.
	// restoring-backup	A backup is being restored to the volume.
	// downloading	The volume is downloading an image.
	// uploading	The volume is being uploaded to an image.
	// retyping	The volume is changing type to another volume type.
	// extending	The volume is being extended.
	Unknown
)

Jump to

Keyboard shortcuts

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