mirror of
https://github.com/kubesphere/kubekey.git
synced 2025-12-28 12:12:51 +00:00
16 lines
215 B
Go
16 lines
215 B
Go
package modules
|
|
|
|
type CustomModule struct {
|
|
BaseModule
|
|
}
|
|
|
|
func (c *CustomModule) Init() {
|
|
if c.Name == "" {
|
|
c.Name = DefaultCustomModuleName
|
|
}
|
|
}
|
|
|
|
func (c *CustomModule) Is() string {
|
|
return CustomModuleType
|
|
}
|