network

package
v0.61.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 11 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 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

revive does not like the name because the package is already called network

Types

This section is empty.

Jump to

Keyboard shortcuts

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