Version: v4.1.0+incompatible Latest Latest

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

Go to latest
Published: May 1, 2019 License: Apache-2.0 Imports: 13 Imported by: 10




This section is empty.


This section is empty.


func NewREST

func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *DetailsREST, error)

NewREST returns a RESTStorage object that will work against Build objects.


type DetailsREST

type DetailsREST struct {
	// contains filtered or unexported fields

func (*DetailsREST) New

func (r *DetailsREST) New() runtime.Object

New returns an empty object that can be used with Update after request data has been put into it.

func (*DetailsREST) Update

func (r *DetailsREST) Update(ctx context.Context, name string, objInfo rest.UpdatedObjectInfo, createValidation rest.ValidateObjectFunc, updateValidation rest.ValidateObjectUpdateFunc, forceAllowCreate bool, options *metav1.UpdateOptions) (runtime.Object, bool, error)

Update finds a resource in the storage and updates it.

type LegacyREST

type LegacyREST struct {

LegacyREST allows us to wrap and alter some behavior

func (*LegacyREST) Categories

func (r *LegacyREST) Categories() []string

type REST

type REST struct {

func (*REST) Categories

func (r *REST) Categories() []string

Categories implements the CategoriesProvider interface. Returns a list of categories a resource is part of.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL