network

package
v0.47.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2022 License: Apache-2.0 Imports: 14 Imported by: 5

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:

  1. read ${graphroot}/defaultNetworkBackend
  2. find netavark binary (if not installed use CNI)
  3. check containers, images and CNI networks and if there are some we have an existing install and should continue to use CNI

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL