buildlog

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2014 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewREST

NewREST creates a new REST for BuildLog Takes build registry and pod client to get neccessary attibutes to assamble URL to which the request shall be redirected in order to get build logs.

Types

type REST

type REST struct {
	BuildRegistry build.Registry
	PodClient     client.PodInterface
	// contains filtered or unexported fields
}

REST is an implementation of RESTStorage for the api server.

func (*REST) Create

func (r *REST) Create(ctx kapi.Context, obj runtime.Object) (<-chan runtime.Object, error)

func (*REST) Delete

func (r *REST) Delete(ctx kapi.Context, id string) (<-chan runtime.Object, error)

func (*REST) Get

func (r *REST) Get(ctx kapi.Context, id string) (runtime.Object, error)

func (*REST) List

func (r *REST) List(ctx kapi.Context, selector, fields labels.Selector) (runtime.Object, error)

func (*REST) New

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

func (*REST) ResourceLocation

func (r *REST) ResourceLocation(ctx kapi.Context, id string) (string, error)

Redirector implementation

func (*REST) Update

func (r *REST) Update(ctx kapi.Context, obj runtime.Object) (<-chan runtime.Object, error)

Jump to

Keyboard shortcuts

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