Versions in this module Expand all Collapse all v0 v0.8.1 May 20, 2026 v0.8.0 May 20, 2026 Changes in this version + const Agent + const DefaultPath + const EnvPath + const Mode + const Version + var ErrNotManaged = errors.New("managed config not found") + func PathFromEnv() string + type Config struct + Agent string + CloudURL string + Credentials Credentials + Device Device + Mode string + OrganizationID string + Version string + func Parse(data []byte) (Config, error) + type Credentials struct + InstallTokenRef TokenRef + type Device struct + Label string + type LoadedConfig struct + Checksum string + Config Config + Path string + func Load() (LoadedConfig, error) + func LoadFile(path string) (LoadedConfig, error) + type TokenRef struct + Name string + Source string + func ParseTokenRef(value string) (TokenRef, error) + func (r *TokenRef) UnmarshalJSON(data []byte) error + func (r TokenRef) MarshalJSON() ([]byte, error) + func (r TokenRef) String() string