condition

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

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"
)

Variables

This section is empty.

Functions

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)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL