Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OnDeleteFunc ¶
type OnDeleteFunc func(*corev1.Service, *ServiceMDNS)
type OnUpdateFunc ¶
type OnUpdateFunc func(*corev1.Service, *ServiceMDNS)
type ServiceMDNS ¶
type ServiceMDNS struct { Annotations *meta.Annotations IPs []net.IP Port int }
type Watcher ¶
type Watcher struct {
// contains filtered or unexported fields
}
func New ¶
func New(kubeConfigPath, namespace string, serviceType corev1.ServiceType, onUpdate OnUpdateFunc, onDelete OnDeleteFunc) (*Watcher, error)
Click to show internal directories.
Click to hide internal directories.