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.
Click to show internal directories.
Click to hide internal directories.