conditions

package
v3.34.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2021 License: Apache-2.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

View Source
const (
	// CreatingCondition tells if the cluster is being created.
	CreatingCondition capi.ConditionType = "Creating"

	// UpgradingCondition tells if the cluster is being upgraded to a newer
	// release version.
	UpgradingCondition capi.ConditionType = "Upgrading"

	// ProviderInfrastructureReadyCondition tells if the provider
	// infrastructure defined by the related provider-specific CR is Ready. For
	// example, in Cluster CR it tells if Azure infrastructure defined by the
	// AzureCluster is ready.
	ProviderInfrastructureReadyCondition capi.ConditionType = "ProviderInfrastructureReady"

	// NodePoolsReadyCondition tells if all node pools are ready.
	NodePoolsReadyCondition capi.ConditionType = "NodePoolsReady"
)

Cluster conditions

View Source
const (
	CreationCompletedReason = "CreationCompleted"
	ExistingClusterReason   = "ExistingCluster"
)

Creating reasons

View Source
const (
	UpgradeCompletedReason  = "UpgradeCompleted"
	UpgradeNotStartedReason = "UpgradeNotStarted"
)

Upgrading reasons

Variables

This section is empty.

Functions

func SerializeUpgradingConditionMessage added in v3.4.0

func SerializeUpgradingConditionMessage(message UpgradingConditionMessage) (string, error)

SerializeUpgradingConditionMessage converts specified message object into a JSON string.

Types

type UpgradingConditionMessage added in v3.4.0

type UpgradingConditionMessage struct {
	Message        string `json:"message"`
	ReleaseVersion string `json:"release_version"`
}

func DeserializeUpgradingConditionMessage added in v3.4.0

func DeserializeUpgradingConditionMessage(messageJson string) (UpgradingConditionMessage, error)

DeserializeUpgradingConditionMessage parses specified JSON string and returns message UpgradingConditionMessage struct.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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