Discover Packages
github.com/containerd/nerdctl/v2
pkg
logging
jsonfile
package
Version:
v2.0.2
Opens a new window with list of versions in this module.
Published: Dec 10, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
func Decode(stdout, stderr io.Writer, r io.Reader, timestamps bool, since string, ...) ([]byte, error)
func Encode(stdout <-chan string, stderr <-chan string, writer io.Writer) error
func Path(dataStore, ns, id string) string
type Entry
type Entry struct {
Log string `json:"log,omitempty"`
Stream string `json:"stream,omitempty"`
Time time .Time `json:"time"`
}
Entry is compatible with Docker "json-file" logs
Source Files
¶
Click to show internal directories.
Click to hide internal directories.