-
Task
-
Resolution: Done
-
Medium
-
None
-
None
-
None
Instead of implementing functions that match a particular signature. The plugins should implement an interface that is defined in the main application.
The structure that implements the interface should be the exported variable from the plugin.
The following
symCreateResourceFunc.(func(*utils.ResourceData, kubernetes.Interface) (string, error))(genericKubeData, kubeclient)
will become
kind.Create(genericKubeData, kubeclient)