storage

package
v0.0.0-...-b479636 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2017 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 REST

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

func NewREST

func NewREST(optsGetter generic.RESTOptionsGetter) *REST

func (*REST) Create

func (r *REST) Create(ctx genericapirequest.Context, obj runtime.Object, includeUninitialized bool) (runtime.Object, error)

func (*REST) Delete

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

func (*REST) Get

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

TODO (rantuttl): Switch to GetterWithOptions interface support. This will allow us to add query parms to the resource. The 'Get' signature has a different type for options. Will also need to implement 'NewGetOptions' method to support the installer. It will return the type (e.g., AccountOptions) to support the query parms.

func (*REST) New

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

func (*REST) NewList

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

Jump to

Keyboard shortcuts

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