Documentation ¶
Index ¶
- type Chrony
- type Config
- func (c *Config) Convert()
- func (c *Config) GetGrpcMaxMessageLength() int
- func (c *Config) GetGrpcPort() int
- func (c *Config) GetIngesterPort() int
- func (c *Config) SetBillingMethod(billingMethod string)
- func (c *Config) SetGrpcMaxMessageLength(maxLen int)
- func (c *Config) SetGrpcPort(port int)
- func (c *Config) SetIngesterPort(port int)
- func (c *Config) SetLogLevel(logLevel string)
- func (c *Config) SetPodClusterInternalIPToIngester(value int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ListenPort string `default:"20014" yaml:"listen-port"` LogLevel string `default:"info"` TsdbIP string `yaml:"tsdb-ip"` Chrony Chrony `yaml:"chrony"` SelfUpdateUrl string `default:"grpc" yaml:"self-update-url"` RemoteApiTimeout uint16 `default:"30" yaml:"remote-api-timeout"` TridentTypeForUnkonwVtap uint16 `default:"0" yaml:"trident-type-for-unkonw-vtap"` PlatformVips []string `yaml:"platform-vips"` NodeType string `default:"master" yaml:"node-type"` RegionDomainPrefix string `yaml:"region-domain-prefix"` ClearKubernetesTime int `default:"600" yaml:"clear-kubernetes-time"` NodeIP string VTapCacheRefreshInterval int `default:"300" yaml:"vtapcache-refresh-interval"` MetaDataRefreshInterval int `default:"60" yaml:"metadata-refresh-interval"` NodeRefreshInterval int `default:"60" yaml:"node-refresh-interval"` GPIDRefreshInterval int `default:"9" yaml:"gpid-refresh-interval"` VTapAutoRegister bool `default:"true" yaml:"vtap-auto-register"` DefaultTapMode int `yaml:"default-tap-mode"` BillingMethod string GrpcPort int IngesterPort int PodClusterInternalIPToIngester int GrpcMaxMessageLength int }
func (*Config) GetGrpcMaxMessageLength ¶
func (*Config) GetGrpcPort ¶
func (*Config) GetIngesterPort ¶
func (*Config) SetBillingMethod ¶
func (*Config) SetGrpcMaxMessageLength ¶
func (*Config) SetGrpcPort ¶
func (*Config) SetIngesterPort ¶
func (*Config) SetLogLevel ¶
func (*Config) SetPodClusterInternalIPToIngester ¶
Click to show internal directories.
Click to hide internal directories.