Documentation
¶
Index ¶
Constants ¶
const ( // ConditionInstalled reflects whether the application's release is installed. // False while the first install is in progress (Pending) or blocked or failed // at one of: unmet requirements (RequirementsUnmet), download, load from filesystem, // settings validation, hooks, Helm manifest apply. The first True also // waits for the workloads to be ready. Sticky: once True it is never // retracted on a failure — failures surface on the other conditions — // only after a disable has taken the release down (see isDisabled). ConditionInstalled = "Installed" // ConditionUpdateInstalled reflects installing a new version over a // running application: False while the update is blocked (WaitingNotification, // WaitingWindow, RequirementsUnmet, SettingsInvalid), its preparation failed // (AttachFailed, LoadFromFilesystemFailed), it is being applied // (ApplyingManifests) or the new version's first run failed // (HookInitializationFailed, HookFailed, ManifestsApplyFailed, // ScalingForbidden); True once // the new version's own run succeeded. ConditionUpdateInstalled = "UpdateInstalled" // ConditionReady reflects user-facing readiness of the application. // Possible reasons: HookInitializationFailed, HookFailed, // ManifestsApplyFailed, ScalingForbidden, ReleaseDeleteFailed, ApplyingManifests, // SettingsChanged, Ready (when True). ConditionReady = "Ready" // ConditionScaled reflects the runtime scaling state of the application, owned by // the workload health monitor; lifecycle failures of an update override it. // Possible reasons: Reconciling (False), Degraded (False), Scaled (True, also // for a release without workloads). ConditionScaled = "Scaled" // ConditionManaged reflects whether the controller is actively managing the // application. Settings-only failures do not break it. // Possible reasons: HookInitializationFailed, HookFailed, // ManifestsApplyFailed, ScalingForbidden, ReleaseDeleteFailed, ApplyingManifests, // SettingsChanged, NoResourceReconciliation (maintenance applied), Managed. ConditionManaged = "Managed" // ConditionConfigurationApplied reflects whether the desired configuration — // settings, hooks, manifests — was applied. // Possible reasons: SettingsInvalid, HookInitializationFailed, HookFailed, // ManifestsApplyFailed, ScalingForbidden, ReleaseDeleteFailed, ApplyingManifests, // SettingsChanged, ConfigurationApplied (when True). ConditionConfigurationApplied = "ConfigurationApplied" )
External condition types — what the user sees on the Application resource.
Every condition but Installed is gated on it: none is reported until Installed is True, and each is removed from the resource while Installed is not. The first install is therefore reported by Installed alone, and so is an application that lost a hard requirement, until it is installed again.
While an application is being removed the projection bypasses the rules entirely and reports every condition here as False/Deleting.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service processes status events and updates Application conditions.
func NewService ¶
NewService creates the status service of the kind.