controllers

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KustomizationAutoDeployerReconciler

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

	RevisionLister RevisionLister
	GateFactories  map[string]gates.GateFactory
}

KustomizationAutoDeployerReconciler reconciles a KustomizationAutoDeployer object

func (*KustomizationAutoDeployerReconciler) Reconcile

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 (*KustomizationAutoDeployerReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type RevisionLister

type RevisionLister func(ctx context.Context, url string, options git.ListOptions) ([]string, error)

RevisionLister is a function type that queries revisions from a git URL.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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