Documentation ¶
Index ¶
- Constants
- func GetParserConfig() conf.MapConf
- func GetReaderConfig() conf.MapConf
- func GetSenderConfig() conf.MapConf
- func SetReaderConfig(readConf conf.MapConf, logpath, filePattern, metapath, from string) conf.MapConf
- func SetSenderConfig(sendConf conf.MapConf, pandora Pandora) conf.MapConf
- type LogRunner
- func (lr *LogRunner) GetParserConfig() conf.MapConf
- func (lr *LogRunner) GetReaderConfig() conf.MapConf
- func (lr *LogRunner) GetSenderConfig() conf.MapConf
- func (lr *LogRunner) GetTransformerConfig() conf.MapConf
- func (lr *LogRunner) Name() string
- func (lr *LogRunner) Run()
- func (lr *LogRunner) Stop() error
- func (lr *LogRunner) TokenRefresh(token AuthTokens) error
Constants ¶
View Source
const ( DefaultSendTime = 3 DefaultSelfLogRepoName = "logkit_self_log" DebugPattern = `^\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[DEBUG\]` ValidFilePattern = "valid_file_pattern" )
Variables ¶
This section is empty.
Functions ¶
func GetParserConfig ¶
func GetReaderConfig ¶
func GetSenderConfig ¶
func SetReaderConfig ¶
Types ¶
type LogRunner ¶
type LogRunner struct {
// contains filtered or unexported fields
}
func NewLogRunner ¶
func NewLogRunnerWithService ¶
func (*LogRunner) GetParserConfig ¶
func (*LogRunner) GetReaderConfig ¶
func (*LogRunner) GetSenderConfig ¶
func (*LogRunner) GetTransformerConfig ¶
func (*LogRunner) TokenRefresh ¶
Click to show internal directories.
Click to hide internal directories.