hosts

package
v4.1.18 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2025 License: GPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hosts

type Hosts []ID

Hosts is a slice of ID values, used for returning multiple Host IDs via a resolver

type ID

type ID = string

ID identifies a remote goProbe instance to query (host, FQDN, UUID, etc.). If you already have an ID type elsewhere, feel free to replace this.

type Resolver

type Resolver interface {
	Resolve(ctx context.Context, query string) (Hosts, error)
}

Resolver returns the set of IDs that the distributed querier should contact

Jump to

Keyboard shortcuts

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