Files
Ashley Cui 569319d397 Vendor in containers/common@main
Signed-off-by: Ashley Cui <acui@redhat.com>
2022-02-28 16:23:26 -05:00
..
2022-02-09 15:26:51 -05:00
2022-01-12 17:07:30 +01:00
2022-01-12 17:07:30 +01:00
2022-02-28 16:23:26 -05:00
2022-01-12 17:07:30 +01:00
2022-01-12 17:07:30 +01: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.