Documentation ¶
Index ¶
- type Chrony
- type Config
- func (c *Config) Convert()
- func (c *Config) GetAllAgentConnectToNatIP() bool
- func (c *Config) GetExportersEnabled() bool
- func (c *Config) GetFPermitConfig() common.FPermit
- func (c *Config) GetGrpcMaxMessageLength() int
- func (c *Config) GetGrpcPort() int
- func (c *Config) GetIngesterAPI() common.IngesterApi
- func (c *Config) GetIngesterPort() int
- func (c *Config) GetNoIPOverlapping() bool
- func (c *Config) GetNoTeamIDRefused() bool
- func (c *Config) SetAllAgentConnectToNatIP(data bool)
- func (c *Config) SetBillingMethod(billingMethod string)
- func (c *Config) SetExportersEnabled(exporterEnabled bool)
- func (c *Config) SetFPermitConfig(fpermit common.FPermit)
- func (c *Config) SetGrpcMaxMessageLength(maxLen int)
- func (c *Config) SetGrpcPort(port int)
- func (c *Config) SetIngesterAPI(ingesterAPI common.IngesterApi)
- func (c *Config) SetIngesterPort(port int)
- func (c *Config) SetLogLevel(logLevel string)
- func (c *Config) SetNoIPOverlapping(data bool)
- func (c *Config) SetNoTeamIDRefused(refused bool)
- 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"` TridentTypeForUnknowVtap uint16 `default:"0" yaml:"trident-type-for-unknow-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"` DomainAutoRegister bool `default:"true" yaml:"domain-auto-register"` DefaultTapMode int `yaml:"default-tap-mode"` BillingMethod string GrpcPort int IngesterPort int PodClusterInternalIPToIngester int GrpcMaxMessageLength int ExportersEnabled bool PlatformDataRefreshDelayTime int `default:"1" yaml:"platform-data-refresh-delay-time"` ORGDataRefreshInterval int `default:"60" yaml:"org-data-refresh-interval"` NoTeamIDRefused bool FPermit common.FPermit IngesterAPI common.IngesterApi // data source AllAgentConnectToNatIP bool NoIPOverlapping bool }
func (*Config) GetAllAgentConnectToNatIP ¶
func (*Config) GetExportersEnabled ¶
func (*Config) GetFPermitConfig ¶
func (*Config) GetGrpcMaxMessageLength ¶
func (*Config) GetGrpcPort ¶
func (*Config) GetIngesterAPI ¶
func (c *Config) GetIngesterAPI() common.IngesterApi
func (*Config) GetIngesterPort ¶
func (*Config) GetNoIPOverlapping ¶
func (*Config) GetNoTeamIDRefused ¶
func (*Config) SetAllAgentConnectToNatIP ¶
func (*Config) SetBillingMethod ¶
func (*Config) SetExportersEnabled ¶
func (*Config) SetFPermitConfig ¶
func (*Config) SetGrpcMaxMessageLength ¶
func (*Config) SetGrpcPort ¶
func (*Config) SetIngesterAPI ¶
func (c *Config) SetIngesterAPI(ingesterAPI common.IngesterApi)
func (*Config) SetIngesterPort ¶
func (*Config) SetLogLevel ¶
func (*Config) SetNoIPOverlapping ¶
func (*Config) SetNoTeamIDRefused ¶
func (*Config) SetPodClusterInternalIPToIngester ¶
Click to show internal directories.
Click to hide internal directories.