foreign_cluster_operator

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2021 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

View Source
const FinalizerString = "foreigncluster.discovery.liqo.io/peered"

Variables

This section is empty.

Functions

func StartOperator

func StartOperator(mgr *manager.Manager, namespace string, requeueAfter time.Duration, discoveryCtrl *discovery.DiscoveryCtrl, kubeconfigPath string)

Types

type ForeignClusterReconciler

type ForeignClusterReconciler struct {
	Scheme *runtime.Scheme

	Namespace string

	RequeueAfter time.Duration

	ConfigProvider discovery.ConfigProvider

	// testing
	ForeignConfig *rest.Config
	// contains filtered or unexported fields
}

ForeignClusterReconciler reconciles a ForeignCluster object

func GetFCReconciler

func GetFCReconciler(scheme *runtime.Scheme, namespace string, crdClient *crdClient.CRDClient, advertisementClient *crdClient.CRDClient, networkClient *crdClient.CRDClient, clusterId clusterID.ClusterID, requeueAfter time.Duration, configProvider discovery.ConfigProvider) *ForeignClusterReconciler

func (*ForeignClusterReconciler) Peer

func (*ForeignClusterReconciler) Reconcile

func (r *ForeignClusterReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

func (*ForeignClusterReconciler) SetupWithManager

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

func (*ForeignClusterReconciler) Unpeer

func (*ForeignClusterReconciler) Update

Jump to

Keyboard shortcuts

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