package
8.15.2+incompatible
Repository: https://github.com/elastic/elastic-agent.git
Documentation: pkg.go.dev

# Functions

NewAppLocker creates an AppLocker that locks the agent.lock file inside the provided directory.

# Variables

ErrAppAlreadyRunning error returned when another elastic-agent is already holding the lock.

# Structs

AppLocker locks the agent.lock file inside the provided directory.