spiegel_podman/vendor/github.com/containers/common/libnetwork/cni
tomsweeneyredhat 1512740e3b Bump c/common to v0.47.4
As the title says.

Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
2022-02-09 15:26:51 -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 Bump c/common to v0.47.4 2022-02-09 15:26:51 -05:00
network.go use libnetwork from c/common 2022-01-12 17:07:30 +01: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.