controllers

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: BSD-3-Clause Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const EmergencyAccountFinalizer = "emergencyaccounts.cluster.appuio.io/finalizer"
View Source
const MetricsNamespace = "emergency_credentials_controller"

Variables

This section is empty.

Functions

This section is empty.

Types

type Clock

type Clock interface {
	Now() time.Time
}

type EmergencyAccountReconciler

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

	Clock Clock
}

EmergencyAccountReconciler reconciles a EmergencyAccount object

func (*EmergencyAccountReconciler) Reconcile

Reconcile reconciles the EmergencyAccount resource. It creates a service account with the same name and namespace as the EmergencyAccount and requests a token for it. The token is then stored in the configured stores.

func (*EmergencyAccountReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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