kubernetes_gather

package
v0.0.0-...-b8a1a0e Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	K8S_VPC_NAME       = "kubernetes_vpc"
	K8S_VERSION_PREFIX = "Kubernetes"
)

Variables

This section is empty.

Functions

func GetVPCLcuuidFromUUIDGenerate

func GetVPCLcuuidFromUUIDGenerate(uuidGenerate string) string

Types

type KubernetesGather

type KubernetesGather struct {
	Name                  string
	Lcuuid                string
	UuidGenerate          string
	ClusterID             string
	RegionUUID            string
	VPCUUID               string
	PortNameRegex         string
	PodNetIPv4CIDRMaxMask int
	PodNetIPv6CIDRMaxMask int
	// contains filtered or unexported fields
}

func NewKubernetesGather

func NewKubernetesGather(domain *mysql.Domain, subDomain *mysql.SubDomain, cfg config.CloudConfig, isSubDomain bool) *KubernetesGather

func (*KubernetesGather) CheckAuth

func (k *KubernetesGather) CheckAuth() error

func (*KubernetesGather) GetKubernetesGatherData

func (k *KubernetesGather) GetKubernetesGatherData() (model.KubernetesGatherResource, error)

func (*KubernetesGather) GetLabel

func (k *KubernetesGather) GetLabel(labelMap map[string]interface{}) string

func (*KubernetesGather) GetStatter

func (k *KubernetesGather) GetStatter() statsd.StatsdStatter

Directories

Path Synopsis
expand module

Jump to

Keyboard shortcuts

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