spacebindingcleanup

package
v0.0.0-...-2b979c4 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2026 License: Apache-2.0 Imports: 19 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapToSpaceBindingByBoundObjectName

func MapToSpaceBindingByBoundObjectName(cl runtimeclient.Client, label string) func(ctx context.Context, object runtimeclient.Object) []reconcile.Request

MapToSpaceBindingByBoundObjectName maps the bound object (MUR or Space) to the associated SpaceBindings. The correct SpaceBindings are listed using the given label whose value should equal to the object's name.

Types

type OnlyDeleteAndGenericPredicate

type OnlyDeleteAndGenericPredicate struct {
}

func (OnlyDeleteAndGenericPredicate) Create

func (OnlyDeleteAndGenericPredicate) Delete

func (OnlyDeleteAndGenericPredicate) Generic

func (OnlyDeleteAndGenericPredicate) Update

type Reconciler

type Reconciler struct {
	runtimeclient.Client
	Scheme         *runtime.Scheme
	Namespace      string
	MemberClusters map[string]cluster.Cluster
}

Reconciler reconciles a SpaceBinding object

func (*Reconciler) Reconcile

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*Reconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type SpaceBindingRequestAssociated

type SpaceBindingRequestAssociated struct {
	// contains filtered or unexported fields
}

SpaceBindingRequestAssociated is a wrapper that holds details regarding SB, and it's SBR if there is any associated.

Jump to

Keyboard shortcuts

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