kubekey/pkg/core/modules/interface.go
24sama c2916448e1 Experiment: add init_dependencies pipeline and add cache to BaseHost
Signed-off-by: 24sama <leo@kubesphere.io>
2021-11-01 18:15:05 +08:00

17 lines
318 B
Go

package modules
import (
"github.com/kubesphere/kubekey/pkg/core/cache"
"github.com/kubesphere/kubekey/pkg/core/connector"
)
type Module interface {
IsSkip() bool
Default(runtime connector.Runtime, pipelineCache *cache.Cache, moduleCache *cache.Cache)
Init()
Is() string
Run() error
Slogan()
AutoAssert()
}