Documentation ¶
Overview ¶
Package service implements support for Kubernetes services for VPP using the VPP NAT plugin (https://wiki.fd.io/view/VPP/NAT).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deps ¶
type Deps struct { local.PluginInfraDeps Resync resync.Subscriber Watcher datasync.KeyValProtoWatcher /* prefixed for KSR-published K8s state data */ Contiv contiv.API /* to get the Node IP and all interface names */ VPP defaultplugins.API /* interface indexes && IP addresses */ }
Deps defines dependencies of the service plugin.
type Plugin ¶
type Plugin struct { Deps // contains filtered or unexported fields }
Plugin watches configuration of K8s resources (as reflected by KSR into ETCD) for changes in services, endpoints and pods and updates the NAT configuration in the VPP accordingly.
Click to show internal directories.
Click to hide internal directories.