openshift

package
v2.14.13+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2021 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConsoleLoginEndpoint

func ConsoleLoginEndpoint(
	log *zap.SugaredLogger,
	extractor transporthttp.RequestFunc,
	projectProvider provider.ProjectProvider,
	privilegedProjectProvider provider.PrivilegedProjectProvider,
	userInfoGetter provider.UserInfoGetter,
	middlewares endpoint.Middleware) http.Handler

ConsoleLoginEndpoint is an endpoint that gets an oauth token for the user from the openshift oauth service, then redirects back to the openshift console

func ConsoleProxyEndpoint

func ConsoleProxyEndpoint(
	log *zap.SugaredLogger,
	extractor transporthttp.RequestFunc,
	projectProvider provider.ProjectProvider,
	privilegedProjectProvider provider.PrivilegedProjectProvider,
	userInfoGetter provider.UserInfoGetter,
	middlewares endpoint.Middleware) http.Handler

ConsoleProxyEndpoint is an endpoint that proxies to the Openshift console running in the seed. It also performs authentication on the users behalf. Currently, it only supports login as cluster-admin user, so this must not be accessible for users that are not cluster admin.

Types

This section is empty.

Jump to

Keyboard shortcuts

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