handlers

package
v3.8.11-1+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2017 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Forbidden

func Forbidden(reason string, attributes kauthorizer.Attributes, w http.ResponseWriter, req *http.Request)

Forbidden renders a simple forbidden error to the response

func NewBypassAuthorizer

func NewBypassAuthorizer(auth kauthorizer.Authorizer, paths ...string) kauthorizer.Authorizer

NewBypassAuthorizer creates an Authorizer that always allows the exact paths described, and delegates to the nested authorizer for everything else.

func TranslateLegacyScopeImpersonation

func TranslateLegacyScopeImpersonation(handler http.Handler) http.Handler

TranslateLegacyScopeImpersonation is a filter that will translates user scope impersonation for openshift into the equivalent kube headers.

Types

This section is empty.

Jump to

Keyboard shortcuts

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