groupproperty

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2022 License: BSD-2-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckValueFiltersMatch added in v0.5.3

func CheckValueFiltersMatch(filters []Filter, value []string) bool

Types

type Filter

type Filter interface {
	ApplyPropertyGroups(context.Context, PropertyGroups) (PropertyGroups, error)
	// contains filtered or unexported methods
}

func GetExclusiveValueFilter added in v0.5.1

func GetExclusiveValueFilter(values [][]string) Filter

func GetGroupFilter

func GetGroupFilter(key []string, regex string) Filter

func GetValueFilter

func GetValueFilter(value []string) Filter

type OIDReader

type OIDReader interface {
	// contains filtered or unexported methods
}

func Interface2OIDReader

func Interface2OIDReader(i interface{}) (OIDReader, error)

type PropertyGroups

type PropertyGroups []propertyGroup

func (*PropertyGroups) Decode

func (g *PropertyGroups) Decode(destination interface{}) error

func (*PropertyGroups) Encode added in v0.5.1

func (g *PropertyGroups) Encode(data interface{}) error

type Reader

type Reader interface {
	GetProperty(ctx context.Context, filter ...Filter) (PropertyGroups, []value.Value, error)
}

func Interface2Reader

func Interface2Reader(i interface{}, parentReader Reader) (Reader, error)

type ValueFilter

type ValueFilter interface {
	CheckMatch([]string) bool
	AddException([]string) Filter
}

Jump to

Keyboard shortcuts

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