Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerTailer ¶
type DockerTailer struct { ContainerID string // contains filtered or unexported fields }
DockerTailer tails logs coming from stdout and stderr of a docker container With docker api, there is no way to know if a log comes from strout or stderr so if we want to capture the severity, we need to tail both in two goroutines
func NewDockerTailer ¶
func NewDockerTailer(cli *client.Client, container types.Container, source *config.IntegrationConfigLogSource, outputChan chan message.Message) *DockerTailer
NewDockerTailer returns a new DockerTailer
func (*DockerTailer) Identifier ¶
func (dt *DockerTailer) Identifier() string
Identifier returns a string that uniquely identifies a source
Click to show internal directories.
Click to hide internal directories.