package
0.0.0-20240818021530-f5e744f7964a
Repository: https://github.com/kaisenlinux/docker.io.git
Documentation: pkg.go.dev
# Functions
DisplayJSONMessagesStream reads a JSON message stream from in, and writes each [JSONMessage] to out.
DisplayJSONMessagesToStream prints json messages to the output Stream.
# Constants
RFC3339NanoFixed is time.RFC3339Nano with nanoseconds padded using zeros to ensure the formatted time isalways the same number of characters.
# Structs
JSONError wraps a concrete Code and Message, Code is an integer error code, Message is the error message.
JSONMessage defines a message struct.
JSONProgress describes a progress message in a JSON stream.
# Interfaces
Stream is an io.Writer for output with utilities to get the output's file descriptor and to detect wether it's a terminal.