Documentation ¶
Index ¶
Constants ¶
View Source
const ( ArgName = "name" ArgPrefix = "prefix" ArgVerbose = "verbose" ArgOut = "out" ArgFollow = "follow" ArgRefreshInterval = "refresh-interval" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Args ¶
type Args struct { CgroupName string CgroupPrefix string VerboseOutput bool OutputFile string FollowMode bool RefreshInterval float64 }
func (*Args) GetRefreshInterval ¶
func (*Args) HasOutputFile ¶
type CgroupStatsProviderFn ¶
type CgroupStatsProviderFn func() (common.CgroupStatsCollection, error)
CgroupStatsProviderFn controls which set of CgroupStats are returned for a user request.
Click to show internal directories.
Click to hide internal directories.