federation

package
Version: v0.0.0-...-2fbb0c7 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2019 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new ClusterDeployment Federation 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 reconcile.Reconciler) error

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

func NewReconciler

func NewReconciler(mgr manager.Manager) reconcile.Reconciler

NewReconciler returns a new reconcile.Reconciler

Types

type ReconcileClusterDeploymentFederation

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

ReconcileClusterDeploymentFederation reconciles a ClusterDeployment object

func (*ReconcileClusterDeploymentFederation) Reconcile

Reconcile reads that state of the cluster for a ClusterDeployment object and federates it if it's installed and federation is present in the cluster.

Automatically generate RBAC rules to allow the Controller to read and write ClusterDeployments

+kubebuilder:rbac:groups=apiextensions.k8s.io,resources=customresourcedefinitions,verbs=get;list;watch +kubebuilder:rbac:groups=clusterregistry.k8s.io,resources=clusters,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=core.federation.k8s.io,resources=federatedclusters,verbs=get;list;watch;create;update;patch;delete

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL