package logs
import "github.com/docker/cli/service/logs"
Package logs contains tools for parsing docker log lines.
Index ¶
Functions ¶
func ParseLogDetails ¶
ParseLogDetails parses a string of key value pairs in the form "k=v,l=w", where the keys and values are url query escaped, and each pair is separated by a comma. Returns a map of the key value pairs on success, and an error if the details string is not in a valid format.
The details string encoding is implemented in github.com/moby/moby/api/server/httputils/write_log_stream.go
Source Files ¶
- Version
- v26.0.0-rc2+incompatible
- Published
- Mar 7, 2024
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 1 minute ago –
Tools for package owners.