spiegel_podman/vendor/github.com/containers/common/libnetwork/cni
Daniel J Walsh f67ab1eb20
Vendor in containers/(storage,image, common, buildah)
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2022-07-18 10:42:04 -04:00
..
cni_conversion.go Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
cni_exec.go autocomplete podman search --filter 2022-05-24 16:07:38 +02:00
cni_types.go Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
config.go Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04: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 Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04: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.