spiegel_podman/libpod/network/cni
Stefan Weil 34739f4413 Replace 'an user' => 'a user'
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-11-12 11:08:25 -05:00
..
testfiles Network interface 2021-08-24 12:28:03 +02:00
cni_conversion.go Network interface 2021-08-24 12:28:03 +02:00
cni_exec.go rootful: do not set XDG_RUNTIME_DIR for cni plugins 2021-09-29 16:39:29 -04:00
cni_suite_test.go Network interface 2021-08-24 12:28:03 +02:00
cni_types.go Replace 'an user' => 'a user' 2021-11-12 11:08:25 -05:00
config.go Network interface 2021-08-24 12:28:03 +02:00
config_test.go Network interface 2021-08-24 12:28:03 +02:00
network.go Network interface 2021-08-24 12:28:03 +02:00
README.md Network interface 2021-08-24 12:28:03 +02:00
run.go Network interface 2021-08-24 12:28:03 +02:00
run_test.go Network interface 2021-08-24 12:28:03 +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.