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

# Functions

NewMockRenderer is a constructor for MockRenderer.

# Constants

AllowedTraffic is returned by the mock renderer when the traffic is not blocked.
DeniedTraffic is returned by the mock renderer when the traffic is blocked.
EgressTraffic is the traffic direction from the vswitch to a pod.
IngressTraffic is the traffic direction from a pod to the vswitch.
UnmatchedTraffic is returned by the mock renderer when the traffic is not matched by any rule.

# Structs

MockRenderer is a mock implementation of the PolicyRenderer that allows to simulate a traffic and test what the outcome would be with the rendered configuration.
MockRendererTxn is a mock implementation for the renderer's transaction.
PodConfig stores configuration for a single pod.

# Type aliases

TrafficAction is one of DENIED, ALLOWED, UNMATCHED, INVALID.
TrafficDirection is one of: INGRESS, EGRESS.