generator

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 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 CloneREST

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

CloneREST 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) *CloneREST

NewStorage creates a new storage object for build generation

func (*CloneREST) Create

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

Create instantiates a new build from an existing build

func (*CloneREST) New

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

New creates a new build clone request

Jump to

Keyboard shortcuts

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