host

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUndefinedLookupType = errors.New("no known identifier types found in ID lookup table")
	ErrNoEntityKeys        = errors.New("no agent identifiers available")
)

Errors

Functions

This section is empty.

Types

type IDLookup

type IDLookup map[string]string

IDLookup contains the identifiers used for resolving the agent entity name and agent key.

func (IDLookup) AgentKey

func (i IDLookup) AgentKey() (agentKey string, err error)

func (IDLookup) AgentShortEntityName

func (i IDLookup) AgentShortEntityName() (string, error)

AgentShortEntityName is the agent entity name, but without having long-hostname into account. It is taken from the first field in the priority.

Jump to

Keyboard shortcuts

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