common

package
v1.8.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	V1 = ApiVersion("v1")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiVersion

type ApiVersion string

type DiscovererE

type DiscovererE interface {
	Run(ctx context.Context, ch chan<- []*targetgroup.Group) error
}

DiscovererE is like discovery.Discoverer but allows returning errors

type DiscovererFactory

type DiscovererFactory interface {
	CreateDiscoverer(config DiscoveryConfig, log logr.Logger) DiscovererE
}

DiscovererFactory creates DiscovererE instances

type DiscoveryConfig

type DiscoveryConfig struct {
	ServerURL  string
	ClientName string
	ApiVersion ApiVersion
}

Jump to

Keyboard shortcuts

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