MCPcopy Index your code
hub / github.com/cortexproject/cortex / isModuleEnabled

Method isModuleEnabled

pkg/cortex/cortex.go:264–266  ·  view source on GitHub ↗
(m string)

Source from the content-addressed store, hash-verified

262}
263
264func (c *Config) isModuleEnabled(m string) bool {
265 return slices.Contains(c.Target, m)
266}
267
268// validateYAMLEmptyNodes ensure that no empty node has been specified in the YAML config file.
269// When an empty node is defined in YAML, the YAML parser sets the whole struct to its zero value

Callers 6

initOverridesExporterMethod · 0.80
initQuerierMethod · 0.80
initBlockStoreQueryableFunction · 0.80
initRulerStorageMethod · 0.80
initAlertManagerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected