selfsubjectrulesreview

package
Version: v0.0.0-...-d88c8b5 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2021 License: Apache-2.0 Imports: 9 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 a RESTStorage for selfsubjectrulesreview.

func NewREST

func NewREST(ruleResolver authorizer.RuleResolver) *REST

NewREST returns a RESTStorage object that will work against selfsubjectrulesreview.

func (*REST) Create

func (r *REST) Create(ctx context.Context, obj runtime.Object, createValidation rest.ValidateObjectFunc, options *metav1.CreateOptions) (runtime.Object, error)

Create attempts to get self subject rules in specific namespace.

func (*REST) NamespaceScoped

func (r *REST) NamespaceScoped() bool

NamespaceScoped fulfill rest.Scoper

func (*REST) New

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

New creates a new selfsubjectrulesreview object.

Source Files

Jump to

Keyboard shortcuts

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