Documentation ¶
Overview ¶
Package podip provides a utility, mapping between pod IP addresses and a Pod's namespace/name
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller interface { Run(stopChannel <-chan struct{}) error LookupIP(ip net.IP) (string, string) LookupAddr(addr netip.Addr) (string, string) }
Controller maintains a mapping between IP addresses and Pods
func NewController ¶
func NewController(l logr.Logger, ignoreNamespaces []string) (Controller, error)
NewController returns a new controller using the default kubeconfig (in or out of cluster)
Click to show internal directories.
Click to hide internal directories.