Documentation
¶
Overview ¶
Package stream contains the logic for streaming logs from from UDS Core
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reader ¶
type Reader interface {
// PodFilter creates a map of pod and container names to pull logs from
PodFilter(pods []corev1.Pod) map[string]string
// LogStream processes the log stream from Pepr and writes formatted output to the writer
LogStream(writer io.Writer, logStream io.ReadCloser, timestamp bool) error
// LogFlush to flush the log at a given interval and at the end of the stream
LogFlush(writer io.Writer)
}
Click to show internal directories.
Click to hide internal directories.