unwrappers

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2019 License: Apache-2.0 Imports: 7 Imported by: 3

Documentation

Overview

Package unwrappers contains support for handling log transport formats. How's this different from a parser? You can think of unwrappers as handling extra structure that's added by log *transport* formats, e.g., by the Docker json-file log driver, or by syslog.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerJSONLogUnwrapper

type DockerJSONLogUnwrapper struct{}

func (*DockerJSONLogUnwrapper) Unwrap

func (u *DockerJSONLogUnwrapper) Unwrap(rawLine string, parser parsers.Parser) (*event.Event, error)

type RawLogUnwrapper

type RawLogUnwrapper struct{}

func (*RawLogUnwrapper) Unwrap

func (u *RawLogUnwrapper) Unwrap(rawLine string, parser parsers.Parser) (*event.Event, error)

type Unwrapper

type Unwrapper interface {
	Unwrap(string, parsers.Parser) (*event.Event, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL