Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CriDecoder ¶
type CriDecoder struct{}
type DockerJsonDecoder ¶
type DockerJsonDecoder struct{}
type DockerLogJson ¶
type DockerLogJson struct {
Log string
}
type MultilineCollector ¶
type MultilineCollector struct { Messages chan Message // contains filtered or unexported fields }
func NewMultilineCollector ¶
func (*MultilineCollector) Add ¶
func (m *MultilineCollector) Add(entry LogEntry)
type OnMsgCallbackF ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func (*Parser) GetCounters ¶
func (p *Parser) GetCounters() []LogCounter
func (*Parser) GetSensitiveCounters ¶
func (p *Parser) GetSensitiveCounters() []SensitiveLogCounter
type Pattern ¶
type Pattern struct {
// contains filtered or unexported fields
}
func NewPattern ¶
func NewPatternFromWords ¶
type PrecompiledPattern ¶
func LoadPatterns ¶
func LoadPatterns() ([]PrecompiledPattern, error)
type SensitiveLogCounter ¶
type SensitivePattern ¶
type SensitivePatternMatch ¶
type SensitivePatternMatch struct {
// contains filtered or unexported fields
}
func DetectSensitiveData ¶
func DetectSensitiveData(line string, hash string, precompiledPatterns []PrecompiledPattern) []SensitivePatternMatch
Click to show internal directories.
Click to hide internal directories.