rules

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LabelRule

type LabelRule struct {
	Label        string
	IndexingFunc values.IndexValueFunc
}

func DestinationAppGuidLabelRules

func DestinationAppGuidLabelRules(obj map[string]any) ([]LabelRule, error)

func (LabelRule) Apply

func (r LabelRule) Apply(obj map[string]any) (map[string]string, error)

type MultiLabelRule

type MultiLabelRule struct {
	LabelRules func(obj map[string]any) ([]LabelRule, error)
}

func (MultiLabelRule) Apply

func (r MultiLabelRule) Apply(obj map[string]any) (map[string]string, error)

Jump to

Keyboard shortcuts

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