package
1.19.0
Repository: https://github.com/cortexproject/cortex.git
Documentation: pkg.go.dev

# Functions

DefaultValues initiates a set of configs (Registerers) with their defaults.
DeprecatedFlag logs a warning when you try to use it.
IgnoredFlag ignores set value, without any warning.
NewDayValue makes a new DayValue; will round t down to the nearest midnight.
RegisterFlags registers flags with the provided Registerers.

# Variables

DeprecatedFlagsUsed is the metric that counts deprecated flags set.

# Structs

CIDR is a network CIDR.
DayValue is a model.Time that can be used as a flag.
URLValue is a url.URL that can be used as a flag.

# Interfaces

Registerer is a thing that can RegisterFlags.

# Type aliases

CIDRSliceCSV is a slice of CIDRs that is parsed from a comma-separated string.
StringSlice is a slice of strings that implements flag.Value.
StringSliceCSV is a slice of strings that is parsed from a comma-separated string It implements flag.Value and yaml Marshalers.
Time usable as flag or in YAML config.