Documentation
¶
Overview ¶
Package cgroupsprinter provides functions to print cgroup information.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPresetNames ¶
func GetPresetNames() []string
GetPresetNames returns the list of preset names.
Types ¶
type Column ¶
type Column struct {
Name string `yaml:"name"`
Template string `yaml:"template"` // Template is a Go template string.
// contains filtered or unexported fields
}
Column defines a column for cgroups printer.
type Schema ¶
type Schema struct {
Columns []*Column `yaml:"columns"`
}
Schema defines columns for cgroups printer.
func (*Schema) HeaderLine ¶
HeaderLine returns the header line.
Click to show internal directories.
Click to hide internal directories.