renderedrelease

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ControllerName is the name of the controller managing RenderedRelease resources
	ControllerName = "renderedrelease-controller"

	// ConditionResourcesApplied indicates whether resources were successfully applied to the target plane.
	// When False, it contains the error message from the failed apply operation.
	ConditionResourcesApplied = "ResourcesApplied"

	// ReasonApplySucceeded indicates all resources were applied successfully
	ReasonApplySucceeded = "ApplySucceeded"
	// ReasonApplyFailed indicates one or more resources failed to apply
	ReasonApplyFailed = "ApplyFailed"
)
View Source
const (

	// ReasonCleanupInProgress dataplane resources are being cleaned up
	ReasonCleanupInProgress controller.ConditionReason = "CleanupInProgress"
	// ReasonCleanupFailed cleanup of dataplane resources failed
	ReasonCleanupFailed controller.ConditionReason = "CleanupFailed"
)
View Source
const (
	// DataPlaneCleanupFinalizer is the finalizer that is used to clean up the data plane resources.
	DataPlaneCleanupFinalizer = "openchoreo.dev/dataplane-cleanup"
	// ObsPlaneCleanupFinalizer is the finalizer that is used to clean up the observability plane resources.
	ObsPlaneCleanupFinalizer = "openchoreo.dev/obsplane-cleanup"
)
View Source
const (
	// ConditionFinalizing represents whether the RenderedRelease is being finalized
	ConditionFinalizing controller.ConditionType = "Finalizing"
)

Variables

This section is empty.

Functions

func NewRenderedReleaseCleanupFailedCondition

func NewRenderedReleaseCleanupFailedCondition(generation int64, err error) metav1.Condition

func NewRenderedReleaseFinalizingCondition

func NewRenderedReleaseFinalizingCondition(generation int64) metav1.Condition

Types

type Reconciler

type Reconciler struct {
	client.Client
	PlaneClientProvider kubernetesClient.PlaneClientProvider
	Scheme              *runtime.Scheme
}

Reconciler reconciles a RenderedRelease object

func (*Reconciler) Reconcile

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.1/pkg/reconcile

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