package
2.1.4+incompatible
Repository: https://github.com/shivkb/contiv-vpp.git
Documentation: pkg.go.dev
# Functions
GetID returns ID of a policy.
Key returns the key under which a given K8s policy is stored in the data store.
KeyPrefix returns the key prefix identifying all K8s policies in the data store.
ParsePolicyFromKey parses policy and namespace ids from the associated data-store key.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PolicyKeyword defines the keyword identifying Network policy data.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
ID used to uniquely represent a K8s Policy.
Policy describes what network traffic is allowed for a set of Pods.
Egress rule matches traffic if and only if the traffic matches both port-s AND to.
Ingress rule matches traffic if and only if the traffic matches both port-s AND from.
Label is a key/value pair attached to an object (namespace in this case).
A label selector is a label query over a set of resources.
An expression that contains values, a label key, and an operator that relates the key and values.
A selector for a set of pods.
IPBlock describes a particular CIDR (Ex.
A port selector.
Numerical or named port.
# Type aliases
Operator represents a key's relationship to a set of values.
PolicyType selects the rule types that the network policy relates to.
Port reference type.
The protocol (TCP or UDP) which traffic must match.