providerutils

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultHostGroup = "default"

Variables

This section is empty.

Functions

func BuildPlaybookInventory

func BuildPlaybookInventory(
	inventoryDest string,
	hostname string,
	port int,
	hostgroups []interface{},
) (string, diag.Diagnostics)

func CreateVerboseSwitch

func CreateVerboseSwitch(verbosity int) string

Create a "verbpse" switch example: verbosity = 2 --> verbose_switch = "-vv"

func GetAllInventories

func GetAllInventories(inventoryPrefix string) ([]string, diag.Diagnostics)

func InterfaceToString

func InterfaceToString(arr []interface{}) ([]string, diag.Diagnostics)

func RemoveFile

func RemoveFile(filename string) diag.Diagnostics

Types

This section is empty.

Jump to

Keyboard shortcuts

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