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.
Click to show internal directories.
Click to hide internal directories.