spacebindingrequest

package
v0.0.0-...-7b31e83 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapSpaceBindingToSpaceBindingRequest

func MapSpaceBindingToSpaceBindingRequest() func(object runtimeclient.Object) []reconcile.Request

MapSpaceBindingToSpaceBindingRequest checks whether a spacebinding was created from a spacebindingrequest, in case it finds the required labels, triggers an event for the given spacebindingrequest associated with the spacebinding.

Types

type Reconciler

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

Reconciler reconciles a SpaceBindingRequest object

func (*Reconciler) Reconcile

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

Reconcile ensures that there is a SpaceBindingRequest resource defined in the target member cluster

func (*Reconciler) SetupWithManager

func (r *Reconciler) SetupWithManager(mgr ctrl.Manager, memberClusters map[string]cluster.Cluster) error

SetupWithManager sets up the controller reconciler with the Manager and the given member clusters. Watches SpaceBindingRequests on the member clusters as its primary resources.

Jump to

Keyboard shortcuts

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