releaseplanadmission

package
v0.0.0-...-cf69697 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2024 License: Apache-2.0 Imports: 15 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 ReleasePlanAdmission 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 releaseplanadmission 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