plugins/plugins/sample
Dan Williams 0da6780449 pkg,plugins: update for Result struct Interface index changes
It's a pointer now, so we need to use the helper function to set
the field and also test for nil before accessing it.
2017-06-29 13:40:36 -05:00
..
main.go pkg,plugins: update for Result struct Interface index changes 2017-06-29 13:40:36 -05:00
README.md sample: create sample plugin 2017-03-13 14:31:58 +01:00
sample_suite_test.go Add simple testing infrastructure 2017-03-13 18:05:55 +01:00
sample_test.go move most of cni/pkg to plugins/pkg: delete code staying in cni/pkg 2017-05-23 16:12:49 +02:00

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.