Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Announce ¶
Announce is used to "announce" new IPs mapped to the node's MAC address.
func (*Announce) AnnounceName ¶
AnnounceName returns true when we have an announcement under name.
func (*Announce) DeleteBalancer ¶
DeleteBalancer deletes an address from the set of addresses we should announce.
func (*Announce) GetInterfaces ¶ added in v0.13.6
GetInterfaces returns current interfaces list.
func (*Announce) SetBalancer ¶
func (a *Announce) SetBalancer(name string, adv IPAdvertisement)
SetBalancer adds ip to the set of announced addresses.
type IPAdvertisement ¶ added in v0.13.6
type IPAdvertisement struct {
// contains filtered or unexported fields
}
IPAdvertisement is the advertisement Info about LB IP.
func NewIPAdvertisement ¶ added in v0.13.6
func (*IPAdvertisement) Equal ¶ added in v0.13.6
func (i *IPAdvertisement) Equal(other *IPAdvertisement) bool
func (*IPAdvertisement) MatchInterfaces ¶ added in v0.13.6
func (i *IPAdvertisement) MatchInterfaces(intfs ...string) bool
Click to show internal directories.
Click to hide internal directories.