Documentation ¶
Index ¶
- func FindConditionOfType(conditions []v2vv1.VirtualMachineImportCondition, ...) *v2vv1.VirtualMachineImportCondition
- func HasSucceededConditionOfReason(conditions []v2vv1.VirtualMachineImportCondition, ...) bool
- func NewCondition(conditionType v2vv1.VirtualMachineImportConditionType, reason string, ...) v2vv1.VirtualMachineImportCondition
- func NewProcessingCondition(reason string, message string, status v1.ConditionStatus) v2vv1.VirtualMachineImportCondition
- func NewSucceededCondition(reason string, message string, status v1.ConditionStatus) v2vv1.VirtualMachineImportCondition
- func UpsertCondition(vmi *v2vv1.VirtualMachineImport, condition v2vv1.VirtualMachineImportCondition)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindConditionOfType ¶
func FindConditionOfType(conditions []v2vv1.VirtualMachineImportCondition, conditionType v2vv1.VirtualMachineImportConditionType) *v2vv1.VirtualMachineImportCondition
FindConditionOfType finds condition of a conditionType type in the conditions slice
func HasSucceededConditionOfReason ¶
func HasSucceededConditionOfReason(conditions []v2vv1.VirtualMachineImportCondition, conditionReason ...v2vv1.SucceededConditionReason) bool
HasSucceededConditionOfReason finds condition of a Succeeded type with conditionReason reason in the conditions slice
func NewCondition ¶
func NewCondition(conditionType v2vv1.VirtualMachineImportConditionType, reason string, message string, status v1.ConditionStatus) v2vv1.VirtualMachineImportCondition
NewCondition creates condition of a given type in the conditions list with given reason, message and status
func NewProcessingCondition ¶
func NewProcessingCondition(reason string, message string, status v1.ConditionStatus) v2vv1.VirtualMachineImportCondition
NewProcessingCondition create a condition of type Processing of specific reason and message
func NewSucceededCondition ¶
func NewSucceededCondition(reason string, message string, status v1.ConditionStatus) v2vv1.VirtualMachineImportCondition
NewSucceededCondition creates a condition of type Succeeded of specific reason, message and status
func UpsertCondition ¶
func UpsertCondition(vmi *v2vv1.VirtualMachineImport, condition v2vv1.VirtualMachineImportCondition)
UpsertCondition updates or creates condition in the virtualMachineImportStatus
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.