package
2.1.4+incompatible
Repository: https://github.com/shivkb/contiv-vpp.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Constants
ConfigFlagName is name of the flag that defines kubeconfig location.
KubeConfigAdmin is the default location of kubeconfig with admin credentials.
KubeConfigUsage explains the purpose of 'kube-config' flag.
MicroserviceLabel is the microservice label used by contiv-ksr.
# Variables
DefaultPlugin is default instance of Plugin.
MockK8sCache holds the k8s mock cache.
# Structs
Deps defines dependencies of ksr plugin.
EndpointsReflector subscribes to K8s cluster to watch for changes in the configuration of k8s service endpoints.
EtcdMonitor defines the state data for the Etcd Monitor.
NamespaceReflector subscribes to K8s cluster to watch for changes in the configuration of k8s namespaces.
NodeReflector subscribes to K8s cluster to watch for changes in the configuration of k8s nodes.
Plugin watches K8s resources and causes all changes to be reflected in the ETCD data store.
PodReflector subscribes to K8s cluster to watch for changes in the configuration of k8s pods.
PolicyReflector subscribes to K8s cluster to watch for changes in the configuration of k8s network policies.
Reflector holds data that is common to all KSR reflectors.
ReflectorFunctions defines the function types required in the KSR reflector.
ReflectorRegistry defines the data structures for the KSR Reflector Registry.
ServiceReflector subscribes to K8s cluster to watch for changes in the configuration of k8s services.
SfcPodReflector subscribes to K8s cluster to watch for changes in the configuration of k8s pods.
StatsCollector defines the data structures for the KSR Stats Collector.
# Interfaces
K8sListWatcher is used to watch for Kubernetes config changes.
KeyProtoValBroker defines KSR's interface to the key-value data store.
# Type aliases
DsItems defines the structure holding items listed from the data store.
K8sClientGetter defines the signature for a function that allocates a REST client for a given K8s data type.
K8sToProtoConverter defines the signature for a function converting k8s objects to KSR protobuf objects.
Option is a function that acts on a Plugin to inject Dependencies or configuration.
ProtoAllocator defines the signature for a protobuf message allocation function.