watcher

package
v0.0.0-...-665414b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 11 Imported by: 0

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)

func (*Watcher) Close

func (w *Watcher) Close()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL