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 ¶
func (r *ProviderConfigContributorReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
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
Click to show internal directories.
Click to hide internal directories.