add_docker_metadata

package
v6.2.2+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2018 License: Apache-2.0 Imports: 14 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Host        string            `config:"host"`               // Docker socket (UNIX or TCP socket).
	TLS         *docker.TLSConfig `config:"ssl"`                // TLS settings for connecting to Docker.
	Fields      []string          `config:"match_fields"`       // A list of fields to match a container ID.
	MatchSource bool              `config:"match_source"`       // Match container ID from a log path present in source field.
	SourceIndex int               `config:"match_source_index"` // Index in the source path split by / to look for container ID.
	MatchPIDs   []string          `config:"match_pids"`         // A list of fields containing process IDs (PIDs).
	HostFS      string            `config:"system.hostfs"`      // Specifies the mount point of the host’s filesystem for use in monitoring a host from within a container.

	// Annotations are kept after container is killed, until they haven't been
	// accessed for a full `cleanup_timeout`:
	CleanupTimeout time.Duration `config:"cleanup_timeout"`
}

Config for docker processor.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL