Documentation ¶
Index ¶
- Variables
- func StartEndpointsWatcher(clientset *kubernetes.Clientset, resyncPeriod time.Duration, namespace string, ...) (*endpointsWatcher, error)
- func StartNetworkPolicyWatcher(clientset *kubernetes.Clientset, resyncPeriod time.Duration, namespace string, ...) (*networkPolicyWatcher, error)
- func StartNodeWatcher(clientset *kubernetes.Clientset, resyncPeriod time.Duration, ...) (*nodeWatcher, error)
- func StartPodWatcher(clientset *kubernetes.Clientset, resyncPeriod time.Duration) (*podWatcher, error)
- func StartServiceWatcher(clientset kubernetes.Interface, resyncPeriod time.Duration, namespace string) (*serviceWatcher, error)
- func StopEndpointsWatcher()
- func StopNetworkPolicyWatcher()
- func StopNodeWatcher()
- func StopPodWatcher()
- func StopServiceWatcher()
- type EndpointsUpdate
- type EndpointsUpdatesHandler
- type NetworkPolicyUpdate
- type NetworkPolicyUpdatesHandler
- type NodeUpdate
- type NodeUpdatesHandler
- type PodUpdate
- type PodUpdatesHandler
- type ServiceUpdate
- type ServiceUpdatesHandler
Constants ¶
This section is empty.
Variables ¶
View Source
var (
EndpointsWatcher *endpointsWatcher
)
View Source
var (
NetworkPolicyWatcher *networkPolicyWatcher
)
View Source
var (
NodeWatcher *nodeWatcher
)
View Source
var (
PodWatcher *podWatcher
)
View Source
var (
ServiceWatcher *serviceWatcher
)
Functions ¶
func StartEndpointsWatcher ¶
func StartNodeWatcher ¶
func StartPodWatcher ¶
func StartPodWatcher(clientset *kubernetes.Clientset, resyncPeriod time.Duration) (*podWatcher, error)
func StartServiceWatcher ¶
func StopEndpointsWatcher ¶
func StopEndpointsWatcher()
func StopNetworkPolicyWatcher ¶
func StopNetworkPolicyWatcher()
func StopNodeWatcher ¶
func StopNodeWatcher()
func StopPodWatcher ¶
func StopPodWatcher()
func StopServiceWatcher ¶
func StopServiceWatcher()
Types ¶
type EndpointsUpdatesHandler ¶
type EndpointsUpdatesHandler interface {
OnEndpointsUpdate(endpointsUpdate *EndpointsUpdate)
}
type NetworkPolicyUpdate ¶
type NetworkPolicyUpdatesHandler ¶
type NetworkPolicyUpdatesHandler interface {
OnNetworkPolicyUpdate(networkPolicyUpdate *NetworkPolicyUpdate)
}
type NodeUpdatesHandler ¶
type NodeUpdatesHandler interface {
OnNodeUpdate(nodeUpdate *NodeUpdate)
}
type PodUpdatesHandler ¶
type PodUpdatesHandler interface {
OnPodUpdate(podUpdate *PodUpdate)
}
type ServiceUpdatesHandler ¶
type ServiceUpdatesHandler interface {
OnServiceUpdate(serviceUpdate *ServiceUpdate)
}
Click to show internal directories.
Click to hide internal directories.