vmcondition

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2026 License: Apache-2.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentReadyReason added in v1.4.0

type AgentReadyReason string
const (
	ReasonAgentReady    AgentReadyReason = "AgentReady"
	ReasonAgentNotReady AgentReadyReason = "AgentNotReady"
)

func (AgentReadyReason) String added in v1.4.0

func (r AgentReadyReason) String() string

type AgentVersionNotSupportedReason added in v1.4.0

type AgentVersionNotSupportedReason string
const (
	ReasonAgentSupported    AgentVersionNotSupportedReason = "AgentVersionSupported"
	ReasonAgentNotSupported AgentVersionNotSupportedReason = "AgentVersionNotSupported"
)

func (AgentVersionNotSupportedReason) String added in v1.4.0

type AwaitingRestartToApplyConfigurationReason added in v1.4.0

type AwaitingRestartToApplyConfigurationReason string
const (
	ReasonRestartAwaitingUnexpectedState     AwaitingRestartToApplyConfigurationReason = "RestartAwaitingUnexpectedState"
	ReasonRestartAwaitingChangesExist        AwaitingRestartToApplyConfigurationReason = "RestartAwaitingChangesExist"
	ReasonRestartAwaitingVMClassChangesExist AwaitingRestartToApplyConfigurationReason = "RestartAwaitingVMClassChangesExist"
	ReasonRestartNoNeed                      AwaitingRestartToApplyConfigurationReason = "NoNeedRestart"
)

func (AwaitingRestartToApplyConfigurationReason) String added in v1.4.0

type BlockDevicesReadyReason added in v1.4.0

type BlockDevicesReadyReason string
const (
	ReasonBlockDevicesReady           BlockDevicesReadyReason = "BlockDevicesReady"
	ReasonWaitingForProvisioningToPVC BlockDevicesReadyReason = "WaitingForTheProvisioningToPersistentVolumeClaim"
	ReasonBlockDevicesNotReady        BlockDevicesReadyReason = "BlockDevicesNotReady"
	// ReasonBlockDeviceLimitExceeded indicates that the limit for attaching block devices has been exceeded
	ReasonBlockDeviceLimitExceeded BlockDevicesReadyReason = "BlockDeviceLimitExceeded"
)

func (BlockDevicesReadyReason) String added in v1.4.0

func (r BlockDevicesReadyReason) String() string

type ClassReadyReason added in v1.4.0

type ClassReadyReason string
const (
	ReasonClassReady    ClassReadyReason = "VirtualMachineClassReady"
	ReasonClassNotReady ClassReadyReason = "VirtualMachineClassNotReady"
)

func (ClassReadyReason) String added in v1.4.0

func (r ClassReadyReason) String() string

type ConfigurationAppliedReason added in v1.4.0

type ConfigurationAppliedReason string
const (
	ReasonConfigurationApplied    ConfigurationAppliedReason = "ConfigurationApplied"
	ReasonConfigurationNotApplied ConfigurationAppliedReason = "ConfigurationNotApplied"
)

func (ConfigurationAppliedReason) String added in v1.4.0

type FilesystemFrozenReason added in v1.4.0

type FilesystemFrozenReason string
const (
	// ReasonFilesystemFrozen indicates that virtual machine's filesystem has been successfully frozen.
	ReasonFilesystemFrozen FilesystemFrozenReason = "Frozen"
)

func (FilesystemFrozenReason) String added in v1.4.0

func (r FilesystemFrozenReason) String() string

type FirmwareUpToDateReason added in v1.4.0

type FirmwareUpToDateReason string
const (
	ReasonFirmwareUpToDate  FirmwareUpToDateReason = "FirmwareUpToDate"
	ReasonFirmwareOutOfDate FirmwareUpToDateReason = "FirmwareOutOfDate"
)

func (FirmwareUpToDateReason) String added in v1.4.0

func (r FirmwareUpToDateReason) String() string

