podman-build/vendor/github.com/containers/common/libnetwork/cni
2025-10-11 12:30:35 +09:00
..
cni_conversion.go First commit for v5.6.2 2025-10-11 12:30:35 +09:00
cni_exec.go First commit for v5.6.2 2025-10-11 12:30:35 +09:00
cni_types.go First commit for v5.6.2 2025-10-11 12:30:35 +09:00
config_freebsd.go First commit for v5.6.2 2025-10-11 12:30:35 +09:00
config_linux.go First commit for v5.6.2 2025-10-11 12:30:35 +09:00
config.go First commit for v5.6.2 2025-10-11 12:30:35 +09:00
network.go First commit for v5.6.2 2025-10-11 12:30:35 +09:00
README.md First commit for v5.6.2 2025-10-11 12:30:35 +09:00
run_freebsd.go First commit for v5.6.2 2025-10-11 12:30:35 +09:00
run_linux.go First commit for v5.6.2 2025-10-11 12:30:35 +09:00
run.go First commit for v5.6.2 2025-10-11 12:30:35 +09: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.