remote

package
v1.5.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthorizer

func NewAuthorizer(client RemoteAuthorizerClient) (authorizer.Authorizer, error)

Types

type RemoteAuthorizer

type RemoteAuthorizer struct {
	// contains filtered or unexported fields
}

RemoteAuthorizer provides authorization using subject access review and resource access review requests

func (*RemoteAuthorizer) Authorize

func (r *RemoteAuthorizer) Authorize(ctx kapi.Context, a authorizer.Action) (bool, string, error)

func (*RemoteAuthorizer) GetAllowedSubjects

func (r *RemoteAuthorizer) GetAllowedSubjects(ctx kapi.Context, attributes authorizer.Action) (sets.String, sets.String, error)

Jump to

Keyboard shortcuts

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