multiclusterservice

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: MIT Imports: 22 Imported by: 0

Documentation

Overview

Package multiclusterservice features the mcs controller to reconcile multiclusterservice CRD. The controller could be installed in either hub cluster or member clusters.

Index

Constants

View Source
const (

	// ControllerName is the name of the Reconciler.
	ControllerName = "multiclusterservice-controller"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	client.Client
	Scheme               *runtime.Scheme
	FleetSystemNamespace string // reserved fleet namespace
	Recorder             record.EventRecorder
}

Reconciler reconciles a MultiClusterService object.

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile triggers a single reconcile round.

func (*Reconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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