package
2.1.4+incompatible
Repository: https://github.com/shivkb/contiv-vpp.git
Documentation: pkg.go.dev

# Constants

MatchEgress matches egress traffic.
MatchIngress matches ingress traffic.
PolicyAll tells policy to apply to both traffic directions.
PolicyEgress tells policy to apply to egress only.
PolicyIngress tells policy to apply to ingress only.
TCP protocol.
UDP protocol.

# Structs

ContivPolicy is a less-abstract, free of indirect references representation of K8s Network Policy.
ContivRules is a list of Contiv rules without duplicities.
Deps lists dependencies of PolicyConfigurator.
IPBlock selects a particular CIDR with possible exceptions.
Match is a predicate that select a subset of the traffic.
PeerPod represents the opposite pod in the policy rule.
PolicyConfigurator translates a set of Contiv Policies into ingress and egress lists of Contiv Rules (n-tuples with the most basic policy rule definition) and applies them into the target vswitch via registered renderers.
PolicyConfiguratorTxn represents a single transaction of the policy configurator.
Port represent a TCP or UDP port.
ProcessedPolicySet stores configuration already generated for a given set of policies.

# Interfaces

IPAM interface lists IPAM methods needed by Policy Configurator.
PolicyConfiguratorAPI defines the API of Policy Configurator.
Txn defines the API of PolicyConfigurator transaction.

# Type aliases

ContivPolicies is a list of policies that can be ordered by policy ID.
MatchType selects the direction of the traffic to apply a Match to.
PodIPAddresses is a map used to remember IP address for each configured pod.
PolicyType selects the rule types that the network policy relates to.
ProtocolType is either TCP or UDP.