Documentation ¶
Index ¶
- Variables
- func StartEndpointsWatcher(clientset *kubernetes.Clientset, resyncPeriod time.Duration) (*endpointsWatcher, error)
- func StartNamespaceWatcher(clientset *kubernetes.Clientset, resyncPeriod time.Duration) (*namespaceWatcher, error)
- func StartNetworkPolicyWatcher(clientset *kubernetes.Clientset, resyncPeriod time.Duration) (*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.Clientset, resyncPeriod time.Duration) (*serviceWatcher, error)
- func StopEndpointsWatcher()
- func StopNamespaceWatcher()
- func StopNetworkPolicyWatcher()
- func StopNodeWatcher()
- func StopPodWatcher()
- func StopServiceWatcher()
- type EndpointsUpdate
- type EndpointsUpdatesHandler
- type NamespaceUpdate
- type NamespaceUpdatesHandler
- type NetworkPolicyUpdate
- type NetworkPolicyUpdatesHandler
- type NodeUpdate
- type NodeUpdatesHandler
- type Operation
- type PodUpdate
- type PodUpdatesHandler
- type ServiceUpdate
- type ServiceUpdatesHandler
Constants ¶
This section is empty.
Variables ¶
View Source
var (
EndpointsWatcher *endpointsWatcher
)
View Source
var (
NamespaceWatcher *namespaceWatcher
)
View Source
var (
NetworkPolicyWatcher *networkPolicyWatcher
)
View Source
var (
NodeWatcher *nodeWatcher
)
View Source
var (
PodWatcher *podWatcher
)
View Source
var (
ServiceWatcher *serviceWatcher
)
Functions ¶
func StartEndpointsWatcher ¶
func StartEndpointsWatcher(clientset *kubernetes.Clientset, resyncPeriod time.Duration) (*endpointsWatcher, error)
func StartNamespaceWatcher ¶
func StartNamespaceWatcher(clientset *kubernetes.Clientset, resyncPeriod time.Duration) (*namespaceWatcher, error)
func StartNetworkPolicyWatcher ¶
func StartNetworkPolicyWatcher(clientset *kubernetes.Clientset, resyncPeriod time.Duration) (*networkPolicyWatcher, error)
func StartNodeWatcher ¶ added in v0.0.5
func StartNodeWatcher(clientset *kubernetes.Clientset, resyncPeriod time.Duration) (*nodeWatcher, error)
func StartPodWatcher ¶
func StartPodWatcher(clientset *kubernetes.Clientset, resyncPeriod time.Duration) (*podWatcher, error)
func StartServiceWatcher ¶
func StartServiceWatcher(clientset *kubernetes.Clientset, resyncPeriod time.Duration) (*serviceWatcher, error)
func StopEndpointsWatcher ¶
func StopEndpointsWatcher()
func StopNamespaceWatcher ¶
func StopNamespaceWatcher()
func StopNetworkPolicyWatcher ¶
func StopNetworkPolicyWatcher()
func StopNodeWatcher ¶ added in v0.0.5
func StopNodeWatcher()
func StopPodWatcher ¶
func StopPodWatcher()
func StopServiceWatcher ¶
func StopServiceWatcher()
Types ¶
type EndpointsUpdate ¶
type EndpointsUpdatesHandler ¶
type EndpointsUpdatesHandler interface {
OnEndpointsUpdate(endpointsUpdate *EndpointsUpdate)
}
type NamespaceUpdate ¶
type NamespaceUpdatesHandler ¶
type NamespaceUpdatesHandler interface {
OnNamespaceUpdate(namespaceUpdate *NamespaceUpdate)
}
type NetworkPolicyUpdate ¶
type NetworkPolicyUpdate struct { NetworkPolicy *apiextensions.NetworkPolicy Op Operation }
type NetworkPolicyUpdatesHandler ¶
type NetworkPolicyUpdatesHandler interface {
OnNetworkPolicyUpdate(networkPolicyUpdate *NetworkPolicyUpdate)
}
type NodeUpdate ¶ added in v0.0.5
type NodeUpdatesHandler ¶ added in v0.0.5
type NodeUpdatesHandler interface {
OnNodeUpdate(nodeUpdate *NodeUpdate)
}
type PodUpdatesHandler ¶
type PodUpdatesHandler interface {
OnPodUpdate(podUpdate *PodUpdate)
}
type ServiceUpdate ¶
type ServiceUpdatesHandler ¶
type ServiceUpdatesHandler interface {
OnServiceUpdate(serviceUpdate *ServiceUpdate)
}
Click to show internal directories.
Click to hide internal directories.