Documentation
¶
Index ¶
- Variables
- func CleanContainerName(containerName string) string
- func EnrichLogWithContainer(logLine, containerName string) string
- func ParseLogLine(line string, maxLength int) (string, error)
- func SafeContainerID(id string) string
- type Container
- type ContainerEvent
- type ContainerFilter
- type DataRetention
- type Error
- type FilterRule
- type Log
- type LogEntry
- type Version
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrEmptyLogLine = NewError("empty log line after cleaning")
)
Functions ¶
func CleanContainerName ¶
func EnrichLogWithContainer ¶
func SafeContainerID ¶
Types ¶
type ContainerEvent ¶
type ContainerFilter ¶
type ContainerFilter struct {
// contains filtered or unexported fields
}
func NewContainerFilter ¶
func NewContainerFilter(rules []FilterRule) *ContainerFilter
func (*ContainerFilter) ShouldCollect ¶
func (f *ContainerFilter) ShouldCollect(container Container) bool
type DataRetention ¶
type DataRetention struct {
Retention int `json:"retention"`
}
type FilterRule ¶
Click to show internal directories.
Click to hide internal directories.