Files
podman/vendor/github.com/containers/common/libnetwork/cni
tomsweeneyredhat 4a4d86d40f Bump Buildah to v1.24.0
Bumps Buildah to v1.24.0 and adopts the new values for pull:
true, false, never, and always.  The pull-never and pull-always options
for the build command are still usable, but they have been removed from
the man page documentation with this change.

Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
2022-01-27 07:03:56 -05:00
..
2022-01-12 17:07:30 +01:00
2022-01-12 17:07:30 +01:00
2022-01-12 17:07:30 +01:00
2022-01-27 07:03:56 -05:00
2022-01-12 17:07:30 +01:00
2022-01-12 17:07:30 +01:00
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.