v1

package
v0.5.0-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2021 License: Apache-2.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

View Source
const (
	VolumeKind                       = "Volume"
	AvailableCapacityKind            = "AvailableCapacity"
	AvailableCapacityReservationKind = "AvailableCapacityReservation"
	LVGKind                          = "LogicalVolumeGroup"
	DriveKind                        = "Drive"
	CSIBMNodeKind                    = "Node"

	Version            = "v1"
	CSICRsGroupVersion = "csi-baremetal.dell.com"
	APIV1Version       = "csi-baremetal.dell.com/v1"

	// CSI statuses
	Creating    = "CREATING"
	Created     = "CREATED"
	VolumeReady = "VOLUME_READY"
	Published   = "PUBLISHED"
	Removing    = "REMOVING"
	Removed     = "REMOVED"
	Failed      = "FAILED"
	Empty       = ""
	Resizing    = "RESIZING"
	Resized     = "RESIZED"

	// Health statuses
	HealthUnknown = "UNKNOWN"
	HealthGood    = "GOOD"
	HealthSuspect = "SUSPECT"
	HealthBad     = "BAD"

	// TODO need to split constants by different packages
	// Drive status
	DriveStatusOnline  = "ONLINE"
	DriveStatusOffline = "OFFLINE"

	// Drive Usage status
	DriveUsageInUse     = "IN_USE"
	DriveUsageReleasing = "RELEASING"
	DriveUsageReleased  = "RELEASED"
	DriveUsageFailed    = "FAILED"
	DriveUsageRemoving  = "REMOVING"
	DriveUsageRemoved   = "REMOVED"

	// Drive type
	DriveTypeHDD  = "HDD"
	DriveTypeSSD  = "SSD"
	DriveTypeNVMe = "NVME"

	// Drive annotations
	DriveAnnotationRemoval            = "removal"
	DriveAnnotationRemovalReady       = "ready"
	DriveAnnotationVolumeStatusPrefix = "status"
	// Deprecated annotations
	DriveAnnotationReplacement = "replacement"

	// Volume operational status
	OperationalStatusOperative   = "OPERATIVE"
	OperationalStatusInoperative = "INOPERATIVE"
	OperationalStatusStaging     = "STAGING"
	OperationalStatusMissing     = "MISSING"
	OperationalStatusMaintenance = "MAINTENANCE"
	OperationalStatusUnknown     = "UNKNOWN"

	// Volume Usage status
	VolumeUsageInUse     = DriveUsageInUse
	VolumeUsageReleasing = DriveUsageReleasing
	VolumeUsageReleased  = DriveUsageReleased
	VolumeUsageFailed    = DriveUsageFailed

	// Release Volume annotations
	VolumeAnnotationRelease       = "release"
	VolumeAnnotationReleaseDone   = "done"
	VolumeAnnotationReleaseFailed = "failed"
	VolumeAnnotationReleaseStatus = "status"

	//Volume expansion annotations
	VolumePreviousStatus   = "expansion/previous-status"
	VolumePreviousCapacity = "expansion/previous-capacity"
	// TODO Mount status?
	// Volume mode
	ModeRAW = "RAW"
	ModeFS  = "FS"

	//LVG annotations
	LVGFreeSpaceAnnotation = "lvg/free-space"

	// Volume location type
	LocationTypeDrive = "DRIVE"
	LocationTypeLVM   = "LVM"
	LocationTypeNVMe  = "NVME"

	// Available Capacity Reservation statuses
	ReservationRequested = "REQUESTED"
	ReservationConfirmed = "RESERVED"
	ReservationRejected  = "REJECTED"
	ReservationCancelled = "CANCELLED"

	// CSI StorageClass
	// For volumes with storage class 'ANY' CSI will pick any AC except LVG AC
	StorageClassAny       = "ANY"
	StorageClassHDD       = "HDD"
	StorageClassSSD       = "SSD"
	StorageClassNVMe      = "NVME"
	StorageClassHDDLVG    = "HDDLVG"
	StorageClassSSDLVG    = "SSDLVG"
	StorageClassNVMeLVG   = "NVMELVG"
	StorageClassSystemLVG = "SYSLVG"

	LocateStart  = int32(0)
	LocateStop   = int32(1)
	LocateStatus = int32(2)

	LocateStatusOn  = int32(1)
	LocateStatusOff = int32(0)

	DockerImageKernelVersion = "5.4"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
Package acrcrd contains API Schema definitions for the available capacity reservation v1 API group +groupName=csi-baremetal.dell.com +versionName=v1
Package acrcrd contains API Schema definitions for the available capacity reservation v1 API group +groupName=csi-baremetal.dell.com +versionName=v1
Package accrd contains API Schema definitions for the available capacity v1 API group +groupName=csi-baremetal.dell.com +versionName=v1
Package accrd contains API Schema definitions for the available capacity v1 API group +groupName=csi-baremetal.dell.com +versionName=v1
Package drivecrd contains API Schema definitions for the drive v1 API group +groupName=csi-baremetal.dell.com +versionName=v1
Package drivecrd contains API Schema definitions for the drive v1 API group +groupName=csi-baremetal.dell.com +versionName=v1
Package lvgcrd contains API Schema definitions for the LogicalVolumeGroup v1 API group +groupName=csi-baremetal.dell.com +versionName=v1
Package lvgcrd contains API Schema definitions for the LogicalVolumeGroup v1 API group +groupName=csi-baremetal.dell.com +versionName=v1
Package nodecrd contains API Schema definitions for the csi node v1 API group +groupName=csi-baremetal.dell.com +versionName=v1
Package nodecrd contains API Schema definitions for the csi node v1 API group +groupName=csi-baremetal.dell.com +versionName=v1
Package volumecrd contains API Schema definitions for the volume v1 API group +groupName=csi-baremetal.dell.com +versionName=v1
Package volumecrd contains API Schema definitions for the volume v1 API group +groupName=csi-baremetal.dell.com +versionName=v1

Jump to

Keyboard shortcuts

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