kubernetes_gather

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: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	K8S_VINTERFACE_NAME_REGEX = "^(cni|flannel|cali|vxlan.calico|tunl|en[ospx])"
	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, isSubDomain bool) *KubernetesGather

func (*KubernetesGather) CheckAuth

func (k *KubernetesGather) CheckAuth() error

func (*KubernetesGather) GetKubernetesGatherData

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

func (*KubernetesGather) GetStatter

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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