logs

package
v0.5.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2019 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logs

type Logs struct {
	F_Follow     bool   `desc:"Follow log output"`
	S_Since      string `desc:"Logs since a certain time, either duration (5s, 2m, 3h) or RFC3339"`
	P_Previous   bool   `desc:"Print the logs for the previous instance of the container in a pod if it exists"`
	C_Container  string `desc:"Print the logs of a specific container"`
	R_Revision   string `desc:"Print the logs of a specific revision"`
	N_Tail       int    `desc:"Number of recent lines of logs to print, -1 for all" default:"200"`
	A_All        bool   `desc:"Include hidden or systems logs when logging"`
	T_Timestamps bool   `desc:"Print the logs with timestamp"`
}

func (*Logs) Run

func (l *Logs) Run(ctx *clicontext.CLIContext) error

Jump to

Keyboard shortcuts

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