# README
Pathpol lib
This directory contains the sequence parser. The parser was generated by Antlr and stored in this
git repository, in the sequence
subdirectory. That way the project doesn't have a build dependency
on Antlr tool. However, there's still the dependency on Antlr runtime library.
If sequence grammar (Sequence.g4
) is changed the parser has to be regenerated.
To do so, install Antlr on your machine, and run make
in this directory.
# Packages
No description provided by the author
# Functions
No description provided by the author
NewACL creates a new entry and checks for the presence of a default action.
No description provided by the author
NewPolicy creates a Policy and sorts its Options.
NewSequence creates a new sequence from a string.
PolicyFromExtPolicy creates a Policy from an extending Policy and the extended policies.
# Variables
ErrNoDefault indicates that there is no default acl entry.
# Structs
No description provided by the author
No description provided by the author
ExtPolicy is an extending policy, it may have a list of policies it extends.
FilterOptions contains options for filtering.
A HopPredicate specifies a hop in the ACL or Sequence of the path policy, see docs/PathPolicy.md.
Option contains a weight and a policy and is used as a list item in Policy.Options.
Policy is a compiled path policy object, all extended policies have been merged.
No description provided by the author
# Interfaces
Path describes a path or a partial path, e.g.
PathInterface is an interface on the path.