config

package
v0.0.0-...-d6e517e Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(
	NewRings,
)

Functions

This section is empty.

Types

type Match

type Match struct {
	All []*Rule
	Any []*Rule
}

type PluginRawData

type PluginRawData []byte

type Ring

type Ring struct {
	ID    string
	Match Match
}

type Rings

type Rings []*Ring

func NewRings

func NewRings(raw PluginRawData) (Rings, error)

type Rule

type Rule struct {
	Key      string
	Operator string
	Values   []*RuleValue
}

func (*Rule) NumberValues

func (r *Rule) NumberValues() []float64

type RuleValue

type RuleValue struct {
	// contains filtered or unexported fields
}

func (*RuleValue) IsNumber

func (r *RuleValue) IsNumber() (float64, bool, error)

type VMRawData

type VMRawData []byte

Jump to

Keyboard shortcuts

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