Documentation
¶
Index ¶
- Variables
- func ConfigurationFileExists() bool
- func GetConfigurationFilePath() (string, error)
- func GetInstance() *viper.Viper
- func GetInventoryFilePath() (string, error)
- func Initialize() error
- func InventoryFileExists() bool
- func IsConfigured() bool
- func Parse() error
- func Setup() error
- type Config
- type ConfigFile
Constants ¶
This section is empty.
Variables ¶
View Source
var Inv inventory.Inventory
Functions ¶
func ConfigurationFileExists ¶
func ConfigurationFileExists() bool
func GetInstance ¶
func GetInventoryFilePath ¶
func Initialize ¶
func Initialize() error
func InventoryFileExists ¶
func InventoryFileExists() bool
func IsConfigured ¶
func IsConfigured() bool
Types ¶
type Config ¶
type Config struct {
InventoryPath string `mapstructure:"inventory_file"`
}
var (
Params Config
)
type ConfigFile ¶
type ConfigFile struct {
InventoryFilePath string `yaml:"inventory_file"`
}
Click to show internal directories.
Click to hide internal directories.