template

package
v0.2.1 Latest Latest
Warning

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

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

REST implements RESTStorage interface for Template objects.

func NewREST

func NewREST() *REST

NewREST creates new RESTStorage interface for Template objects.

func (*REST) Create

func (s *REST) Create(ctx kapi.Context, obj runtime.Object) (<-chan apiserver.RESTResult, error)

func (*REST) Delete

func (s *REST) Delete(ctx kapi.Context, id string) (<-chan apiserver.RESTResult, error)

func (*REST) Get

func (s *REST) Get(ctx kapi.Context, id string) (runtime.Object, error)

func (*REST) List

func (s *REST) List(ctx kapi.Context, selector, fields labels.Selector) (runtime.Object, error)

func (*REST) New

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

func (*REST) NewList

func (*REST) NewList() runtime.Object

func (*REST) Update

func (s *REST) Update(ctx kapi.Context, tpl runtime.Object) (<-chan apiserver.RESTResult, error)

Jump to

Keyboard shortcuts

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