Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ContextTodo = context.TODO() DockerTopArgs = []string{"auxww"} PrintedCSVHeader = false )
Functions ¶
func DisplayCurrentStats ¶
func DisplayCurrentStats(dockerClient *client.Client, ctx DisplayContext)
Types ¶
type DisplayContext ¶
type DisplayContext struct { Name string OutputFormat OutputMode }
type OutputMode ¶
type OutputMode = uint
const ( CSV OutputMode = iota JSON OutputMode = iota )
func ParseOutputFormat ¶
func ParseOutputFormat(str string) (OutputMode, error)
Click to show internal directories.
Click to hide internal directories.