Documentation ¶
Index ¶
Constants ¶
View Source
const ( // L2PodAnnouncementsInterface is the interface used to send Gratuitous ARP messages. L2PodAnnouncementsInterface = "l2-pod-announcements-interface" EnableL2PodAnnouncements = "enable-l2-pod-announcements" )
Variables ¶
View Source
var Cell = cell.Module( "l2-pod-announcements-garp", "GARP processor sends gratuitous ARP packets for local pods", cell.Provide( newGARPSender, func(c Config) L2PodAnnouncementConfig { return c }), cell.Config(defaultConfig), cell.Invoke(newGARPProcessor), )
Cell processes k8s pod events for the local node and determines if a Gratuitous ARP packet needs to be sent.
Functions ¶
Types ¶
type L2PodAnnouncementConfig ¶
type L2PodAnnouncementConfig interface {
Enabled() bool
}
Click to show internal directories.
Click to hide internal directories.