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" // ReasonNotApplicableForLiveMigrationPolicy is a ReasonCompleted indicating that the specified operation type is not applicable for the virtual machine live migration policy. ReasonNotApplicableForLiveMigrationPolicy ReasonCompleted = "NotApplicableForLiveMigrationPolicy" // ReasonNotReadyToBeExecuted is a ReasonCompleted indicating that the operation is not ready to be executed. ReasonNotReadyToBeExecuted ReasonCompleted = "NotReadyToBeExecuted" // 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" // ReasonRestoreInProgress is a ReasonCompleted indicating that the restore operation is in progress. ReasonRestoreInProgress ReasonCompleted = "RestoreInProgress" // ReasonMigrationPending is a ReasonCompleted indicating that the migration process has been initiated but not yet started. ReasonMigrationPending ReasonCompleted = "MigrationPending" // ReasonMigrationPrepareTarget is a ReasonCompleted indicating that the target environment is being prepared for migration. ReasonMigrationPrepareTarget ReasonCompleted = "MigrationPrepareTarget" // ReasonMigrationTargetReady is a ReasonCompleted indicating that the target environment is ready to accept the migration. ReasonMigrationTargetReady ReasonCompleted = "MigrationTargetReady" // ReasonMigrationRunning is a ReasonCompleted indicating that the migration process is currently in progress. ReasonMigrationRunning ReasonCompleted = "MigrationRunning" // ReasonOtherMigrationInProgress is a ReasonCompleted indicating that there are other migrations in progress. ReasonOtherMigrationInProgress ReasonCompleted = "OtherMigrationInProgress" // ReasonQuotaExceeded is a completed reason that indicates the project's quota has been exceeded and the migration has been paused. ReasonQuotaExceeded ReasonCompleted = "QuotaExceeded" // 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 ReasonMaintenanceMode ¶ added in v1.0.0
type ReasonMaintenanceMode string
ReasonMaintenanceMode represents specific reasons for the 'MaintenanceMode' condition type.
const ( // ReasonMaintenanceModeEnabled is a ReasonMaintenanceMode indicating that VM is in maintenance mode for restore operation. ReasonMaintenanceModeEnabled ReasonMaintenanceMode = "MaintenanceModeEnabled" // ReasonMaintenanceModeDisabled is a ReasonMaintenanceMode indicating that VM has exited maintenance mode. ReasonMaintenanceModeDisabled ReasonMaintenanceMode = "MaintenanceModeDisabled" // ReasonMaintenanceModeFailure is a ReasonMaintenanceMode indicating that maintenance mode operation failed. ReasonMaintenanceModeFailure ReasonMaintenanceMode = "MaintenanceModeFailure" )
func (ReasonMaintenanceMode) String ¶ added in v1.0.0
func (r ReasonMaintenanceMode) String() string
type ReasonRestoreCompleted ¶ added in v1.0.0
type ReasonRestoreCompleted string
ReasonRestoreCompleted represents specific reasons for the 'RestoreCompleted' condition type.
const ( // ReasonRestoreInProgress is a ReasonRestoreCompleted indicating that the restore operation is in progress. ReasonRestoreOperationInProgress ReasonRestoreCompleted = "RestoreInProgress" // ReasonRestoreOperationCompleted is a ReasonRestoreCompleted indicating that the restore operation has completed successfully. ReasonRestoreOperationCompleted ReasonRestoreCompleted = "RestoreCompleted" // ReasonDryRunOperationCompleted is a ReasonRestoreCompleted indicating that the restore dry run operation has completed successfully. ReasonDryRunOperationCompleted ReasonRestoreCompleted = "RestoreDryRunCompleted" // ReasonRestoreOperationFailed is a ReasonRestoreCompleted indicating that operation has failed. ReasonRestoreOperationFailed ReasonRestoreCompleted = "RestoreFailed" )
func (ReasonRestoreCompleted) String ¶ added in v1.0.0
func (r ReasonRestoreCompleted) 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
type Type ¶
type Type string
const ( // TypeCompleted is a type for condition that indicates operation is complete. TypeCompleted Type = "Completed" // TypeSignalSent is a type for condition that indicates operation signal has been sent. TypeSignalSent Type = "SignalSent" // TypeRestoreCompleted is a type for condition that indicates success of restore. TypeRestoreCompleted Type = "RestoreCompleted" // TypeMaintenanceMode is a type for condition that indicates VMOP has put VM in maintenance mode. TypeMaintenanceMode Type = "MaintenanceMode" )
Click to show internal directories.
Click to hide internal directories.