componentdeployment

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2025 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ConditionReleaseSynced indicates that the Release resource has been successfully created/updated
	// with the rendered resources. This does not indicate that the resources are ready yet.
	ConditionReleaseSynced controller.ConditionType = "ReleaseSynced"

	// ConditionResourcesReady indicates that all resources in the Release are applied and ready.
	// This is evaluated from the Release.Status.Resources health information.
	ConditionResourcesReady controller.ConditionType = "ResourcesReady"
)
View Source
const (

	// ReasonReleaseCreated indicates the Release was successfully created
	ReasonReleaseCreated controller.ConditionReason = "ReleaseCreated"
	// ReasonReleaseUpdated indicates the Release was successfully updated
	ReasonReleaseUpdated controller.ConditionReason = "ReleaseUpdated"
	// ReasonReleaseSynced indicates the Release is up to date (no changes needed)
	ReasonReleaseSynced controller.ConditionReason = "ReleaseSynced"

	// ReasonResourcesReady indicates all resources are deployed and ready
	ReasonResourcesReady controller.ConditionReason = "ResourcesReady"
	// ReasonResourcesProgressing indicates resources are being deployed or updated
	ReasonResourcesProgressing controller.ConditionReason = "ResourcesProgressing"
	// ReasonResourcesDegraded indicates one or more resources are in error state
	ReasonResourcesDegraded controller.ConditionReason = "ResourcesDegraded"

	// ReasonComponentEnvSnapshotNotFound indicates the referenced ComponentEnvSnapshot doesn't exist
	ReasonComponentEnvSnapshotNotFound controller.ConditionReason = "ComponentEnvSnapshotNotFound"
	// ReasonComponentNotFound indicates the referenced Component doesn't exist
	ReasonComponentNotFound controller.ConditionReason = "ComponentNotFound"
	// ReasonProjectNotFound indicates the referenced Project doesn't exist
	ReasonProjectNotFound controller.ConditionReason = "ProjectNotFound"
	// ReasonEnvironmentNotFound indicates the referenced Environment doesn't exist
	ReasonEnvironmentNotFound controller.ConditionReason = "EnvironmentNotFound"
	// ReasonDataPlaneNotFound indicates the referenced DataPlane doesn't exist
	ReasonDataPlaneNotFound controller.ConditionReason = "DataPlaneNotFound"
	// ReasonInvalidConfiguration indicates the ComponentDeployment configuration is invalid
	ReasonInvalidConfiguration controller.ConditionReason = "InvalidConfiguration"
	// ReasonInvalidSnapshotConfiguration indicates the ComponentEnvSnapshot has invalid configuration
	ReasonInvalidSnapshotConfiguration controller.ConditionReason = "InvalidSnapshotConfiguration"
	// ReasonDataPlaneNotConfigured indicates the Environment has no DataPlaneRef configured
	ReasonDataPlaneNotConfigured controller.ConditionReason = "DataPlaneNotConfigured"

	// ReasonRenderingFailed indicates failure to render resources from ComponentEnvSnapshot
	ReasonRenderingFailed controller.ConditionReason = "RenderingFailed"
	// ReasonValidationFailed indicates rendered resources failed validation
	ReasonValidationFailed controller.ConditionReason = "ValidationFailed"

	// ReasonReleaseUpdateFailed indicates failure to create or update the Release
	ReasonReleaseUpdateFailed controller.ConditionReason = "ReleaseUpdateFailed"
	// ReasonReleaseOwnershipConflict indicates Release exists but not owned by this ComponentDeployment
	ReasonReleaseOwnershipConflict controller.ConditionReason = "ReleaseOwnershipConflict"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	client.Client
	Scheme *runtime.Scheme

	// Pipeline is the component rendering pipeline, shared across all reconciliations.
	// This enables CEL environment caching across different component types and reconciliations.
	Pipeline *componentpipeline.Pipeline
}

Reconciler reconciles an ComponentDeployment object

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, rErr error)

Reconcile is part of the main kubernetes reconciliation loop

func (*Reconciler) SetupWithManager

func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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