Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Journald ¶
type Journald struct {
// contains filtered or unexported fields
}
func New ¶
func New(dockerClient docker.CommonAPIClient) *Journald
func (*Journald) DockerLogs ¶
func (j *Journald) DockerLogs(opts types.JournaldLogsOptions) types.StreamProducer
DockerLogs gets journalctl logs by mounting the ephemeral and persistent journald data directories into the support bundle container, which has the journalctl command. It attempts to find the image and SELinux label to use to run the support bundle container by checking if the current process is in a container and, if so, copying the image and SELinux label of that container.
func (*Journald) Logs ¶
func (j *Journald) Logs(opts types.JournaldLogsOptions) types.StreamProducer
Click to show internal directories.
Click to hide internal directories.