clusterclaim

package
v1.1.16 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ControllerName = hivev1.ClusterClaimControllerName
)

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new ClusterClaim Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and Start it when the Manager is Started.

func AddToManager

func AddToManager(mgr manager.Manager, r *ReconcileClusterClaim, concurrentReconciles int, rateLimiter workqueue.RateLimiter) error

AddToManager adds a new Controller to mgr with r as the reconcile.Reconciler

Types

type ReconcileClusterClaim

type ReconcileClusterClaim struct {
	client.Client
	// contains filtered or unexported fields
}

ReconcileClusterClaim reconciles a CLusterClaim object

func NewReconciler

func NewReconciler(mgr manager.Manager, rateLimiter flowcontrol.RateLimiter) *ReconcileClusterClaim

NewReconciler returns a new ReconcileClusterClaim

func (*ReconcileClusterClaim) Reconcile

func (r *ReconcileClusterClaim) Reconcile(ctx context.Context, request reconcile.Request) (result reconcile.Result, returnErr error)

Reconcile reconciles a ClusterClaim.

Jump to

Keyboard shortcuts

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