kubernetesk8s.io/kubernetes/pkg/registry/pod/rest Index | Files

package rest

import "k8s.io/kubernetes/pkg/registry/pod/rest"

Index

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

Source Files

log.go

Version
v1.2.0-alpha.3
Published
Nov 3, 2015
Platform
js/wasm
Imports
10 packages
Last checked
7 minutes ago

Tools for package owners.