Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CaseImpl ¶
type CaseImpl struct {
// contains filtered or unexported fields
}
CaseImpl case
func (*CaseImpl) Components ¶
func (c *CaseImpl) Components() ComponentUseCase
Components components
func (*CaseImpl) GlobalConfigs ¶
func (c *CaseImpl) GlobalConfigs() GlobalConfigUseCase
GlobalConfigs config
type ComponentUseCase ¶
type ComponentUseCase interface { Get(name string) (*v1.RbdComponentStatus, error) List() ([]*v1.RbdComponentStatus, error) }
ComponentUseCase cluster componse case
type GlobalConfigUseCase ¶
type GlobalConfigUseCase interface { GlobalConfigs() (*model.GlobalConfigs, error) UpdateGlobalConfig(config *model.GlobalConfigs) error Address() (string, error) Uninstall() error }
GlobalConfigUseCase global config case
type IClusterCase ¶
type IClusterCase interface { GlobalConfigs() GlobalConfigUseCase Components() ComponentUseCase Install() InstallUseCase }
IClusterCase cluster case
func NewClusterCase ¶
func NewClusterCase(conf *option.Config) IClusterCase
NewClusterCase new cluster case
Click to show internal directories.
Click to hide internal directories.