//
pkg.gl
Category
github.com/elastic/elastic-agent-libs
paths
package
0.11.0
Repository:
https://github.com/elastic/elastic-agent-libs.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
28
Files
89 SLOC
#
Functions
InitPaths
InitPaths sets the default paths in the configuration based on CLI flags, configuration file and default values.
New
New creates a new Paths object with all values set to empty values.
Resolve
Resolve resolves a path to a location in one of the default folders.
#
Constants
Config
Config is the path to the beat config.
Data
Data is the path to the beat data directory.
Home
Home is the "root" directory for the running beats instance.
Logs
Logs is the path to the beats logs directory.
#
Variables
Paths
Paths is the Path singleton on which the top level functions from this package operate.
#
Structs
Path
Path tracks user-configurable path locations and directories.
#
Type aliases
FileType
FileType is an enumeration type representing the file types.