controllers

package
v0.0.0-...-2b3457a Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DarkroomReconciler

type DarkroomReconciler struct {
	setup.Controller
	setup.Webhook
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

DarkroomReconciler reconciles a Darkroom object

func (*DarkroomReconciler) Reconcile

func (r *DarkroomReconciler) 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 darkroom instances inside the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.8.3/pkg/reconcile

func (*DarkroomReconciler) SetupControllerWithManager

func (r *DarkroomReconciler) SetupControllerWithManager(mgr ctrl.Manager) error

func (*DarkroomReconciler) SetupWebhookWithManager

func (r *DarkroomReconciler) SetupWebhookWithManager(mgr ctrl.Manager) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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