addons

package
v1.3.0-rc.0...-12c9840 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

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 New

func New(db *dbclient.DBClient, bdl *bundle.Bundle) *Addons

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 (a *Addons) GetDBAddonNodeInfo(addonID string) ([]dbclient.AddonNode, 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL