vmbdacondition

package
v0.0.0-...-ef97745 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2024 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"

	// 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"
)

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 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"
)

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