consoleclient

package
v3.8.2 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2026 License: EPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Mode                 cpv3.AuthMode
	IssuerURL            string
	ConsoleClient        string
	ConsoleClientEnabled bool
}

Config holds auth fields needed to update console OIDC client redirect URLs.

func ConfigFromAuth

func ConfigFromAuth(auth cpv3.Auth) Config

ConfigFromAuth builds updater config from CR auth spec.

type NoopUpdater

type NoopUpdater struct {
	Log logr.Logger
}

NoopUpdater is the default v3.8 stub - logs at V(1) and returns nil.

func (*NoopUpdater) UpdateConsoleURLs

func (u *NoopUpdater) UpdateConsoleURLs(_ context.Context, cfg Config, consoleURL string) error

type Updater

type Updater interface {
	UpdateConsoleURLs(ctx context.Context, cfg Config, consoleURL string) error
}

Updater updates OIDC console client redirect URLs at the IdP.

Jump to

Keyboard shortcuts

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