Documentation ¶
Index ¶
- Constants
- func GetDirPathFromConfigMapSecretName(name string) string
- func GetPathFromConfigMapSecretName(name, key string) string
- func GetRawExtensionForOsinProvider(obj runtime.Object) (*runtime.RawExtension, error)
- func GetUserForToken(config *restclient.Config, token, expectedUsername string) (*userv1.User, error)
- type NewRequestTokenOptionsFunc
Constants ¶
View Source
const ( RouteName = "test-oauth-route" SAName = "e2e-oauth" )
Variables ¶
This section is empty.
Functions ¶
func GetRawExtensionForOsinProvider ¶
func GetRawExtensionForOsinProvider(obj runtime.Object) (*runtime.RawExtension, error)
func GetUserForToken ¶
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
Click to show internal directories.
Click to hide internal directories.