Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
DockerHost string `yaml:"docker_host"`
APIVersion string `yaml:"api_version"`
FilterRules []models.FilterRule `yaml:"filter_rules"`
MaxLogLength int `yaml:"max_log_length"`
BufferSize int `yaml:"buffer_size"`
}
func DefaultConfig ¶
func DefaultConfig() *Config
type DockerCollector ¶
type DockerCollector struct {
// contains filtered or unexported fields
}
func NewDockerCollector ¶
func NewDockerCollector(config *Config) (*DockerCollector, error)
func (*DockerCollector) Start ¶
func (d *DockerCollector) Start() error
func (*DockerCollector) Stop ¶
func (d *DockerCollector) Stop()
Click to show internal directories.
Click to hide internal directories.