Documentation ¶
Index ¶
- Constants
- func GetNebulaClusterCondition(status *v1alpha1.NebulaClusterStatus, ...) *v1alpha1.NebulaClusterCondition
- func GetNodeTrueConditions(status *corev1.NodeStatus) []corev1.NodeCondition
- func IsBackupClean(backup *v1alpha1.NebulaBackup) bool
- func IsBackupComplete(backup *v1alpha1.NebulaBackup) bool
- func IsBackupFailed(backup *v1alpha1.NebulaBackup) bool
- func IsBackupInvalid(backup *v1alpha1.NebulaBackup) bool
- func IsNodeReadyFalseOrUnknown(status *corev1.NodeStatus) bool
- func IsRestoreComplete(restore *v1alpha1.NebulaRestore) bool
- func IsRestoreFailed(restore *v1alpha1.NebulaRestore) bool
- func IsRestoreInvalid(restore *v1alpha1.NebulaRestore) bool
- func IsRestoreMetadComplete(restore *v1alpha1.NebulaRestore) bool
- func IsRestoreStoragedComplete(restore *v1alpha1.NebulaRestore) bool
- func NewNebulaClusterCondition(condType v1alpha1.NebulaClusterConditionType, status corev1.ConditionStatus, ...) *v1alpha1.NebulaClusterCondition
- func SetNebulaClusterCondition(status *v1alpha1.NebulaClusterStatus, ...)
- func UpdateNebulaBackupCondition(status *v1alpha1.BackupStatus, condition *v1alpha1.BackupCondition) bool
- func UpdateNebulaRestoreCondition(status *v1alpha1.RestoreStatus, condition *v1alpha1.RestoreCondition) bool
Constants ¶
View Source
const ( WorkloadReady = "Ready" // WorkloadNotUpToDate is added when one of workloads is not up-to-date. WorkloadNotUpToDate = "WorkloadNotUpToDate" // MetadUnhealthy is added when one of metad pods is unhealthy. MetadUnhealthy = "MetadUnhealthy" // StoragedUnhealthy is added when one of storaged pods is unhealthy. StoragedUnhealthy = "StoragedUnhealthy" // GraphdUnhealthy is added when one of graphd pods is unhealthy. GraphdUnhealthy = "GraphdUnhealthy" // VolumeNotProvisioning is added when one of the workloads volume is not provisioning. VolumeNotProvisioning = "VolumeNotProvisioning" )
Variables ¶
This section is empty.
Functions ¶
func GetNebulaClusterCondition ¶
func GetNebulaClusterCondition( status *v1alpha1.NebulaClusterStatus, condType v1alpha1.NebulaClusterConditionType, ) *v1alpha1.NebulaClusterCondition
func GetNodeTrueConditions ¶ added in v1.8.0
func GetNodeTrueConditions(status *corev1.NodeStatus) []corev1.NodeCondition
func IsBackupClean ¶ added in v1.8.0
func IsBackupClean(backup *v1alpha1.NebulaBackup) bool
func IsBackupComplete ¶ added in v1.8.0
func IsBackupComplete(backup *v1alpha1.NebulaBackup) bool
func IsBackupFailed ¶ added in v1.8.0
func IsBackupFailed(backup *v1alpha1.NebulaBackup) bool
func IsBackupInvalid ¶ added in v1.8.0
func IsBackupInvalid(backup *v1alpha1.NebulaBackup) bool
func IsNodeReadyFalseOrUnknown ¶ added in v1.8.0
func IsNodeReadyFalseOrUnknown(status *corev1.NodeStatus) bool
func IsRestoreComplete ¶ added in v1.4.0
func IsRestoreComplete(restore *v1alpha1.NebulaRestore) bool
func IsRestoreFailed ¶ added in v1.4.0
func IsRestoreFailed(restore *v1alpha1.NebulaRestore) bool
func IsRestoreInvalid ¶ added in v1.4.0
func IsRestoreInvalid(restore *v1alpha1.NebulaRestore) bool
func IsRestoreMetadComplete ¶ added in v1.4.0
func IsRestoreMetadComplete(restore *v1alpha1.NebulaRestore) bool
func IsRestoreStoragedComplete ¶ added in v1.4.0
func IsRestoreStoragedComplete(restore *v1alpha1.NebulaRestore) bool
func NewNebulaClusterCondition ¶
func NewNebulaClusterCondition( condType v1alpha1.NebulaClusterConditionType, status corev1.ConditionStatus, reason, message string, ) *v1alpha1.NebulaClusterCondition
func SetNebulaClusterCondition ¶
func SetNebulaClusterCondition(status *v1alpha1.NebulaClusterStatus, condition *v1alpha1.NebulaClusterCondition)
func UpdateNebulaBackupCondition ¶ added in v1.8.0
func UpdateNebulaBackupCondition(status *v1alpha1.BackupStatus, condition *v1alpha1.BackupCondition) bool
func UpdateNebulaRestoreCondition ¶ added in v1.4.0
func UpdateNebulaRestoreCondition(status *v1alpha1.RestoreStatus, condition *v1alpha1.RestoreCondition) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.