namespaceoffloadingctrl

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package namespaceoffloadingctrl contains NamespaceOffloading Controller logic and some functions for adding DesiredMappings to NamespaceMaps Spec

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NamespaceOffloadingReconciler

type NamespaceOffloadingReconciler struct {
	client.Client
	Scheme       *runtime.Scheme
	LocalCluster discoveryv1alpha1.ClusterIdentity
}

NamespaceOffloadingReconciler adds/removes DesiredMapping to/from NamespaceMaps in according with ClusterSelector field.

func (*NamespaceOffloadingReconciler) Reconcile

Reconcile requires creation of remote namespaces according to ClusterSelector field.

func (*NamespaceOffloadingReconciler) SetupWithManager

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

SetupWithManager reconciles NamespaceOffloading Resources.

Jump to

Keyboard shortcuts

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