Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logs ¶
type Logs struct { S_Since string `desc:"Logs since a certain time, either duration (5s, 2m, 3h) or RFC3339" default:"24h"` T_Timestamps bool `desc:"Print the logs with timestamp" default:"false"` N_Tail int `desc:"Number of recent lines to print, -1 for all" default:"200"` C_Container string `desc:"Print the logs of a specific container, use -a for system containers"` P_Previous bool `desc:"Print the logs for the previous instance of the container in a pod if it exists, excludes running"` A_All bool `desc:"Include hidden or systems logs when logging" default:"false"` NC_NoColor bool `desc:"Dont show color when logging" default:"false"` O_Output string `desc:"Output format: [default, raw, json]"` }
func (*Logs) Output ¶ added in v0.6.0
func (l *Logs) Output(ctx *clicontext.CLIContext, conf *stern.Config) error
func (*Logs) Run ¶
func (l *Logs) Run(ctx *clicontext.CLIContext) error
Click to show internal directories.
Click to hide internal directories.