config

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

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 {
	KubernetesGatherInterval uint32 `default:"30" yaml:"kubernetes_gather_interval"`
	AliyunRegionName         string `default:"cn-beijing" yaml:"aliyun_region_name"`
	AWSRegionName            string `default:"cn-north-1" yaml:"aws_region_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"`
	CustomTagLenMax          int    `default:"256" yaml:"custom_tag_len_max"`
	ProcessNameLenMax        int    `default:"256" yaml:"process_name_len_max"`
	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