spiegel_podman/vendor/github.com/containers/common/libnetwork/cni
Ashley Cui 569319d397 Vendor in containers/common@main
Signed-off-by: Ashley Cui <acui@redhat.com>
2022-02-28 16:23:26 -05:00
..
cni_conversion.go Bump c/common to v0.47.4 2022-02-09 15:26:51 -05:00
cni_exec.go use libnetwork from c/common 2022-01-12 17:07:30 +01:00
cni_types.go use libnetwork from c/common 2022-01-12 17:07:30 +01:00
config.go Vendor in containers/common@main 2022-02-28 16:23:26 -05:00
network.go Add containers-common spec and command to podman 2022-02-22 14:38:57 -05:00
README.md use libnetwork from c/common 2022-01-12 17:07:30 +01:00
run.go use libnetwork from c/common 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.