spiegel_podman/vendor/github.com/containers/common/libnetwork/cni
Ygal Blum 7d16c2b69e Update containers common package
The new version adds NetworkCreateOptions. For now pass nil

[NO NEW TESTS NEEDED]

Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
2022-12-06 13:52:28 +02:00
..
cni_conversion.go system df: fix image-size calculations 2022-10-19 11:20:41 +02:00
cni_exec.go autocomplete podman search --filter 2022-05-24 16:07:38 +02:00
cni_types.go Update containers common package 2022-12-06 13:52:28 +02:00
config.go Update containers common package 2022-12-06 13:52:28 +02:00
config_freebsd.go autocomplete podman search --filter 2022-05-24 16:07:38 +02:00
config_linux.go autocomplete podman search --filter 2022-05-24 16:07:38 +02:00
network.go Update containers common package 2022-12-06 13:52:28 +02:00
README.md use libnetwork from c/common 2022-01-12 17:07:30 +01:00
run.go Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
run_freebsd.go autocomplete podman search --filter 2022-05-24 16:07:38 +02:00
run_linux.go autocomplete podman search --filter 2022-05-24 16:07:38 +02:00

This package abstracts CNI from libpod. It implements the ContainerNetwork interface defined in libpod/network/types/network.go for the CNI backend.

Testing

Run the tests with:

go test -v -mod=vendor -cover ./libpod/network/cni/

Run the tests as root to also test setup/teardown. This will execute CNI and therefore the cni plugins have to be installed.