Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReasonCompleted ¶
type ReasonCompleted string
ReasonCompleted represents specific reasons for the 'Completed' condition type.
const ( // ReasonVirtualMachineNotFound is a ReasonCompleted indicating that the specified virtual machine is absent. ReasonVirtualMachineNotFound ReasonCompleted = "VirtualMachineNotFound" // ReasonNotApplicableForRunPolicy is a ReasonCompleted indicating that the specified operation type is not applicable for the virtual machine runPolicy. ReasonNotApplicableForRunPolicy ReasonCompleted = "NotApplicableForVirtualMachineRunPolicy" // ReasonNotApplicableForVMPhase is a ReasonCompleted indicating that the specified operation type is not applicable for the virtual machine phase. ReasonNotApplicableForVMPhase ReasonCompleted = "NotApplicableForVirtualMachinePhase" // ReasonOtherOperationsAreInProgress is a ReasonCompleted indicating that there are other operations in progress. ReasonOtherOperationsAreInProgress ReasonCompleted = "OtherOperationsAreInProgress" // ReasonRestartInProgress is a ReasonCompleted indicating that the restart signal has been sent and restart is in progress. ReasonRestartInProgress ReasonCompleted = "RestartInProgress" // ReasonStartInProgress is a ReasonCompleted indicating that the start signal has been sent and start is in progress. ReasonStartInProgress ReasonCompleted = "StartInProgress" // ReasonStopInProgress is a ReasonCompleted indicating that the stop signal has been sent and stop is in progress. ReasonStopInProgress ReasonCompleted = "StopInProgress" // ReasonMigrationInProgress is a ReasonCompleted indicating that the migrate signal has been sent and stop is in progress. ReasonMigrationInProgress ReasonCompleted = "MigrationInProgress" // ReasonOperationFailed is a ReasonCompleted indicating that operation has failed. ReasonOperationFailed ReasonCompleted = "OperationFailed" // ReasonOperationCompleted is a ReasonCompleted indicating that operation is completed. ReasonOperationCompleted ReasonCompleted = "OperationCompleted" )
func (ReasonCompleted) String ¶
func (r ReasonCompleted) String() string
type ReasonSignalSent ¶
type ReasonSignalSent string
ReasonCompleted represents specific reasons for the 'SignalSent' condition type.
const ( // ReasonSignalSentError is a ReasonCompleted indicating an error occurred while sending powerstate signal to the VM. ReasonSignalSentError ReasonSignalSent = "SignalSentError" // ReasonSignalSentSuccess is a ReasonCompleted indicating that signal is sent to the VM. ReasonSignalSentSuccess ReasonSignalSent = "SignalSentSuccess" )
func (ReasonSignalSent) String ¶
func (r ReasonSignalSent) String() string
Click to show internal directories.
Click to hide internal directories.