dockerstream

package
v0.0.0-...-81e640e Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package dockerstream parses the log format output by Docker when streaming via its API.

See https://godoc.org/github.com/moby/moby/client#Client.ContainerLogs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(containerID string) parsers.Parser

New creates a new instance of docker parser for a specific container. The given container ID is only used to generate error messages for invalid log data.

The returned parser handles log messages as provided by the log-streaming API. The format is documented at https://pkg.go.dev/github.com/moby/moby/client?utm_source=godoc#Client.ContainerLogs

Types

This section is empty.

Jump to

Keyboard shortcuts

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