rest

package
v1.2.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2015 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogREST

type LogREST struct {
	Store       *etcdgeneric.Etcd
	KubeletConn client.ConnectionInfoGetter
}

LogREST implements the log endpoint for a Pod TODO: move me into pod/rest - I'm generic to store type via ResourceGetter

func (*LogREST) Get

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

Get retrieves a runtime.Object that will stream the contents of the pod log

func (*LogREST) New

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

New creates a new Pod log options object

func (*LogREST) NewGetOptions

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

NewGetOptions creates a new options object

Jump to

Keyboard shortcuts

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