aggregationfilter

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DropRuleDelimiter      = "="
	MappingRuleDelimiter   = ":"
	RollupRuleDelimiter    = ":"
	ResourcePoolsDelimiter = ":"
)

Variables

This section is empty.

Functions

func ListFromModel

func ListFromModel(
	filter []*models.Configv1LabelFilter,
	kvDelimiter string,
) []string

ListFromModel converts an API model to a filter list.

func ListToModel

func ListToModel(
	filter []string,
	kvDelimiter string,
) ([]*models.Configv1LabelFilter, error)

ListToModel converts a filter list to an API model.

func StringFromModel

func StringFromModel(
	filter []*models.Configv1LabelFilter,
	kvDelimiter string,
) string

StringFromModel converts an API model to a filter string.

func StringToModel

func StringToModel(
	filter string,
	kvDelimiter string,
) ([]*models.Configv1LabelFilter, error)

StringToModel converts a filter string to an API model.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL