status

package
v1.78.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2026 License: Apache-2.0 Imports: 18 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
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

func NewService(client client.Client, source source, logger *log.Logger) *Service

NewService creates the status service of the kind.

func (*Service) Start

Start begins the status service event loop in a goroutine. It pulls changed package names from the queue and reflects them onto Application resources. The loop exits when the queue is shut down.

Jump to

Keyboard shortcuts

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