-
Notifications
You must be signed in to change notification settings - Fork 0
/
events.go
60 lines (41 loc) · 2.47 KB
/
events.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
package v1alpha2
const (
// ReasonErrUnknownState is event reason that VMI has unexpected state
ReasonErrUnknownState = "UnknownState"
// ReasonErrWrongPVCSize is event reason that PVC has wrong size
ReasonErrWrongPVCSize = "WrongPVCSize"
// ReasonErrImportFailed is event reason that importer/uploader Pod is failed
ReasonErrImportFailed = "ImportFailed"
// ReasonErrGetProgressFailed is event reason about the failure of getting progress.
ReasonErrGetProgressFailed = "GetProgressFailed"
// ReasonClaimNotAvailable is event reason that VM cannot use defined claim.
ReasonClaimNotAvailable = "ClaimNotAvailable"
// ReasonClaimNotAssigned is event reason that claimed IP is not assigned in the guest VM.
ReasonClaimNotAssigned = "ClaimNotAssigned"
// ReasonCPUModelNotFound is event reason that defined cpu model not found.
ReasonCPUModelNotFound = "CPUModelNotFound"
// ReasonImportSucceeded is event reason that the import is successfully completed
ReasonImportSucceeded = "ImportSucceeded"
// ReasonImportSucceededToPVC is event reason that the import is successfully completed to PVC
ReasonImportSucceededToPVC = "ImportSucceededToPVC"
// ReasonHotplugPostponed is event reason that disk hotplug is not possible at the moment.
ReasonHotplugPostponed = "HotplugPostponed"
// ReasonVMWaitForBlockDevices is event reason that block devices used by VM are not ready yet.
ReasonVMWaitForBlockDevices = "WaitForBlockDevices"
// ReasonVMChangesApplied is event reason that changes applied from VM to underlying KVVM.
ReasonVMChangesApplied = "ChangesApplied"
// ReasonVMRestarted is event reason that VM restarted.
ReasonVMRestarted = "VMRestarted"
// ReasonVMLastAppliedSpecInvalid is event reason that JSON in last-applied-spec annotation is invalid.
ReasonVMLastAppliedSpecInvalid = "VMLastAppliedSpecInvalid"
// ReasonErrUploaderWaitDurationExpired is event reason that uploading time expired.
ReasonErrUploaderWaitDurationExpired = "UploaderWaitDurationExpired"
// ReasonErrVmNotSynced is event reason that vm is not synced.
ReasonErrVmNotSynced = "VirtualMachineNotSynced "
// ReasonErrVMOPNotPermitted is event reason that vmop is not permitted.
ReasonErrVMOPNotPermitted = "VirtualMachineOperationNotPermitted"
// ReasonErrVMOPFailed is event reason that operation is failed
ReasonErrVMOPFailed = "VirtualMachineOperationFailed"
// ReasonVMOPSucceeded is event reason that the operation is successfully completed
ReasonVMOPSucceeded = "VirtualMachineOperationSucceeded"
)