cloud

package
v0.0.0-...-9634a1a Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cloud

type Cloud struct {
	// contains filtered or unexported fields
}

func NewCloud

func NewCloud(domain mysql.Domain, cfg config.CloudConfig, ctx context.Context) *Cloud

TODO 添加参数

func (*Cloud) GetBasicInfo

func (c *Cloud) GetBasicInfo() model.BasicInfo

func (*Cloud) GetKubernetesGatherTaskMap

func (c *Cloud) GetKubernetesGatherTaskMap() map[string]*KubernetesGatherTask

func (*Cloud) GetResource

func (c *Cloud) GetResource() model.Resource

func (*Cloud) GetStatter

func (c *Cloud) GetStatter() statsd.StatsdStatter

func (*Cloud) Start

func (c *Cloud) Start()

func (*Cloud) Stop

func (c *Cloud) Stop()

func (*Cloud) UpdateBasicInfoName

func (c *Cloud) UpdateBasicInfoName(name string)

type KubernetesGatherTask

type KubernetesGatherTask struct {
	SubDomainConfig string // 附属容器集群配置字段config
	// contains filtered or unexported fields
}

func NewKubernetesGatherTask

func NewKubernetesGatherTask(
	domain *mysql.Domain, subDomain *mysql.SubDomain, ctx context.Context, isSubDomain bool, interval uint32) *KubernetesGatherTask

func (*KubernetesGatherTask) GetBasicInfo

func (*KubernetesGatherTask) GetResource

func (*KubernetesGatherTask) Start

func (k *KubernetesGatherTask) Start()

func (*KubernetesGatherTask) Stop

func (k *KubernetesGatherTask) Stop()

Jump to

Keyboard shortcuts

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