buildlog

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2015 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type REST

type REST struct {
	BuildRegistry  build.Registry
	PodGetter      pod.ResourceGetter
	ConnectionInfo kclient.ConnectionInfoGetter
	Timeout        time.Duration
}

REST is an implementation of RESTStorage for the api server.

func NewREST

func NewREST(b build.Registry, pn kclient.PodsNamespacer, connectionInfo kclient.ConnectionInfoGetter) *REST

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

func (*REST) Get

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

Get returns a streamer resource with the contents of the build log

func (*REST) New

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

New creates an empty BuildLog resource

func (*REST) NewGetOptions

func (r *REST) NewGetOptions() (runtime.Object, bool, string)

NewGetOptions returns a new options object for build logs

Jump to

Keyboard shortcuts

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