selfsubjectreview

package
v1.31.3 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type REST

type REST struct {
}

REST implements a RESTStorage for selfsubjectreviews.

func NewREST

func NewREST() *REST

NewREST returns a RESTStorage object that will work against selfsubjectreviews.

func (*REST) Create

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

Create returns attributes of the subject making the request.

func (*REST) Destroy

func (r *REST) Destroy()

Destroy cleans up resources on shutdown.

func (*REST) GetSingularName added in v1.27.0

func (r *REST) GetSingularName() string

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 selfsubjectreview object.

Jump to

Keyboard shortcuts

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