seedconstraintsynchronizer

package
v2.22.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 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