config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package config loads and saves the staging connection settings (.env.staging). Settings live in the process environment so the drivers can read them and hand them to docker.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(path string) (found bool, err error)

Load reads KEY=VALUE lines; variables already set in the environment win. A missing file is not an error: it reports found=false so the caller can onboard.

func Save

func Save(path string, drivers []driver.Driver) error

Save writes every driver field to path with mode 0600 — the file holds passwords.

Types

This section is empty.

Jump to

Keyboard shortcuts

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