storage

package
v0.0.0-...-1c98ef4 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserREST

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

UserREST impl user rest

func NewREST

func NewREST(optsGetter generic.RESTOptionsGetter) *UserREST

NewREST new rest

func (*UserREST) Create

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

Create imple create

func (*UserREST) Delete

func (r *UserREST) Delete(ctx context.Context, name string, options *metav1.DeleteOptions) (runtime.Object, bool, error)

Delete impl delete

func (*UserREST) Get

func (r *UserREST) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error)

Get impl get

func (*UserREST) List

List impl list

func (*UserREST) NamespaceScoped

func (r *UserREST) NamespaceScoped() bool

NamespaceScoped implement scoper interface.

func (*UserREST) New

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

New impl New

func (*UserREST) NewList

func (r *UserREST) NewList() runtime.Object

NewList impl NewList

func (*UserREST) Update

func (r *UserREST) Update(ctx context.Context, name string, objInfo rest.UpdatedObjectInfo,
	createValidation rest.ValidateObjectFunc, updateValidation rest.ValidateObjectUpdateFunc,
	forceAllowCreate bool, options *metav1.UpdateOptions) (runtime.Object, bool, error)

Update impl update

func (*UserREST) Watch

Watch impl watch

Jump to

Keyboard shortcuts

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