controller

package
v0.2.2-beta Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package controller provides template code for implementing provider configuration controllers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProviderConfigContributorReconciler

type ProviderConfigContributorReconciler struct {
	client.Client
	Scheme            *runtime.Scheme
	OperatorName      string // IMPORTANT: Set this to your operator's name (e.g., "krkn-operator-acm")
	OperatorNamespace string
}

ProviderConfigContributorReconciler contributes this operator's configuration to config requests

CUSTOMIZE: Update the comment to reflect your operator's name

func (*ProviderConfigContributorReconciler) Reconcile

Reconcile watches for new KrknOperatorTargetProviderConfig CRs and contributes this operator's configuration

CUSTOMIZE: Update log messages if needed, but the flow should remain the same

func (*ProviderConfigContributorReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager

DO NOT MODIFY: This is standard controller setup

Jump to

Keyboard shortcuts

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