utils

package
v0.0.0-...-55a407e Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInventoryInJSON

func GetInventoryInJSON(servers []objects.Server) (json string, err error)

func KeyValueExistsInMap

func KeyValueExistsInMap(chart map[string]string, requiredKey string, requiredValue string) bool

func Notification

func Notification(subject string, message string, server objects.Server)

func StringExistsInArray

func StringExistsInArray(array []string, required string) bool

func StructFromJson

func StructFromJson(input []byte, output interface{}) error

func StructToJson

func StructToJson(s interface{}) (string, error)

func ValidInput

func ValidInput(input string) bool

func VerifyFQDN

func VerifyFQDN(serverid string, requestIP string) (string, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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