-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Copy the libpod/network packages from podman to here so we can use the same code in buildah as well. This is mostly a one to one copy only the import paths have been changed and some errors were added. Signed-off-by: Paul Holzinger <[email protected]>
- Loading branch information
Showing
185 changed files
with
35,023 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
This package abstracts CNI from libpod. | ||
It implements the `ContainerNetwork` interface defined in [libpod/network/types/network.go](../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. |
Oops, something went wrong.