Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DefaultKubeEventResyncInterval is the default resync interval for k8s events DefaultKubeEventResyncInterval = 30 * time.Second )
Variables ¶
This section is empty.
Functions ¶
func GetHostnamesForService ¶ added in v0.3.0
GetHostnamesForService returns a list of hostnames over which the service can be accessed within the local cluster.
func GetKubernetesEventHandlers ¶
func GetKubernetesEventHandlers(informerName string, providerName string, announcements chan interface{}, shouldObserve observeFilter) cache.ResourceEventHandlerFuncs
GetKubernetesEventHandlers creates Kubernetes events handlers.
func GetServiceFromHostname ¶ added in v0.3.0
GetServiceFromHostname returns the service name from its hostname
Types ¶
type Event ¶
type Event struct { Type EventType Value interface{} }
Event is the combined type and actual object we received from Kubernetes
Click to show internal directories.
Click to hide internal directories.