mirror of
https://github.com/rancher/plugins.git
synced 2025-07-09 13:15:20 +00:00
Now that libcni has the ability to print a version message, plumb it through correctly. While we're at it, - fix import paths - run gofmt - add some more comments to sample - add container runtime swappability for release |
||
---|---|---|
.. | ||
main.go | ||
README.md | ||
sample_linux_test.go | ||
sample_suite_test.go |
Sample CNI plugin
This is an example of a sample chained plugin. It includes solutions for some of the more subtle cases that can be experienced with multi-version chained plugins.
To use it, just add your code to the cmdAdd and cmdDel plugins.