clusterrole

package
v0.0.0-...-da19d00 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package clusterrole implements a controller for watching ClusterRole resources and tracking them. Deprecated: Since we don't need to track ClusterRole objects anymore this is deprecated.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterRoleReconciler

type ClusterRoleReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

ReconcileClusterRole reconciles a ClusterRole object

func (*ClusterRoleReconciler) Reconcile

func (r *ClusterRoleReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile reads the ClusterRole object and removes the finalizer if present. It does nothing other than that. Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.

func (*ClusterRoleReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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