mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-08 01:45:43 +00:00
Since containers-common package is tied to specific versions of Podman, add tools to build the package into the contrib directory This should help other distributions to figure out which commont package to ship. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> |
||
|---|---|---|
| .. | ||
| cni_conversion.go | ||
| cni_exec.go | ||
| cni_types.go | ||
| config.go | ||
| network.go | ||
| README.md | ||
| run.go | ||
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.