config

package
v0.0.0-...-84dbba1 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateDefaultConfigFile

func GenerateDefaultConfigFile(filePath string) error

GenerateDefaultconfigFile generates a config file with the required fields.

Types

type Config

type Config struct {
	Cloud cloud.Config `json:"cloud"`
	SSH   ssh.Config   `json:"ssh"`
}

Config represents the global application configuration.

func LoadConfig

func LoadConfig(filePath string) (Config, error)

LoadConfig loads the global configuration from a path.

Jump to

Keyboard shortcuts

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