Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageReader ¶
type MessageReader struct {
// contains filtered or unexported fields
}
MessageReader is a reder log source that reads docker logs.
func (*MessageReader) MessageRead ¶
MessageRead implements the LogSourcer interface
type Opt ¶
Opt is a type for configuration options for the docker Watcher
func WithDockerClient ¶
WithDockerClient sets the default docker client
func WithEnvVarWhiteList ¶
WithEnvVarWhiteList lets you set a selection of regular experessions to match against the container environment variables
type Watcher ¶
Watcher watches for files being added and removed from a filesystem
func (*Watcher) ReadTarget ¶
func (w *Watcher) ReadTarget(ctx context.Context, id string, fromStart bool) (sources.MessageReader, error)
ReadTarget creates a new docker log source
Click to show internal directories.
Click to hide internal directories.