Documentation ¶
Index ¶
- type Addons
- func (a *Addons) AddonScale(identity apistructs.Identity, req apistructs.AddonScaleRequest) error
- func (a *Addons) AddonScalePrecheck(req apistructs.AddonScaleRequest) error
- func (a *Addons) GetAddonConfig(addonID string) (*apistructs.AddonConfigData, error)
- func (a *Addons) GetAddonStatus(namespace, name string) (apistructs.StatusCode, error)
- func (a *Addons) GetDBAddonConfig(addonID string) (*dbclient.AddonManagement, error)
- func (a *Addons) GetDBAddonNodeInfo(addonID string) ([]dbclient.AddonNode, error)
- func (a *Addons) ProjectQuotaCheck(identity apistructs.Identity, req apistructs.ProjectQuotaCheckRequest) (*apistructs.ProjectQuotaCheckResponse, error)
- func (a *Addons) UpdateAddonConfig(req apistructs.AddonConfigUpdateRequest) error
- func (a *Addons) UpdateAddonNodes(req apistructs.AddonScaleRequest) error
- func (a *Addons) UpdateDBAddonConfig(req apistructs.AddonConfigUpdateRequest) error
- func (a *Addons) UpdateDBAddonScaleInfo(req apistructs.AddonScaleRequest) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Addons ¶
type Addons struct {
// contains filtered or unexported fields
}
func (*Addons) AddonScale ¶
func (a *Addons) AddonScale(identity apistructs.Identity, req apistructs.AddonScaleRequest) error
func (*Addons) AddonScalePrecheck ¶
func (a *Addons) AddonScalePrecheck(req apistructs.AddonScaleRequest) error
func (*Addons) GetAddonConfig ¶
func (a *Addons) GetAddonConfig(addonID string) (*apistructs.AddonConfigData, error)
func (*Addons) GetAddonStatus ¶
func (a *Addons) GetAddonStatus(namespace, name string) (apistructs.StatusCode, error)
func (*Addons) GetDBAddonConfig ¶
func (a *Addons) GetDBAddonConfig(addonID string) (*dbclient.AddonManagement, error)
func (*Addons) GetDBAddonNodeInfo ¶
func (*Addons) ProjectQuotaCheck ¶
func (a *Addons) ProjectQuotaCheck(identity apistructs.Identity, req apistructs.ProjectQuotaCheckRequest) (*apistructs.ProjectQuotaCheckResponse, error)
func (*Addons) UpdateAddonConfig ¶
func (a *Addons) UpdateAddonConfig(req apistructs.AddonConfigUpdateRequest) error
func (*Addons) UpdateAddonNodes ¶
func (a *Addons) UpdateAddonNodes(req apistructs.AddonScaleRequest) error
func (*Addons) UpdateDBAddonConfig ¶
func (a *Addons) UpdateDBAddonConfig(req apistructs.AddonConfigUpdateRequest) error
func (*Addons) UpdateDBAddonScaleInfo ¶
func (a *Addons) UpdateDBAddonScaleInfo(req apistructs.AddonScaleRequest) error
Click to show internal directories.
Click to hide internal directories.