controllers

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DerivedServiceAnnotation is set on a ServiceImport to reference the
	// derived Service that represents the imported service for kube-proxy.
	DerivedServiceAnnotation = "multicluster.kubernetes.io/derived-service"
)

Variables

This section is empty.

Functions

func Start

func Start(cfg *rest.Config, setupLog logr.Logger, opts ctrl.Options, stopCh <-chan struct{}) error

Start the controllers with the supplied config

Types

type EndpointSliceReconciler

type EndpointSliceReconciler struct {
	client.Client
	Log logr.Logger
}

EndpointSliceReconciler reconciles a EndpointSlice object

func (*EndpointSliceReconciler) Reconcile

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

Reconcile the changes.

func (*EndpointSliceReconciler) SetupWithManager

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

SetupWithManager wires up the controller.

type ServiceImportReconciler

type ServiceImportReconciler struct {
	client.Client
	Log logr.Logger
}

ServiceImportReconciler reconciles a ServiceImport object

func (*ServiceImportReconciler) Reconcile

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

Reconcile the changes.

func (*ServiceImportReconciler) SetupWithManager

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

SetupWithManager wires up the controller.

type ServiceReconciler

type ServiceReconciler struct {
	client.Client
	Log logr.Logger
}

ServiceReconciler reconciles a Service object

func (*ServiceReconciler) Reconcile

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

Reconcile the changes.

func (*ServiceReconciler) SetupWithManager

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

SetupWithManager wires up the controller.

Jump to

Keyboard shortcuts

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