seedconstraintsynchronizer

package
v2.23.17 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Package seedconstraintsynchronizer contains a controller that is responsible for ensuring that the kubermatic constraints are synced to the user cluster namespace.

Index

Constants

View Source
const (
	// This controller syncs the kubermatic constraints to constraint on the user cluster.
	ControllerName = "kkp-constraint-synchronizer"
	Key            = "default"
	AddAction      = "add"
	RemoveAction   = "remove"
)

Variables

This section is empty.

Functions

func Add

func Add(ctx context.Context,
	mgr manager.Manager,
	log *zap.SugaredLogger,
	workerName string,
	namespace string,
	numWorkers int,
) error

func ByLabel

func ByLabel(key string) predicate.Funcs

ByLabel returns a predicate func that only includes objects with the given label.

Types

This section is empty.

Jump to

Keyboard shortcuts

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