plugins/plugins/sample
Marcelo Guerrero Viveros d71d0f2da1 Fix revive linter errors
Golangci-lint is now running version 1.52.1. This introduced some errors.

Signed-off-by: Marcelo Guerrero Viveros <marguerr@redhat.com>
2023-03-24 21:04:39 +01:00
..
main.go Fix revive linter errors 2023-03-24 21:04:39 +01:00
README.md sample: create sample plugin 2017-03-13 14:31:58 +01:00
sample_linux_test.go ci(lint): setup golangci-lint 2023-03-01 06:55:40 +00:00
sample_suite_test.go ci(lint): setup golangci-lint 2023-03-01 06:55:40 +00: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.