buildclone

package
v3.11.0-alpha.0+incomp... Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Strategy = strategy{legacyscheme.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, createValidation rest.ValidateObjectFunc, _ bool) (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