config

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: May 6, 2023 License: MIT Imports: 4 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,omitempty"`
	Connection  string      `yaml:"connection,omitempty"`
	Directories Directories `yaml:"directories,omitempty"`
}

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,omitempty"`
	Instances string `yaml:"instances,omitempty"`
}

Jump to

Keyboard shortcuts

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