Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ConfigEnvPath is what's used by viper to load config path
ConfigEnvPath = "NPM_CONFIG"
)
Variables ¶
View Source
var DefaultConfig = Config{ ResyncPeriodInMinutes: defaultResyncPeriod, ListeningPort: defaultListeningPort, ListeningAddress: "0.0.0.0", Toggles: Toggles{ EnablePrometheusMetrics: true, EnablePprof: true, EnableHTTPDebugAPI: true, EnableV2NPM: false, PlaceAzureChainFirst: false, }, }
DefaultConfig is the guaranteed configuration NPM can run in out of the box
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.