inventory

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Type is the inventory file type
	Type = "yaml"
	// Name is the inventory file Name with Type as extension
	Name = "inventory" + "." + Type
)
View Source
var Store = viper.New()

Store is the Read Only config storage

Functions

func Init

func Init(configPath string) error

Init configures the Read Only config storage

func WriteStore

func WriteStore() error

WriteStore writes the current information from Store to configFilePath. Returns err if it fails.

Types

This section is empty.

Jump to

Keyboard shortcuts

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