localsubjectaccessreview

package
v3.11.0-0.21.0+incompa... Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type REST

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

REST implements the RESTStorage interface in terms of an Registry.

func NewREST

func NewREST(clusterSARRegistry subjectaccessreview.Registry) *REST

func (*REST) Create

Create transforms a LocalSAR into an ClusterSAR that is requesting a namespace. That collapses the code paths. LocalSubjectAccessReview exists to allow clean expression of policy.

func (*REST) NamespaceScoped

func (s *REST) NamespaceScoped() bool

func (*REST) New

func (r *REST) New() runtime.Object

Jump to

Keyboard shortcuts

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