releaseplan

package
v0.0.0-...-7fab577 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 17 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 ReleasePlan 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.

func (*Controller) SetupCache

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

SetupCache indexes fields for each of the resources used in the releaseplan adapter in those cases where filtering by field is required. NOTE: Both the release and releaseplan controller need this ReleasePlanAdmission cache. However, it only needs to be added once to the manager, so only one controller should add it. If it is removed from the Release controller, it should be added here.

Jump to

Keyboard shortcuts

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