spiegel_podman/vendor/github.com/containers/common/libnetwork/cni
Daniel J Walsh 80c5962dba
Add containers-common spec and command to podman
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>
2022-02-22 14:38:57 -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 Add containers-common spec and command to podman 2022-02-22 14:38:57 -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.