vmbdacondition

package
v1.11.1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// BlockDeviceReady signifies that the block device is ready to be hot-plugged, allowing the hot-plug process to start.
	BlockDeviceReady BlockDeviceReadyReason = "BlockDeviceReady"
	// BlockDeviceNotReady signifies that the block device is not ready, preventing the hot-plug process from starting.
	BlockDeviceNotReady BlockDeviceReadyReason = "BlockDeviceNotReady"

	// VirtualMachineReady signifies that the virtual machine is ready for hot-plugging a disk, allowing the hot-plug process to start.
	VirtualMachineReady VirtualMachineReadyReason = "VirtualMachineReady"
	// VirtualMachineNotReady signifies that the virtual machine is not ready, preventing the hot-plug process from starting.
	VirtualMachineNotReady VirtualMachineReadyReason = "VirtualMachineNotReady"

	// Attached signifies that the virtual disk is successfully hot-plugged into the virtual machine.
	Attached AttachedReason = "Attached"
	// NotAttached signifies that the virtual disk is not yet hot-plugged into the virtual machine.
	NotAttached AttachedReason = "NotAttached"
	// AttachmentRequestSent signifies that the attachment request has been sent and the hot-plug process has started.
	AttachmentRequestSent AttachedReason = "AttachmentRequestSent"
	// Conflict indicates that virtual disk is already attached to the virtual machine:
	// Either there is another `VirtualMachineBlockDeviceAttachment` with the same virtual machine and virtual disk to be hot-plugged.
	// or the virtual disk is already attached to the virtual machine spec.
	// Only the one that was created or started sooner can be processed.
	Conflict AttachedReason = "Conflict"
	// DeviceNotAvailableOnNode indicates that the block device's PersistentVolume is not available on the node where the virtual machine is running.
	DeviceNotAvailableOnNode AttachedReason = "DeviceNotAvailableOnNode"
	// BlockedByMigration indicates that a block device cannot be hot-plugged while the virtual machine is migrating.
	BlockedByMigration AttachedReason = "BlockedByMigration"

	// CapacityAvailable signifies that the capacity not reached and attaching available.
	CapacityAvailable DiskAttachmentCapacityAvailableReason = "CapacityAvailable"
	// CapacityReached signifies that the capacity reached and attaching not available.
	CapacityReached DiskAttachmentCapacityAvailableReason = "CapacityReached"
	// CapacityUnknown represents unknown condition state
	CapacityUnknown DiskAttachmentCapacityAvailableReason = "CapacityUnknown"

	// DetachPending indicates that the block device is still being detached from the virtual machine.
	DetachPending TerminatingReason = "DetachPending"
	// TerminatingBlockedByMigration indicates that the block device cannot be detached while the virtual machine is migrating.
	// The value repeats the AttachedReason of the same name on purpose: the reasons belong to different condition types.
	TerminatingBlockedByMigration TerminatingReason = "BlockedByMigration"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AttachedReason

type AttachedReason string

AttachedReason represents the various reasons for the `Attached` condition type.

func (AttachedReason) String

func (t AttachedReason) String() string

type BlockDeviceReadyReason

type BlockDeviceReadyReason string

BlockDeviceReadyReason represents the various reasons for the `BlockDeviceReady` condition type.

func (BlockDeviceReadyReason) String

func (t BlockDeviceReadyReason) String() string

type DiskAttachmentCapacityAvailableReason

type DiskAttachmentCapacityAvailableReason string

DiskAttachmentCapacityAvailableReason represent the various reasons for the `DiskAttachmentCapacityAvailableType` condition type.

func (DiskAttachmentCapacityAvailableReason) String

type TerminatingReason added in v1.11.1

type TerminatingReason string

TerminatingReason represents the various reasons for the `Terminating` condition type.

func (TerminatingReason) String added in v1.11.1

func (t TerminatingReason) String() string

type Type

type Type string

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

const (
	// BlockDeviceReadyType indicates that the block device (for example, a `VirtualDisk`) is ready to be hot-plugged.
	BlockDeviceReadyType Type = "BlockDeviceReady"
	// VirtualMachineReadyType indicates that the virtual machine is ready for hot-plugging a block device.
	VirtualMachineReadyType Type = "VirtualMachineReady"
	// AttachedType indicates that the block device is hot-plugged into the virtual machine.
	AttachedType Type = "Attached"
	// DiskAttachmentCapacityAvailableType indicates that the entity has not yet reached its predefined limit for block device attachments.
	DiskAttachmentCapacityAvailableType Type = "DiskAttachmentCapacityAvailableType"
	// TerminatingType indicates that the VirtualMachineBlockDeviceAttachment is being deleted and reports what the deletion is waiting for.
	TerminatingType Type = "Terminating"
)

func (Type) String

func (t Type) String() string

type VirtualMachineReadyReason

type VirtualMachineReadyReason string

VirtualMachineReadyReason represents the various reasons for the `VirtualMachineReady` condition type.

func (VirtualMachineReadyReason) String

func (t VirtualMachineReadyReason) String() string

Jump to

Keyboard shortcuts

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