func NewConfig() *Config { return &Config{ Enabled: false, Registry: DefaultRegistry, Namespace: DefaultNamespace, MemSize: DefaultMemSize, SwapSize: DefaultSwapSize, CPUPeriod: toml.Duration(DefaultCPUPeriod), CPUQuota: toml.Duration(DefaultCPUQuota), } }
func NewConfig() *Config { return &Config{ Enabled: false, CollectInterval: toml.Duration(DefaultCollectInterval), } }