container

package
v0.0.0-...-3dd6856 Latest Latest
Warning

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

Go to latest
Published: May 20, 2019 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, 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.

Jump to

Keyboard shortcuts

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