buildlog

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2015 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PodControlInterface added in v0.2.1

type PodControlInterface interface {
	// contains filtered or unexported methods
}

type REST

type REST struct {
	BuildRegistry  build.Registry
	PodControl     PodControlInterface
	ConnectionInfo kclient.ConnectionInfoGetter
}

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) New

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

func (*REST) ResourceLocation

func (r *REST) ResourceLocation(ctx kapi.Context, id string) (*url.URL, http.RoundTripper, error)

Redirector implementation

type RealPodControl added in v0.2.1

type RealPodControl struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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