config

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 1, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Hypervisor  string      `yaml:"hypervisor"`
	Connection  string      `yaml:"connection"`
	Directories Directories `yaml:"directories"`
}

func LoadConfig

func LoadConfig() *Config

LoadConfig loads the configuration from file or creates a new if it's not yet created

type Directories

type Directories struct {
	Images    string `yaml:"images"`
	Instances string `yaml:"instances"`
}

Jump to

Keyboard shortcuts

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