 Documentation
      ¶
      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"`
	TLS         *TLSConfig `config:"ssl"`
	Fields      []string   `config:"match_fields"`
	MatchSource bool       `config:"match_source"`
	SourceIndex int        `config:"match_source_index"`
}
    Config for docker processor
type Container ¶
Container info retrieved by the watcher
type TLSConfig ¶
type TLSConfig struct {
	CA          string `config:"certificate_authority"`
	Certificate string `config:"certificate"`
	Key         string `config:"key"`
}
    TLSConfig for docker socket connection
type Watcher ¶
type Watcher interface {
	// Start watching docker API for new containers
	Start() error
	// Container returns the running container with the given ID or nil if unknown
	Container(ID string) *Container
	// Containers returns the list of known containers
	Containers() map[string]*Container
}
    Watcher reads docker events and keeps a list of known containers
       Source Files
      ¶
      Source Files
      ¶
    
- add_docker_metadata.go
- config.go
- watcher.go
 Click to show internal directories. 
   Click to hide internal directories.