logs

package
v23.0.0-beta.1+incompa... Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2022 License: Apache-2.0 Imports: 3 Imported by: 84

Documentation

Overview

Package logs contains tools for parsing docker log lines.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseLogDetails

func ParseLogDetails(details string) (map[string]string, error)

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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