Skip to main content

load

Function load 

Source
pub fn load(path: Option<&Path>, allow_insecure: bool) -> Result<Config>
Expand description

Load and validate the agent config.

Lookup order if path is None:

  1. $XDG_CONFIG_HOME/usepod-agent/agent.toml (or platform equivalent)
  2. ./agent.toml