oauthserver

package
v1.5.0-alpha.3....-7948e3f Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2021 License: Apache-2.0 Imports: 34 Imported by: 0

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) *tokencmd.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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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