mirror of
https://github.com/rancher/plugins.git
synced 2025-09-01 01:05:35 +00:00
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.
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.