Documentation
¶
Overview ¶
Package stats provides the container stats command.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdStats ¶
func NewCmdStats(f *cmdutil.Factory, runF func(context.Context, *StatsOptions) error) *cobra.Command
NewCmdStats creates a new stats command.
Types ¶
type StatsOptions ¶
type StatsOptions struct {
IOStreams *iostreams.IOStreams
TUI *tui.TUI
Client func(context.Context) (*docker.Client, error)
ProjectManager func() (project.ProjectManager, error)
Agent bool // if set to true, treat arguments as agent name
NoStream bool
NoTrunc bool
Containers []string
}
StatsOptions defines the options for the stats command.
Click to show internal directories.
Click to hide internal directories.