buildclone

package
v1.5.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Strategy = strategy{kapi.Scheme}

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