controllers

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdoptionReconciler

type AdoptionReconciler struct {
	client.Client
	Log                  logr.Logger
	NamespacedClient     client.Client
	ServiceClusterClient client.Client
	ServiceClusterCache  cache.Cache

	// Dynamic types we work with
	ManagementClusterGVK, ServiceClusterGVK schema.GroupVersionKind

	ProviderNamespace string
}

func (*AdoptionReconciler) Reconcile

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

func (*AdoptionReconciler) SetupWithManager

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

type ManagementClusterObjReconciler

type ManagementClusterObjReconciler struct {
	client.Client
	Log              logr.Logger
	NamespacedClient client.Client
	Scheme           *runtime.Scheme

	ServiceClusterClient              client.Client
	ServiceClusterCache               cache.Cache
	ProviderNamespace, ServiceCluster string

	// Dynamic types we work with
	ManagementClusterGVK, ServiceClusterGVK schema.GroupVersionKind
}

ManagementClusterObjReconciler reconciles CRD instances in the management cluster, by creating a matching instance in the service cluster and syncing it's status back.

func (*ManagementClusterObjReconciler) Reconcile

func (*ManagementClusterObjReconciler) SetupWithManager

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

Jump to

Keyboard shortcuts

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