kubekey/pkg/core/action/interface.go
24sama f932d7730a Experiment: make core package independent
Signed-off-by: 24sama <jacksama@foxmail.com>
2021-11-01 18:15:03 +08:00

13 lines
297 B
Go

package action
import (
"github.com/kubesphere/kubekey/pkg/core/cache"
"github.com/kubesphere/kubekey/pkg/core/connector"
)
type Action interface {
Execute(runtime connector.Runtime) (err error)
Init(cache *cache.Cache, rootCache *cache.Cache, runtimeConf connector.Runtime)
AutoAssert()
}