Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type RouteTable ¶
type RouteTable struct {
// contains filtered or unexported fields
}
func New ¶
func New(interfacePrefixes []string, ipVersion uint8) *RouteTable
func NewWithShims ¶
func NewWithShims(interfacePrefixes []string, ipVersion uint8, nl dataplaneIface) *RouteTable
NewWithShims is a test constructor, which allows netlink to be replaced by a shim.
func (*RouteTable) Apply ¶
func (r *RouteTable) Apply() error
func (*RouteTable) OnIfaceStateChanged ¶
func (r *RouteTable) OnIfaceStateChanged(ifaceName string, state ifacemonitor.State)
func (*RouteTable) QueueResync ¶
func (r *RouteTable) QueueResync()
func (*RouteTable) SetRoutes ¶
func (r *RouteTable) SetRoutes(ifaceName string, targets []Target)
Click to show internal directories.
Click to hide internal directories.