deploylog

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2017 License: Apache-2.0 Imports: 21 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package deploylog provides a Registry interface for retrieving deployment logs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type REST

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

REST is an implementation of RESTStorage for the api server.

func NewREST

NewREST creates a new REST for DeploymentLogs. It uses three clients: one for configs, one for deployments (replication controllers) and one for pods to get the necessary attributes to assemble the URL to which the request shall be redirected in order to get the deployment 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 deployment log

func (*REST) New

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

New creates an empty DeploymentLog resource

func (*REST) NewGetOptions

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

NewGetOptions returns a new options object for deployment logs

Jump to

Keyboard shortcuts

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