filter

package
v0.0.0-...-e6529c4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromACL

func FromACL(acl pathpol.ACL) segment.Filter

FromACL returns a segment.Filter that filters path segments according to a pathpol.ACL policy.

func FromFilters

func FromFilters(filters ...segment.Filter) segment.Filter

FromFilters returns a segment.Filter that applies a sequence of caller-supplied filters, in the given order.

func FromPredicate

func FromPredicate(accept func(segment.Segment) bool) segment.Filter

FromPredicate returns a segment.Filter that keeps path segments if and only if they satisfy a given predicate.

func FromSequence

func FromSequence(sequence pathpol.Sequence) segment.Filter

FromSequence returns a segment.Filter that filters path segments according to a given pathpol.Sequence policy.

func SrcDstPathEnumerator

func SrcDstPathEnumerator() segment.Filter

SrcDstPathEnumerator returns a segment.Filter that enumerates all paths between the given source ISD-AS and the destination ISD-AS that can be constructed from the given path segments.

Types

This section is empty.

Jump to

Keyboard shortcuts

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