clustvirt/config/config.go

10 lines
431 B
Go
Raw Normal View History

// Package config used spf13/viper to handle configuration. Sane defaults are set
// as default values, and a single host is set to `qemu:///system`, which is only
// used if it is found. Not having a local instance will not panic or crash anything.
//
// Viper uses configuration set via defaults -> config file -> env variables ->
// cli flags -> calls to Set (while running), so clustvirt uses the same method.
package config