container

package
v0.0.0-...-dca2ff9 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLauncher

func NewLauncher(collectAll bool, collectFromFiles bool, sources *config.LogSources, services *service.Services, pipelineProvider pipeline.Provider, registry auditor.Registry) restart.Restartable

NewLauncher returns a new container launcher depending on the environment. By default returns a docker launcher if the docker socket is mounted and fallback to a kubernetes launcher if '/var/log/pods' is mounted ; this behaviour is reversed when collectFromFiles is enabled. If none of those volumes are mounted, returns a lazy docker launcher with a retrier to handle the cases where docker is started after the agent.

Types

This section is empty.

Jump to

Keyboard shortcuts

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