Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetworkPolicyWatcher ¶
type NetworkPolicyWatcher struct {
Watcher
}
NetworkPolicyWatcher watches for changes of k8s network policy entities.
func NewNetworkPolicyWatcher ¶
func NewNetworkPolicyWatcher(logger *zap.SugaredLogger, client k8s.Interface) *NetworkPolicyWatcher
NewNetworkPolicyWatcher creates a new NetworkPolicyWatcher
func (*NetworkPolicyWatcher) Watch ¶
func (w *NetworkPolicyWatcher) Watch(res chan bool)
Watch watches for k8s network policy entities and informs the res chan; is blocking.
type ServiceWatcher ¶
type ServiceWatcher struct {
Watcher
}
ServiceWatcher watches for changes of k8s service entities.
func NewServiceWatcher ¶
func NewServiceWatcher(logger *zap.SugaredLogger, client k8s.Interface) *ServiceWatcher
NewServiceWatcher creates a new ServiceWatcher
func (*ServiceWatcher) Watch ¶
func (w *ServiceWatcher) Watch(res chan bool)
Watch watches for k8s service entities and informs the res chan; is blocking.
Click to show internal directories.
Click to hide internal directories.