config

package
v0.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DebugEnv        = "HEADPLANE_AGENT_DEBUG"
	HostnameEnv     = "HEADPLANE_AGENT_HOSTNAME"
	TSControlURLEnv = "HEADPLANE_AGENT_TS_SERVER"
	TSAuthKeyEnv    = "HEADPLANE_AGENT_TS_AUTHKEY"
	WorkDirEnv      = "HEADPLANE_AGENT_WORK_DIR"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Debug        bool
	Hostname     string
	TSControlURL string
	TSAuthKey    string
	WorkDir      string
}

Config represents the configuration for the agent.

func Load

func Load() (*Config, error)

Load reads the agent configuration from environment variables.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL