host

package
v0.0.0-...-9440fe0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IPAddr

func IPAddr(iface string) map[string]string

IPAddr Prints off the IP addresses of each interface

Types

type Info

type Info struct {
	IP       map[string]string
	OSType   string
	Hostname string
}

Info defines basic information on the host being collected by the agent to uniquely identify the machine in the inventory.

func (*Info) Init

func (hostInfo *Info) Init()

Jump to

Keyboard shortcuts

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