Files
podman/vendor/github.com/containers/common/libnetwork/cni
Ashley Cui ee923358c3 Vendor c/common
@main

Signed-off-by: Ashley Cui <acui@redhat.com>
2024-02-05 09:46:40 -05:00
..
2024-02-05 09:46:40 -05:00
2024-02-05 09:46:40 -05:00
2024-02-05 09:46:40 -05:00
2024-02-05 09:46:40 -05:00
2024-02-05 09:46:40 -05:00
2024-02-05 09:46:40 -05:00
2024-02-05 09:46:40 -05:00
2022-01-12 17:07:30 +01:00
2024-02-05 09:46:40 -05: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.