logs

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2019 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for getting pod logs.

func New

func New(config *rest.Config) (Client, error)

New creates a new client.

func (Client) Get

func (c Client) Get(namespace, name, container string) (string, error)

Get gets the logs for a container from a pod in a namespace.

type Interface

type Interface interface {
	Get(string, string, string) (string, error)
}

Interface for the logs client.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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