configuration

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateExample

func GenerateExample() ([]byte, error)

GenerateExample generates an example configuration file

Types

type Configuration

type Configuration struct {
	Address string                         `yaml:"address"`
	Hosts   []*credential.VaultCredentials `yaml:"hosts"`
}

func LoadFromFile

func LoadFromFile(path string) (*Configuration, error)

LoadFromFile loads a configuration file from a file specified at path

Jump to

Keyboard shortcuts

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