authproviderhelpers

package
v1.3.0-rc4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyManifest

func ApplyManifest(harness *e2e.Harness, manifestYAML string) (string, error)

ApplyManifest writes manifestYAML to a temp file and applies it via the harness CLI. Login must be established by the caller before invoking this function.

func BuildOIDCAuthProviderYAML

func BuildOIDCAuthProviderYAML(name, issuerURL, clientID, clientSecret string, enabled bool) string

BuildOIDCAuthProviderYAML renders a minimal OIDC AuthProvider manifest string. When enabled is false the provider is created in disabled state (safe for e2e tests that only need to exercise encryption or credential storage, not live authentication).

func DeleteAuthProvider

func DeleteAuthProvider(harness *e2e.Harness, name string) (string, error)

DeleteAuthProvider deletes an AuthProvider CR by name via the harness CLI. Login must be established by the caller before invoking this function. Returns the CLI output (e.g. "authprovider/name deleted") so callers can assert on it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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