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.
Click to show internal directories.
Click to hide internal directories.