Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNetworkInterface ¶
func NewNetworkInterface(conf *InitConfig) (types.ContainerNetwork, error)
NewNetworkInterface creates the ContainerNetwork interface for the netavark backend. Note: The networks are not loaded from disk until a method is called.
Types ¶
type InitConfig ¶
type InitConfig struct { // NetworkConfigDir is directory where the network config files are stored. NetworkConfigDir string // NetavarkBinary is the path to the netavark binary. NetavarkBinary string // AardvarkBinary is the path to the aardvark binary. AardvarkBinary string // NetworkRunDir is where temporary files are stored, i.e.the ipam db, aardvark config NetworkRunDir string // Syslog describes whenever the netavark debug output should be log to the syslog as well. // This will use logrus to do so, make sure logrus is set up to log to the syslog. Syslog bool // Config containers.conf options Config *config.Config }
Click to show internal directories.
Click to hide internal directories.