inventory

package
v0.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 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 Host

type Host struct {
	Hostname string                 `yaml:"hostname"`
	Username string                 `yaml:"username"`
	Password string                 `yaml:"password"`
	Data     map[string]interface{} `yaml:"data"`
}

type Inventory

type Inventory map[string]Host

func LoadInventory

func LoadInventory(filename string) (Inventory, error)

Jump to

Keyboard shortcuts

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