package
Version:
v2.0.2+incompatible
Opens a new window with list of versions in this module.
Published: Apr 19, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 47
Opens a new window with list of known importers.
Documentation
¶
DefaultPlugin is a default instance of IfPlugin.
type Config struct {
Disabled bool `json:"disabled"`
GoRoutinesCnt int `json:"go-routines-count"`
}
Config holds the l3plugin configuration.
Deps lists dependencies of the interface p.
type L3Plugin struct {
Deps
}
L3Plugin configures Linux routes and ARP entries using Netlink API.
NewPlugin creates a new Plugin with the provides Options
Init initializes and registers descriptors for Linux ARPs and Routes.
Option is a function that can be used in NewPlugin to customize Plugin.
UseDeps returns Option that can inject custom dependencies.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.