binding

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: May 10, 2023 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

View Source
const ClusterResourceBindingControllerName = "cluster-resource-binding-controller"

ClusterResourceBindingControllerName is the controller name that will be used when reporting events.

View Source
const ControllerName = "binding-controller"

ControllerName is the controller name that will be used when reporting events.

Variables

This section is empty.

Functions

func RecordAppliedOverrides added in v1.3.0

func RecordAppliedOverrides(cops *overridemanager.AppliedOverrides, ops *overridemanager.AppliedOverrides,
	annotations map[string]string) (map[string]string, error)

RecordAppliedOverrides record applied (cluster) overrides to annotations

Types

type ClusterResourceBindingController added in v0.4.0

type ClusterResourceBindingController struct {
	client.Client                                                   // used to operate ClusterResourceBinding resources.
	DynamicClient       dynamic.Interface                           // used to fetch arbitrary resources from api server.
	InformerManager     genericmanager.SingleClusterInformerManager // used to fetch arbitrary resources from cache.
	EventRecorder       record.EventRecorder
	RESTMapper          meta.RESTMapper
	OverrideManager     overridemanager.OverrideManager
	ResourceInterpreter resourceinterpreter.ResourceInterpreter
	RateLimiterOptions  ratelimiterflag.Options
}

ClusterResourceBindingController is to sync ClusterResourceBinding.

func (*ClusterResourceBindingController) Reconcile added in v0.4.0

Reconcile performs a full reconciliation for the object referred to by the Request. The Controller will requeue the Request to be processed again if an error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.

func (*ClusterResourceBindingController) SetupWithManager added in v0.4.0

SetupWithManager creates a controller and register to controller manager.

type ResourceBindingController added in v0.4.0

type ResourceBindingController struct {
	client.Client                                                   // used to operate ClusterResourceBinding resources.
	DynamicClient       dynamic.Interface                           // used to fetch arbitrary resources from api server.
	InformerManager     genericmanager.SingleClusterInformerManager // used to fetch arbitrary resources from cache.
	EventRecorder       record.EventRecorder
	RESTMapper          meta.RESTMapper
	OverrideManager     overridemanager.OverrideManager
	ResourceInterpreter resourceinterpreter.ResourceInterpreter
	RateLimiterOptions  ratelimiterflag.Options
}

ResourceBindingController is to sync ResourceBinding.

func (*ResourceBindingController) Reconcile added in v0.4.0

Reconcile performs a full reconciliation for the object referred to by the Request. The Controller will requeue the Request to be processed again if an error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.

func (*ResourceBindingController) SetupWithManager added in v0.4.0

func (c *ResourceBindingController) SetupWithManager(mgr controllerruntime.Manager) error

SetupWithManager creates a controller and register to controller manager.

Jump to

Keyboard shortcuts

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