release

package
v0.0.0-...-16708e8 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2025 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

Controller reconciles a Release object

func (*Controller) Reconcile

func (c *Controller) 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.

func (*Controller) Register

func (c *Controller) Register(mgr ctrl.Manager, log *logr.Logger, _ cluster.Cluster) error

Register registers the controller with the passed manager and log. This controller ignores Release status updates and also watches for PipelineRuns and SnapshotEnvironmentBindings that are created by the adapter and owned by the Releases so the owner gets reconciled on changes.

func (*Controller) SetupCache

func (c *Controller) SetupCache(mgr ctrl.Manager) error

SetupCache indexes fields for each of the resources used in the release adapter in those cases where filtering by field is required.

Jump to

Keyboard shortcuts

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