-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle Launchers with a manager type (#11286)
This is quite similar to pkg/logs/scheduler.Schedulers. One substantial change is that the interesting internal bits of the logs-agent to which a launcher has access are passed to its Start method. This exposes the remaining "weird" launchers (container, kubernetes, and docker) as feeling even weirder, but that will be addressed in subsequent commits.
- Loading branch information
Showing
21 changed files
with
318 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# Launchers | ||
|
||
Launchers are responsible for translating sources (config.LogSource) to tailers, and managing their tailers' lifecycle. | ||
|
||
The logs agent maintains a set of current launchers, starting and stopping them at startup and stopping them when the logs-agent stops. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.