etcd

package
v0.0.0-...-ea77a8b Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2016 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const BuildPath = "/builds"

Variables

This section is empty.

Functions

func NewStorage

func NewStorage(s storage.Interface) (buildStorage *REST, detailsStorage *DetailsREST)

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

Types

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 kapi.Context, obj runtime.Object) (runtime.Object, bool, error)

Update finds a resource in the storage and updates it.

type REST

type REST struct {
	*etcdgeneric.Etcd
}

Jump to

Keyboard shortcuts

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