Documentation ¶
Overview ¶
Package mapipwriter provides MapIPWriter struct that can handle events related to v1.Node
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶ added in v1.8.0
type Event struct { Translation Type watch.EventType }
Event represents event for the mapipwriter
type MapIPWriter ¶
type MapIPWriter struct { OutputPath string // contains filtered or unexported fields }
MapIPWriter writes IPs from the v1.Node into OutputPath
type Translation ¶ added in v1.8.0
type Translation struct {
From, To string
}
Translation represents translation of ip addrses
func (*Translation) Reverse ¶ added in v1.8.0
func (e *Translation) Reverse() Translation
Reverse creates a new Translation with swapped From/To fields
func (*Translation) String ¶ added in v1.8.0
func (e *Translation) String() string
Click to show internal directories.
Click to hide internal directories.