generator

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2015 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InstantiateREST

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

InstantiateREST is a RESTStorage implementation for a BuildGenerator which supports only the Get operation (as the generator has no underlying storage object).

func NewStorage

func NewStorage(generator *generator.BuildGenerator) *InstantiateREST

NewStorage creates a new storage object for build generation

func (*InstantiateREST) Create

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

Create instantiates a new build from a build configuration

func (*InstantiateREST) New

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

New creates a new build generation request

Jump to

Keyboard shortcuts

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