package
0.0.0-20250127173657-440265f373c7
Repository: https://github.com/googlecloudplatform/workloadagent.git
Documentation: pkg.go.dev

# Functions

Load loads the configuration from a JSON file and applies defaults for missing fields.
LogLevelToZapcore returns the zapcore equivalent of the configuration log level.

# Constants

AgentName is a short-hand name of the agent.
AgentVersion is the version of the agent.
LinuxConfigPath is the default path to agent configuration file on linux.
WindowsConfigPath is the default path to agent configuration file on linux.

# Variables

AgentBuildChange is the change number that the agent was built at this will be replaced using "-X github.com/GoogleCloudPlatform/workloadagent/internal/configuration.AgentBuildChange=$CLNUMBER" by the build process.

# Type aliases

ReadConfigFile abstracts os.ReadFile function for testability.
WriteConfigFile abstracts os.WriteFile function for testability.