Documentation ¶
Index ¶
Constants ¶
View Source
const ( BooleanType vType = "boolean" StringType vType = "string" IntType vType = "int" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Aggregator ¶
type Aggregator interface { Aggregate(g *model.DataGroup, s *LabelSelectors) Dump() []*model.DataGroup }
type LabelKeys ¶
type LabelKeys struct {
// contains filtered or unexported fields
}
func GetLabelsKeys ¶
func GetLabelsKeys(attributeMap *model.AttributeMap) *LabelKeys
GetLabelsKeys TODO Sort before you real need to use this key
func NewLabelKeys ¶
func (*LabelKeys) GetLabels ¶
func (k *LabelKeys) GetLabels() *model.AttributeMap
type LabelSelector ¶
type LabelSelector struct { Name string VType vType }
type LabelSelectors ¶
type LabelSelectors struct {
// contains filtered or unexported fields
}
func NewLabelSelectors ¶
func NewLabelSelectors(selectors ...LabelSelector) *LabelSelectors
func (*LabelSelectors) AppendSelectors ¶
func (s *LabelSelectors) AppendSelectors(selectors ...LabelSelector)
func (*LabelSelectors) GetLabelKeys ¶
func (s *LabelSelectors) GetLabelKeys(labels *model.AttributeMap) *LabelKeys
Click to show internal directories.
Click to hide internal directories.