categraf/logs/input/journald/launcher_nosystemd.go

29 lines
809 B
Go

//go:build !no_logs && !systemd
// Unless explicitly stated otherwise all files in this repository are licensed
// under the Apache License Version 2.0.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2016-present Datadog, Inc.
package journald
import (
logsconfig "flashcat.cloud/categraf/config/logs"
"flashcat.cloud/categraf/logs/auditor"
"flashcat.cloud/categraf/logs/pipeline"
)
// Launcher is not supported on no systemd environment.
type Launcher struct{}
// NewLauncher returns a new Launcher
func NewLauncher(sources *logsconfig.LogSources, pipelineProvider pipeline.Provider, registry auditor.Registry) *Launcher {
return &Launcher{}
}
// Start does nothing
func (l *Launcher) Start() {}
// Stop does nothing
func (l *Launcher) Stop() {}