parser

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2026 License: AGPL-3.0 Imports: 41 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanupTempConfigsDirectory added in v0.22.0

func CleanupTempConfigsDirectory()

CleanupTempConfigsDirectory removes the temp directory if one was created during resolution. Safe to call even if configs were loaded from a local path.

func ConfigFilesExist added in v0.22.0

func ConfigFilesExist(configsDirectory string) (bool, error)

ConfigFilesExist checks whether both general.yaml and secrets.yaml exist at the given path.

func ParseConfigFiles

func ParseConfigFiles(ctx context.Context, configsDirectory string)

func ResolveConfigsDirectory added in v0.22.0

func ResolveConfigsDirectory(ctx context.Context) error

ResolveConfigsDirectory resolves the configs directory from a local path or stdin ("-"). For stdin, it writes the received YAML to a temp directory and updates globals.ConfigsDirectory to point there.

Types

This section is empty.

Jump to

Keyboard shortcuts

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