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

oauthserver

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2026 License: Apache-2.0 Imports: 36 Imported by: 2

Documentation

Index

Constants

View Source
const (
	RouteName = "test-oauth-route"
	SAName    = "e2e-oauth"
)

Variables

This section is empty.

Functions

func GetDirPathFromConfigMapSecretName

func GetDirPathFromConfigMapSecretName(name string) string

func GetPathFromConfigMapSecretName

func GetPathFromConfigMapSecretName(name, key string) string

func GetRawExtensionForOsinProvider

func GetRawExtensionForOsinProvider(obj runtime.Object) (*runtime.RawExtension, error)

func GetUserForToken

func GetUserForToken(config *restclient.Config, token, expectedUsername string) (*userv1.User, error)

Types

type NewRequestTokenOptionsFunc

type NewRequestTokenOptionsFunc func(username, password string) *tokenrequest.RequestTokenOptions

func DeployOAuthServer

func DeployOAuthServer(oc *exutil.CLI, idps []osinv1.IdentityProvider, configMaps []corev1.ConfigMap, secrets []corev1.Secret) (NewRequestTokenOptionsFunc, func(), error)

DeployOAuthServer - deployes an instance of an OpenShift OAuth server very simplified for now returns OAuth server url, cleanup function, error

Jump to

Keyboard shortcuts

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