Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ModelLabelSetToMap ¶
func ModelLabelSetToMap(m model.LabelSet) map[string]string
ModelLabelSetToMap convert a model.LabelSet to a map[string]string
func ToClientLabels ¶
func ToClientLabels(labels string) ([]client.LabelAdapter, error)
ToClientLabels parses the labels and converts them to the Cortex type.
Types ¶
type MultiError ¶
type MultiError []error
The MultiError type implements the error interface, and contains the Errors used to construct it.
func (*MultiError) Add ¶
func (es *MultiError) Add(err error)
Add adds the error to the error list if it is not nil.
Click to show internal directories.
Click to hide internal directories.