Documentation ¶
Index ¶
- type AgentConfig
- func (b AgentConfig) BindAddress() string
- func (b AgentConfig) DBName() string
- func (b AgentConfig) DataDir() string
- func (b AgentConfig) Host() string
- func (b AgentConfig) Load(configPath string) AgentConfig
- func (b AgentConfig) LogDir() string
- func (b AgentConfig) LogLevel() zapcore.Level
- func (b AgentConfig) Port() uint
- func (b AgentConfig) RetentionCheckInterval() uint
- func (b AgentConfig) RetentionPeriod() uint32
- func (b AgentConfig) SetBindAddress(name string)
- func (b AgentConfig) SetDBName(name string)
- func (b AgentConfig) SetDataDir(dataDir string)
- func (b AgentConfig) SetHost(name string)
- func (b AgentConfig) SetLogDir(logDir string)
- func (b AgentConfig) SetLogLevel(logLevel zapcore.Level)
- func (b AgentConfig) SetPort(port uint)
- func (b AgentConfig) SetRetentionCheckInterval(interval uint)
- func (b AgentConfig) SetRetentionPeriod(retention uint32)
- func (b AgentConfig) SetTimeout(timeout int)
- func (b AgentConfig) SetZKQuorum(quorum []string)
- func (b AgentConfig) SetZKTimeout(timeout uint)
- func (b AgentConfig) Timeout() int
- func (b AgentConfig) ZKQuorum() []string
- func (b AgentConfig) ZKTimeout() uint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentConfig ¶
func NewAgentConfig ¶
func NewAgentConfig() AgentConfig
func (AgentConfig) BindAddress ¶
func (b AgentConfig) BindAddress() string
func (AgentConfig) DBName ¶
func (b AgentConfig) DBName() string
func (AgentConfig) DataDir ¶
func (b AgentConfig) DataDir() string
func (AgentConfig) Host ¶
func (b AgentConfig) Host() string
func (AgentConfig) Load ¶
func (b AgentConfig) Load(configPath string) AgentConfig
func (AgentConfig) LogDir ¶
func (b AgentConfig) LogDir() string
func (AgentConfig) LogLevel ¶
func (b AgentConfig) LogLevel() zapcore.Level
func (AgentConfig) Port ¶
func (b AgentConfig) Port() uint
func (AgentConfig) RetentionCheckInterval ¶
func (b AgentConfig) RetentionCheckInterval() uint
func (AgentConfig) RetentionPeriod ¶
func (b AgentConfig) RetentionPeriod() uint32
func (AgentConfig) SetBindAddress ¶
func (b AgentConfig) SetBindAddress(name string)
func (AgentConfig) SetDBName ¶
func (b AgentConfig) SetDBName(name string)
func (AgentConfig) SetDataDir ¶
func (b AgentConfig) SetDataDir(dataDir string)
func (AgentConfig) SetHost ¶
func (b AgentConfig) SetHost(name string)
func (AgentConfig) SetLogDir ¶
func (b AgentConfig) SetLogDir(logDir string)
func (AgentConfig) SetLogLevel ¶
func (b AgentConfig) SetLogLevel(logLevel zapcore.Level)
func (AgentConfig) SetPort ¶
func (b AgentConfig) SetPort(port uint)
func (AgentConfig) SetRetentionCheckInterval ¶
func (b AgentConfig) SetRetentionCheckInterval(interval uint)
func (AgentConfig) SetRetentionPeriod ¶
func (b AgentConfig) SetRetentionPeriod(retention uint32)
func (AgentConfig) SetTimeout ¶
func (b AgentConfig) SetTimeout(timeout int)
func (AgentConfig) SetZKQuorum ¶
func (b AgentConfig) SetZKQuorum(quorum []string)
func (AgentConfig) SetZKTimeout ¶
func (b AgentConfig) SetZKTimeout(timeout uint)
func (AgentConfig) Timeout ¶
func (b AgentConfig) Timeout() int
func (AgentConfig) ZKQuorum ¶
func (b AgentConfig) ZKQuorum() []string
func (AgentConfig) ZKTimeout ¶
func (b AgentConfig) ZKTimeout() uint
Click to show internal directories.
Click to hide internal directories.