package
3.4.2
Repository: https://github.com/grafana/loki.git
Documentation: pkg.go.dev

# Functions

Defaults registers flags to the flagSet using dst as the flagext.Registerer.
DefaultUnmarshal is a higher level wrapper for Unmarshal that automatically parses flags and a .yaml file.
DynamicUnmarshal handles populating a config based on the following precedence: 1.
Flags parses the flag from the command line, setting only user-supplied values on the flagext.Registerer passed to Defaults().
JSON returns a Source that opens the supplied `.json` file and loads it.
Unmarshal merges the values of the various configuration sources and sets them on `dst`.
YAML returns a Source that opens the supplied `.yaml` file and loads it.

# Variables

# Interfaces

Cloneable is a config which can be cloned into a flagext.Registerer Contract: the cloned value must not mutate the original.
DynamicCloneable must be implemented by config structs that can be dynamically unmarshalled.

# Type aliases

Source is a generic configuration source.