seedconstraintsynchronizer

package
v2.20.13 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: Apache-2.0 Imports: 24 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 = "constraint_syncing_controller"

	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