Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterUseCase ¶
type ClusterUseCase interface {
Status() (*model.ClusterStatus, error)
Init() error
UnInstall() error
}
ClusterUseCase cluster case
type ComponentUseCase ¶
type ComponentUseCase interface {
Get(name string) (*v1.RbdComponentStatus, error)
List(isInit bool) ([]*v1.RbdComponentStatus, error)
}
ComponentUseCase cluster componse case
type GlobalConfigUseCase ¶
type GlobalConfigUseCase interface {
GlobalConfigs() (*model.GlobalConfigs, error)
UpdateGlobalConfig(config *model.GlobalConfigs) error
Address() (string, error)
}
GlobalConfigUseCase global config case
type IClusterCase ¶
type IClusterCase interface {
GlobalConfigs() GlobalConfigUseCase
Components() ComponentUseCase
Install() InstallUseCase
Cluster() ClusterUseCase
}
IClusterCase cluster case
type InstallUseCase ¶
InstallUseCase cluster install case
type Repository ¶
type Repository interface {
EnterpriseID() string
}
Repository represent the cluster's repository contract
Click to show internal directories.
Click to hide internal directories.