registry

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2015 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Strategy = templateStrategy{kapi.Scheme, kapi.SimpleNameGenerator}

Strategy is the default logic that applies when creating and updating Template objects via the REST API.

Functions

func MatchTemplate added in v0.3.2

func MatchTemplate(label, field labels.Selector) generic.Matcher

MatchTemplate returns a generic matcher for a given label and field selector.

Types

type REST

type REST struct{}

REST implements RESTStorage interface for processing Template objects.

func NewREST

func NewREST() *REST

NewREST creates new RESTStorage interface for processing Template objects.

func (*REST) Create

func (s *REST) Create(ctx kapi.Context, obj runtime.Object) (runtime.Object, error)

func (*REST) New

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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