utils

package
v0.0.0-...-27b18a3 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2020 License: MIT Imports: 8 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckError

func CheckError(err error)

func GetLocalIP

func GetLocalIP(server *net.UDPConn) (ip string)

Types

type ConfigBMCUser

type ConfigBMCUser struct {
	Username string
	Password string
}

type ConfigNode

type ConfigNode struct {
	BMCIP  string
	VMName string
}

type Configuration

type Configuration struct {
	Nodes      []ConfigNode
	BMCUsers   []ConfigBMCUser
	WebAPIPort int
}

func LoadConfig

func LoadConfig(configFile string) Configuration

Jump to

Keyboard shortcuts

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