membercluster

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package membercluster features the MemberCluster controller for watching update/delete events to the MemberCluster object and removes finalizers on all fleet networking resources in the fleet member cluster namespace.

Index

Constants

View Source
const (
	ControllerName = "membercluster-controller"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	client.Client
	Recorder record.EventRecorder
	// the wait time in minutes before we need to force delete a member cluster.
	ForceDeleteWaitTime time.Duration
}

Reconciler reconciles a MemberCluster object.

func (*Reconciler) Reconcile

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

Reconcile watches the deletion of the member cluster and removes finalizers on fleet networking resources in the member cluster namespace.

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