Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NetworkBackend ¶
func NetworkBackend(store storage.Store, conf *config.Config, syslog bool) (types.NetworkBackend, types.ContainerNetwork, error)
NetworkBackend returns the network backend name and interface It returns either the CNI or netavark backend depending on what is set in the config. If the the backend is set to "" we will automatically assign the backend on the following conditions:
- read ${graphroot}/defaultNetworkBackend
- find netavark binary (if not installed use CNI)
- check containers, images and CNI networks and if there are some we have an existing install and should continue to use CNI
revive does not like the name because the package is already called network
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.