proxy

package
v3.9.0-alpha.4+incompa... Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2018 License: Apache-2.0 Imports: 21 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
}

func NewREST

NewREST returns a RESTStorage object that will work against Project resources

func (*REST) Create

func (s *REST) Create(ctx apirequest.Context, obj runtime.Object, creationValidation rest.ValidateObjectFunc, _ bool) (runtime.Object, error)

Create registers the given Project.

func (*REST) Delete

func (s *REST) Delete(ctx apirequest.Context, name string) (runtime.Object, error)

Delete deletes a Project specified by its name

func (*REST) Get

func (s *REST) Get(ctx apirequest.Context, name string, options *metav1.GetOptions) (runtime.Object, error)

Get retrieves a Project by name

func (*REST) List

func (s *REST) List(ctx apirequest.Context, options *metainternal.ListOptions) (runtime.Object, error)

func (*REST) New

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

New returns a new Project

func (*REST) NewList

func (*REST) NewList() runtime.Object

NewList returns a new ProjectList

func (*REST) Update added in v1.0.5

func (s *REST) Update(ctx apirequest.Context, name string, objInfo rest.UpdatedObjectInfo, creationValidation rest.ValidateObjectFunc, updateValidation rest.ValidateObjectUpdateFunc) (runtime.Object, bool, error)

func (*REST) Watch added in v1.3.0

func (s *REST) Watch(ctx apirequest.Context, options *metainternal.ListOptions) (watch.Interface, error)

Jump to

Keyboard shortcuts

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