static

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package static "discovers" a static list of config API servers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Discoverer

type Discoverer struct {
	Targets  []*discovery.Target
	Observer discovery.TargetObserver
}

Discoverer notifies a target observer of a fixed list of targets.

func (*Discoverer) Run

func (d *Discoverer) Run(ctx context.Context) error

Run adds the notifies the observer of the targets availability until ctx is canceled.

Jump to

Keyboard shortcuts

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