config

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetCloudGlobalConfig

func SetCloudGlobalConfig(c CloudConfig)

Types

type CloudConfig

type CloudConfig struct {
	CloudGatherInterval      uint32 `default:"30" yaml:"cloud_gather_interval"`
	KubernetesGatherInterval uint32 `default:"30" yaml:"kubernetes_gather_interval"`
	AliyunRegionName         string `default:"cn-beijing" yaml:"aliyun_region_name"`
	HuaweiDomainName         string `default:"myhuaweicloud.com" yaml:"huawei_domain_name"`
	GenesisDefaultVpcName    string `default:"default_vpc" yaml:"genesis_default_vpc"`
	HostnameToIPFile         string `default:"/etc/hostname_to_ip.csv" yaml:"hostname_to_ip_file"`
	DNSEnable                bool   `default:"false" yaml:"dns_enable"`
	HTTPTimeout              int    `default:"30" yaml:"http_timeout"`
	DebugEnabled             bool   `default:"false" yaml:"debug_enabled"`
}
var CONF *CloudConfig

Jump to

Keyboard shortcuts

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