package
2.1.4+incompatible
Repository: https://github.com/shivkb/contiv-vpp.git
Documentation: pkg.go.dev
# Functions
NewContivRuleTable is a constructor for ContivRuleTable.
NewLocalTables is a constructor for LocalTables.
NewPodSet is a constructor for PodSet.
NewPorts is a constructor for Ports.
# Constants
AnyPort is a constant that represents any port.
EgressOrientation means that rules are applied on the traffic *leaving* the vswitch through the interfaces.
Global table is applied to match against traffic entering (IngressOrientation) or leaving (EgressOrientation) the node.
GlobalTableID is the ID of the global table.
IngressOrientation means that rules are applied on the traffic *arriving* from the interfaces into the vswitch.
Local table is applied to match against traffic leaving (IngressOrientation) or entering (EgressOrientation) a selected subset of pods.
# Structs
ContivRuleTable is a table consisting of Contiv Rules, ordered such that if rule *r1* matches subset of the traffic matched by *r2*, then r1 precedes r2 in the list.
Deps lists dependencies of RendererCache.
LocalTables is an ordered list of all cached local tables.
PodConfig encapsulates pod configuration (passed through RendererCacheTxn.Update()).
RendererCache implements RendererCacheAPI.
RendererCacheTxn represents a single transaction of RendererCache.
TxnChange represents change in the RendererCache to be performed by a transaction.
# Interfaces
RendererCacheAPI defines API of a cache used to store Contiv rules.
Txn defines API of RendererCache transaction.
View allows to read the cache content.
# Type aliases
AllocatedIDs represents a set of all allocated IDs.
Config is used to store snapshot of the configuration as received through RendererCacheTxn.Update().
Orientation is either "IngressOrientation" or "EgressOrientation".
PodSet is a set of pods.
Ports is a set of port numbers.
TableType is either "Local" or "Global".