Documentation ¶
Overview ¶
Package dockerfile implements a Parser for the JSON-per-line format found in Docker logfiles.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New returns a new parser which will parse raw JSON lines as found in docker log files.
For example:
`{"log":"a message","stream":"stderr","time":"2019-06-06T16:35:55.930852911Z"}`
returns:
parsers.Message { Content: []byte("a message"), Status: "error", Timestamp: "2019-06-06T16:35:55.930852911Z", IsPartial: false, }
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.