Documentation ¶
Index ¶
- Constants
- type DPFOperatorConfigReconciler
- func (r *DPFOperatorConfigReconciler) DPUServiceToDPFOperatorConfig(_ context.Context, o client.Object) []ctrl.Request
- func (r *DPFOperatorConfigReconciler) DeploymentToDPFOperatorConfig(ctx context.Context, o client.Object) []ctrl.Request
- func (r *DPFOperatorConfigReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)
- func (r *DPFOperatorConfigReconciler) SetupWithManager(mgr ctrl.Manager) error
- type DPFOperatorConfigReconcilerSettings
Constants ¶
View Source
const ( // DefaultDPFOperatorConfigSingletonName is the default single valid name of the DPFOperatorConfig. DefaultDPFOperatorConfigSingletonName = "dpfoperatorconfig" // DefaultDPFOperatorConfigSingletonNamespace is the default single valid name of the DPFOperatorConfig. DefaultDPFOperatorConfigSingletonNamespace = "dpf-operator-system" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DPFOperatorConfigReconciler ¶
type DPFOperatorConfigReconciler struct { client.Client Scheme *runtime.Scheme Settings *DPFOperatorConfigReconcilerSettings Inventory *inventory.SystemComponents Defaults *release.Defaults }
DPFOperatorConfigReconciler reconciles a DPFOperatorConfig object
func (*DPFOperatorConfigReconciler) DPUServiceToDPFOperatorConfig ¶
func (r *DPFOperatorConfigReconciler) DPUServiceToDPFOperatorConfig(_ context.Context, o client.Object) []ctrl.Request
DPUServiceToDPFOperatorConfig enqueues a reconcile when an event occurs for system DPUServices.
func (*DPFOperatorConfigReconciler) DeploymentToDPFOperatorConfig ¶
func (r *DPFOperatorConfigReconciler) DeploymentToDPFOperatorConfig(ctx context.Context, o client.Object) []ctrl.Request
DeploymentToDPFOperatorConfig enqueues a reconcile when an event occurs for system Deployments.
func (*DPFOperatorConfigReconciler) Reconcile ¶
func (r *DPFOperatorConfigReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)
Reconcile reconciles changes in a DPFOperatorConfig.
func (*DPFOperatorConfigReconciler) SetupWithManager ¶
func (r *DPFOperatorConfigReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type DPFOperatorConfigReconcilerSettings ¶
type DPFOperatorConfigReconcilerSettings struct { // ConfigSingletonNamespaceName restricts reconciliation of the operator to a single DPFOperator Config with a specified namespace and name. ConfigSingletonNamespaceName *types.NamespacedName // SkipWebhook skips ValidatingWebhookConfiguration/MutatingWebhookConfiguration installing. // SkipWebhook is true iff we are running tests in an environment that doesn't have functioning webhook server. SkipWebhook bool }
DPFOperatorConfigReconcilerSettings contains settings related to the DPFOperatorConfig.
Click to show internal directories.
Click to hide internal directories.