Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLauncher ¶
func NewLauncher(collectAll 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. As a user can run on Kubernetes and mount both '/var/log/pods' and the docker socket to collect metrics, we first attempt to initialize the kubernetes launcher and fallback to the docker launcher if the initialization failed.
func NewNoopLauncher ¶
func NewNoopLauncher() restart.Restartable
NewNoopLauncher returns a new noopLauncher.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.