Help us shape the future of Go! Take the 2026 Go Developer Survey

settings

package
v0.33.6 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package settings implements controller for Settings CRD

Index

Constants

View Source
const (
	// ControllerNameBootstrap is a default name for the bootstrap config settings
	// controller
	ControllerNameBootstrap = "bootstrap"
)

Variables

This section is empty.

Functions

func FetchConfig

func FetchConfig(ctx context.Context, client client.Client, name types.NamespacedName) (*model.Config, error)

FetchConfig returns

func NewSettingsController

func NewSettingsController(
	mgr ctrl.Manager,
	pcr pomerium.ConfigReconciler,
	name types.NamespacedName,
	controllerName string,
	emitWarnings bool,
	check health.Check,
) error

NewSettingsController creates and registers a new controller for a given settings object, as we can only watch single settings

Types

This section is empty.

Jump to

Keyboard shortcuts

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