spiegel_podman/vendor/github.com/containers/common/libnetwork/cni
tomsweeneyredhat 345413540a [v4.0] Bump c/common to v0.47.4
As the title says.  Bumping c/common in preparation of the
v4.0 release.

Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
2022-02-09 15:54:55 -05:00
..
cni_conversion.go [v4.0] Bump c/common to v0.47.4 2022-02-09 15:54:55 -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 [v4.0] Bump c/common to v0.47.4 2022-02-09 15:54:55 -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.