package main import ( "github.com/c3os-io/c3os/provider-rke2/pkg/provider" "github.com/kairos-io/kairos-sdk/clusterplugin" "github.com/mudler/go-pluggable" "github.com/sirupsen/logrus" ) func main() { plugin := clusterplugin.ClusterPlugin{ Provider: provider.ClusterProvider, } if err := plugin.Run(pluggable.FactoryPlugin{ EventType: clusterplugin.EventClusterReset, PluginHandler: provider.HandleClusterReset, }); err != nil { logrus.Fatal(err) } }