Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NamespaceReconciler ¶
type NamespaceReconciler struct { client.Client ResourceCloner LabelKeys []string AnnotationKeys []string SubNamespaceLabelKeys []string SubNamespaceAnnotationKeys []string Watched []*unstructured.Unstructured }
NamespaceReconciler reconciles a Namespace object
func (*NamespaceReconciler) SetupWithManager ¶
func (r *NamespaceReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type PropagateController ¶
type PropagateController struct { client.Client ResourceCloner // contains filtered or unexported fields }
PropagateController propagates objects of a namespace-scoped resource.
func NewPropagateController ¶
func NewPropagateController(res *unstructured.Unstructured, cloner ResourceCloner) *PropagateController
NewPropagateController creates a new PropagateController. The GroupVersionKind of `res` must be set.
func (*PropagateController) SetupWithManager ¶
func (r *PropagateController) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ResourceCloner ¶ added in v1.4.0
type SubNamespaceReconciler ¶
SubNamespaceReconciler reconciles a SubNamespace object
func (*SubNamespaceReconciler) Reconcile ¶
func (r *SubNamespaceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile implements reconcile.Reconciler interface.
func (*SubNamespaceReconciler) SetupWithManager ¶
func (r *SubNamespaceReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.