network

package
v3.4.7 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: Apache-2.0 Imports: 4 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCNIPlugins

func GetCNIPlugins(list *libcni.NetworkConfigList) string

GetCNIPlugins returns a list of plugins that a given network has in the form of a string

func GetNetworkID

func GetNetworkID(name string) string

GetNetworkID return the network ID for a given name. It is just the sha256 hash but this should be good enough. The caller has to make sure it is only called with the network name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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