controllers

package
v0.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ControllerServiceAccountName = "mpas-project-controller"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ProjectReconciler

type ProjectReconciler struct {
	client.Client
	Scheme                *runtime.Scheme
	ClusterRoleName       string
	Prefix                string
	DefaultCommitTemplate mpasv1alpha1.CommitTemplate
	DefaultNamespace      string
}

ProjectReconciler reconciles a Project object

func (*ProjectReconciler) Reconcile

func (r *ProjectReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, retErr 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 (*ProjectReconciler) SetupWithManager

func (r *ProjectReconciler) 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