Documentation ¶
Overview ¶
Package k8s containers adapters to watch k8s api servers.
Index ¶
- func NewBuffer(g *workgroup.Group, rh cache.ResourceEventHandler, log logrus.FieldLogger, ...) cache.ResourceEventHandler
- func WatchEndpoints(g *workgroup.Group, client *kubernetes.Clientset, log logrus.FieldLogger, ...)
- func WatchIngress(g *workgroup.Group, client *kubernetes.Clientset, log logrus.FieldLogger, ...)
- func WatchSecrets(g *workgroup.Group, client *kubernetes.Clientset, log logrus.FieldLogger, ...)
- func WatchServices(g *workgroup.Group, client *kubernetes.Clientset, log logrus.FieldLogger, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBuffer ¶ added in v0.3.0
func NewBuffer(g *workgroup.Group, rh cache.ResourceEventHandler, log logrus.FieldLogger, size int) cache.ResourceEventHandler
NewBuffer returns a ResourceEventHandler which buffers and serialises ResourceEventHandler events.
func WatchEndpoints ¶
func WatchEndpoints(g *workgroup.Group, client *kubernetes.Clientset, log logrus.FieldLogger, rs ...cache.ResourceEventHandler)
WatchEndpoints creates a SharedInformer for v1.Endpoints and registers it with g.
func WatchIngress ¶
func WatchIngress(g *workgroup.Group, client *kubernetes.Clientset, log logrus.FieldLogger, rs ...cache.ResourceEventHandler)
WatchIngress creates a SharedInformer for v1beta1.Ingress and registers it with g.
func WatchSecrets ¶ added in v0.3.0
func WatchSecrets(g *workgroup.Group, client *kubernetes.Clientset, log logrus.FieldLogger, rs ...cache.ResourceEventHandler)
WatchSecrets creates a SharedInformer for v1.Secrets and registers it with g.
func WatchServices ¶
func WatchServices(g *workgroup.Group, client *kubernetes.Clientset, log logrus.FieldLogger, rs ...cache.ResourceEventHandler)
WatchServices creates a SharedInformer for v1.Services and registers it with g.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.