type IpAddressReadyReason added in v1.4.0

type IpAddressReadyReason string
const (
	ReasonIPAddressReady        IpAddressReadyReason = "VirtualMachineIPAddressReady"
	ReasonIPAddressNotReady     IpAddressReadyReason = "VirtualMachineIPAddressNotReady"
	ReasonIPAddressNotAssigned  IpAddressReadyReason = "VirtualMachineIPAddressNotAssigned"
	ReasonIPAddressNotAvailable IpAddressReadyReason = "VirtualMachineIPAddressNotAvailable"
)

func (IpAddressReadyReason) String added in v1.4.0

func (r IpAddressReadyReason) String() string

type MacAddressReadyReason added in v1.4.0

type MacAddressReadyReason string
const (
	ReasonMACAddressReady        MacAddressReadyReason = "VirtualMachineMACAddressReady"
	ReasonMACAddressNotReady     MacAddressReadyReason = "VirtualMachineMACAddressNotReady"
	ReasonMACAddressNotAvailable MacAddressReadyReason = "VirtualMachineMACAddressNotAvailable"
)

func (MacAddressReadyReason) String added in v1.4.0

func (r MacAddressReadyReason) String() string

type MaintenanceReason added in v1.4.0

type MaintenanceReason string
const (
	ReasonMaintenanceRestore MaintenanceReason = "RestoreInProgress"
)

func (MaintenanceReason) String added in v1.4.0

func (r MaintenanceReason) String() string

type MigratableReason added in v1.4.0

type MigratableReason string
const (
	ReasonMigratable             MigratableReason = "VirtualMachineMigratable"
	ReasonNonMigratable          MigratableReason = "VirtualMachineNonMigratable"
	ReasonDisksNotMigratable     MigratableReason = "VirtualMachineDisksNotMigratable"
	ReasonDisksShouldBeMigrating MigratableReason = "VirtualMachineDisksShouldBeMigrating"
)

func (MigratableReason) String added in v1.4.0

func (r MigratableReason) String() string

type MigratingReason added in v1.4.0

type MigratingReason string
const (
	ReasonMigratingPending               MigratingReason = "Pending"
	ReasonReadyToMigrate                 MigratingReason = "ReadyToMigrate"
	ReasonMigratingInProgress            MigratingReason = "InProgress"
	ReasonLastMigrationFinishedWithError MigratingReason = "LastMigrationFinishedWithError"
)

func (MigratingReason) String added in v1.4.0

func (r MigratingReason) String() string

type NeedsEvictReason added in v1.4.0

type NeedsEvictReason string
const (
	// ReasonNeedsEvict indicates that the VirtualMachine should be evicting from node.
	ReasonNeedsEvict NeedsEvictReason = "NeedsEvict"
)

func (NeedsEvictReason) String added in v1.4.0

func (r NeedsEvictReason) String() string

type NetworkReadyReason added in v1.4.0

type NetworkReadyReason string
const (
	// ReasonNetworkReady indicates that the additional network interfaces in the virtual machine pod are ready.
	ReasonNetworkReady NetworkReadyReason = "NetworkReady"
	// ReasonNetworkNotReady indicates that the additional network interfaces in the virtual machine pod are not ready.
	ReasonNetworkNotReady NetworkReadyReason = "NetworkNotReady"
	// ReasonSDNModuleDisable indicates that the SDN module is disabled, which may prevent network interfaces from becoming ready.
	ReasonSDNModuleDisable NetworkReadyReason = "SDNModuleDisable"
)

func (NetworkReadyReason) String added in v1.4.0

func (r NetworkReadyReason) String() string

type ProvisioningReadyReason added in v1.4.0

type ProvisioningReadyReason string
const (
	ReasonProvisioningReady    ProvisioningReadyReason = "ProvisioningReady"
	ReasonProvisioningNotReady ProvisioningReadyReason = "ProvisioningNotReady"
)

