package
0.0.0-20241004052545-caa2fb9b60ae
Repository: https://github.com/grafana/mimir.git
Documentation: pkg.go.dev
# Functions
ChainFlagMappers chains multiple flag mappers, each flag mapper gets a copy of the flags so it can safely modify the values.
FormatTime converts a time to a string acceptable by the Prometheus API.
No description provided by the author
GetDefaultImage returns the Docker image to use to run Mimir.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewClient makes a new Mimir client.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewQueryFrontend returns a new query-frontend instance.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NoopFlagMapper is a flag mapper that does not alter the provided flags.
RemoveFlagMapper builds a flag mapper that remove flags.
RenameFlagMapper builds a flag mapper that renames flags.
SetFlagMapper builds a flag mapper that sets the provided flags.
No description provided by the author
WithConfigFile returns an option that sets the config file flag if the provided string is not empty.
No description provided by the author
WithFlagMapper creates an option that sets a FlagMapper.
WithImage creates an option that overrides the image of the service.
WithNoopOption returns an option that doesn't change anything.
WithOtherPorts creates an option that adds other ports to the service.
WithPorts creats an option that overrides the HTTP and gRPC ports.
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
# Structs
No description provided by the author
Client is a client used to interact with Mimir in integration tests.
CompositeMimirService abstract an higher-level service composed, under the hood, by 2+ MimirService.
MimirService represents a Mimir service with at least an HTTP and GRPC port exposed.
Options holds a set of options for running services, they can be altered passing Option funcs.
No description provided by the author
ServerStatus represents a Alertmanager status response TODO: Upgrade to Alertmanager v0.20.0+ and utilize vendored structs.
# Type aliases
No description provided by the author
No description provided by the author
FlagMapper is the type of function that maps flags, just to reduce some verbosity.
Option modifies options.