vdcondition

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DatasourceReady indicates that the datasource is ready for use, allowing the import process to start.
	DatasourceReady DatasourceReadyReason = "DatasourceReady"
	// ContainerRegistrySecretNotFound indicates that the container registry secret was not found, which prevents the import process from starting.
	ContainerRegistrySecretNotFound DatasourceReadyReason = "ContainerRegistrySecretNotFound"
	// ImageNotReady indicates that the `VirtualImage` datasource is not ready yet, which prevents the import process from starting.
	ImageNotReady DatasourceReadyReason = "ImageNotReady"
	// ClusterImageNotReady indicates that the `VirtualDisk` datasource is not ready, which prevents the import process from starting.
	ClusterImageNotReady DatasourceReadyReason = "ClusterImageNotReady"
	// VirtualDiskSnapshotNotReady indicates that the `VirtualDiskSnapshot` datasource is not ready, which prevents the import process from starting.
	VirtualDiskSnapshotNotReady DatasourceReadyReason = "VirtualDiskSnapshot"

	// WaitForUserUpload indicates that the `VirtualDisk` is waiting for the user to upload a datasource for the import process to continue.
	WaitForUserUpload ReadyReason = "WaitForUserUpload"
	// Provisioning indicates that the provisioning process is currently in progress.
	Provisioning ReadyReason = "Provisioning"
	// ProvisioningNotStarted indicates that the provisioning process has not started yet.
	ProvisioningNotStarted ReadyReason = "ProvisioningNotStarted"
	// WaitingForFirstConsumer indicates that the provisioning has been suspended: a created and scheduled virtual machine is awaited.
	WaitingForFirstConsumer ReadyReason = "WaitingForFirstConsumer"
	// ProvisioningFailed indicates that the provisioning process has failed.
	ProvisioningFailed ReadyReason = "ProvisioningFailed"
	// StorageClassNotReady indicates that the provisioning process pending because `StorageClass` not ready.
	StorageClassNotReady ReadyReason = "StorageClassNotReady"
	// Ready indicates that the import process is complete and the `VirtualDisk` is ready for use.
	Ready ReadyReason = "Ready"
	// Lost indicates that the underlying PersistentVolumeClaim has been lost and the `VirtualDisk` can no longer be used.
	Lost ReadyReason = "PVCLost"
	// QuotaExceeded indicates that the VirtualDisk is reached project quotas and can not be provisioned.
	QuotaExceeded ReadyReason = "QuotaExceeded"

	// ResizingNotRequested indicates that the resize operation has not been requested yet.
	ResizingNotRequested ResizedReason = "NotRequested"
	// InProgress indicates that the resize request has been detected and the operation is currently in progress.
	InProgress ResizedReason = "InProgress"
	// Resized indicates that the resize operation has been successfully completed.
	Resized ResizedReason = "Resized"
	// ResizingNotAvailable indicates that the resize operation is not available for now.
	ResizingNotAvailable SnapshottingReason = "NotAvailable"

	// SnapshottingNotRequested indicates that the snapshotting operation has been successfully started and is in progress now.
	SnapshottingNotRequested SnapshottingReason = "NotRequested"
	// Snapshotting indicates that the snapshotting operation has been successfully started and is in progress now.
	Snapshotting SnapshottingReason = "Snapshotting"
	// SnapshottingNotAvailable indicates that the snapshotting operation is not available for now.
	SnapshottingNotAvailable SnapshottingReason = "NotAvailable"

	// StorageClassReady indicates that the storage class is ready
	StorageClassReady StorageClassReadyReason = "StorageClassReady"
	// StorageClassNotFound indicates that the storage class is not ready
	StorageClassNotFound StorageClassReadyReason = "StorageClassNotFound"

	// UsedForImageCreation indicates that the VirtualDisk is used for create image.
	UsedForImageCreation InUseReason = "UsedForImageCreation"
	// AttachedToVirtualMachine indicates that the VirtualDisk is attached to VirtualMachine.
	AttachedToVirtualMachine InUseReason = "AttachedToVirtualMachine"
	// NotInUse indicates that VirtualDisk free for use.
	NotInUse InUseReason = "NotInUse"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DatasourceReadyReason

type DatasourceReadyReason string

DatasourceReadyReason represents the various reasons for the DatasourceReady condition type.

func (DatasourceReadyReason) String

func (s DatasourceReadyReason) String() string

type InUseReason

type InUseReason string

InUseReason represents the various reasons for the InUse condition type.

func (InUseReason) String

func (s InUseReason) String() string

type ReadyReason

type ReadyReason string

ReadyReason represents the various reasons for the Ready condition type.

func (ReadyReason) String

func (s ReadyReason) String() string

type ResizedReason

type ResizedReason string

ResizedReason represents the various reasons for the Resized condition type.

func (ResizedReason) String

func (s ResizedReason) String() string

type SnapshottingReason

type SnapshottingReason string

SnapshottingReason represents the various reasons for the Snapshotting condition type.

func (SnapshottingReason) String

func (s SnapshottingReason) String() string

type StorageClassReadyReason

type StorageClassReadyReason string

StorageClassReadyReason represents the various reasons for the Storageclass ready condition type.

func (StorageClassReadyReason) String

func (s StorageClassReadyReason) String() string

type Type

type Type string

Type represents the various condition types for the `VirtualDisk`.

const (
	// DatasourceReadyType indicates whether the data source (for example, a `VirtualImage`) is ready, allowing the import process for the `VirtualDisk` to start.
	DatasourceReadyType Type = "DatasourceReady"
	// ReadyType indicates whether the import process succeeded and the `VirtualDisk` is ready for use.
	ReadyType Type = "Ready"
	// ResizingType indicates whether a disk resizing operation is in progress.
	ResizingType Type = "Resizing"
	// SnapshottingType indicates whether the disk snapshotting operation is in progress.
	SnapshottingType Type = "Snapshotting"
	// StorageClassReadyType indicates whether the storage class is ready.
	StorageClassReadyType Type = "StorageClassReady"
	// InUseType indicates whether the VirtualDisk is attached to a running VirtualMachine or is being used in a process of an image creation.
	InUseType Type = "InUse"
)

func (Type) String

func (s Type) String() string

Jump to

Keyboard shortcuts

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