k8s

package
v0.0.0-...-793517a Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthorizer

func NewAuthorizer(group, resource, verb string) (authorization.Authorizer, error)

NewAuthorizer - Create a new authorizer client.

Types

type AuthorizationUser

type AuthorizationUser struct {
	authv1.UserInfo
}

AuthorizationUser - A user to be used by the k8s authorizer.

func (AuthorizationUser) Username

func (u AuthorizationUser) Username() string

Username - return the username.

Jump to

Keyboard shortcuts

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