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

# Packages

No description provided by the author

# Functions

NewAddPodEvent is constructor for AddPod event.
NewDeletePodEvent is constructor for DeletePod event.
NewPlugin creates a new Plugin with the provided Options.
UseDeps returns Option that can inject custom dependencies.

# Constants

IPv4 represents IP version 4.
IPv6 represents IP version 6.

# Variables

DefaultPlugin is a default instance of PodManager.

# Structs

AddPod event is triggered when a new pod is being deployed on this node.
DeletePod event is triggered when pod deployed on this node is being terminated.
Deps lists dependencies of PodManager.
IPWithGateway encapsulates IP address and gateway.
LocalPod represents a locally deployed pod (locally = on this node).
Pod represents a pod in the cluster (may or may not be local).
PodInterface represents a single pod interface.
PodManager plugin manages pods deployed on this node.
Route represents single IP route.

# Interfaces

API defines methods provided by PodManager for use by other plugins.
DockerClient defines API of a Docker client needed by PodManager.

# Type aliases

IPVersion is either v4 or v6.
LocalPods is a map of local pod-ID -> Pod info.
Option is a function that can be used in NewPlugin to customize Plugin.
Pods is a map of pod-ID -> Pod info.