func (ProvisioningReadyReason) String added in v1.4.0

func (r ProvisioningReadyReason) String() string

type RunningReason added in v1.4.0

type RunningReason string
const (
	ReasonVmIsNotRunning              RunningReason = "VirtualMachineNotRunning"
	ReasonVmIsRunning                 RunningReason = "VirtualMachineRunning"
	ReasonInternalVirtualMachineError RunningReason = "InternalVirtualMachineError"
	ReasonPodNotStarted               RunningReason = "PodNotStarted"
	ReasonPodTerminating              RunningReason = "PodTerminating"
	ReasonPodNotExists                RunningReason = "PodNotExists"
	ReasonPodConditionMissing         RunningReason = "PodConditionMissing"
	ReasonGuestNotRunning             RunningReason = "GuestNotRunning"
)

func (RunningReason) String added in v1.4.0

func (r RunningReason) String() string

type SizingPolicyMatchedReason added in v1.4.0

type SizingPolicyMatchedReason string
const (
	ReasonSizingPolicyNotMatched         SizingPolicyMatchedReason = "SizingPolicyNotMatched"
	ReasonVirtualMachineClassTerminating SizingPolicyMatchedReason = "VirtualMachineClassTerminating"
	ReasonVirtualMachineClassNotExists   SizingPolicyMatchedReason = "VirtualMachineClassNotExists"
)

func (SizingPolicyMatchedReason) String added in v1.4.0

func (r SizingPolicyMatchedReason) String() string

type SnapshottingReason added in v1.4.0

type SnapshottingReason string
const (
	WaitingForTheSnapshotToStart SnapshottingReason = "WaitingForTheSnapshotToStart"
	ReasonSnapshottingInProgress SnapshottingReason = "SnapshottingInProgress"
)

func (SnapshottingReason) String added in v1.4.0

func (r SnapshottingReason) String() string

type Type

type Type string
const (
	TypeIPAddressReady                      Type = "VirtualMachineIPAddressReady"
	TypeMACAddressReady                     Type = "VirtualMachineMACAddressReady"
	TypeClassReady                          Type = "VirtualMachineClassReady"
	TypeBlockDevicesReady                   Type = "BlockDevicesReady"
	TypeRunning                             Type = "Running"
	TypeMigrating                           Type = "Migrating"
	TypeMigratable                          Type = "Migratable"
	TypeProvisioningReady                   Type = "ProvisioningReady"
	TypeAgentReady                          Type = "AgentReady"
	TypeAgentVersionNotSupported            Type = "AgentVersionNotSupported"
	TypeConfigurationApplied                Type = "ConfigurationApplied"
	TypeAwaitingRestartToApplyConfiguration Type = "AwaitingRestartToApplyConfiguration"
	// TypeFilesystemFrozen indicates whether the filesystem is currently frozen, a necessary condition for creating a snapshot.
	TypeFilesystemFrozen    Type = "FilesystemFrozen"
	TypeSizingPolicyMatched Type = "SizingPolicyMatched"
	TypeSnapshotting        Type = "Snapshotting"
	// TypeFirmwareUpToDate indicates whether the firmware on the virtual machine is up to date.
	// This condition is used to determine if a migration or update is required due to changes in the firmware version.
	TypeFirmwareUpToDate Type = "FirmwareUpToDate"
	// TypeNeedsEvict indicates that the VirtualMachine should be evicting from node.
	TypeNeedsEvict Type = "NeedsEvict"
	// TypeNetworkReady indicates the state of additional network interfaces inside the virtual machine pod
	TypeNetworkReady Type = "NetworkReady"

	// TypeMaintenance indicates that the VirtualMachine is in maintenance mode.
	// During this condition, the VM remains stopped and no changes are allowed.
	TypeMaintenance Type = "Maintenance"
)

func (Type) String

func (t Type) String() string

Jump to

Keyboard shortcuts

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