constrainttemplatecontroller

package
v2.25.8 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Overview

Package constrainttemplatecontroller contains a controller that is responsible for ensuring that the kubermatic constraint templates are synced to the user cluster.

Index

Constants

View Source
const (
	// This controller syncs the kubermatic constraint templates to gatekeeper constraint templates on the user cluster.
	ControllerName = "kkp-constraint-template-controller"
)

Variables

This section is empty.

Functions

func Add

func Add(
	mgr manager.Manager,
	clientProvider UserClusterClientProvider,
	log *zap.SugaredLogger,
	workerName string,
	numWorkers int,
) error

Types

type UserClusterClientProvider

type UserClusterClientProvider interface {
	GetClient(ctx context.Context, c *kubermaticv1.Cluster, options ...clusterclient.ConfigOption) (ctrlruntimeclient.Client, error)
}

UserClusterClientProvider provides functionality to get a user cluster client.

Jump to

Keyboard shortcuts

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