Documentation ¶ Index ¶ func Decode(stdout, stderr io.Writer, r io.Reader, timestamps bool, since string, ...) error func Encode(w io.WriteCloser, stdout, stderr io.Reader) error func Path(dataStore, ns, id string) string type Entry Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Decode ¶ func Decode(stdout, stderr io.Writer, r io.Reader, timestamps bool, since string, until string) error func Encode ¶ func Encode(w io.WriteCloser, stdout, stderr io.Reader) error func Path ¶ func Path(dataStore, ns, id string) string Types ¶ type Entry ¶ type Entry struct { Log string `json:"log,omitempty"` // line, including "\r\n" Stream string `json:"stream,omitempty"` // "stdout" or "stderr" Time time.Time `json:"time"` // e.g. "2020-12-11T20:29:41.939902251Z" } Entry is compatible with Docker "json-file" logs Source Files ¶ View all Source files jsonfile.go Click to show internal directories. Click to hide internal directories.