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(clusterRARRegistry resourceaccessreview.Registry) *REST

func (*REST) Create

Create transforms a LocalRAR into an ClusterRAR that is requesting a namespace. That collapses the code paths. LocalResourceAccessReview exists to allow clean expression of policy.

func (*REST) NamespaceScoped

func (s *REST) NamespaceScoped() bool

func (*REST) New

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

Source Files