buildclone

package
v3.6.131-1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2017 License: Apache-2.0 Imports: 8 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 apirequest.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