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 }
Click to show internal directories.
Click to hide internal directories.