Documentation ¶
Index ¶
Constants ¶
View Source
const ( BackendAddedEvent = "add" BackendRemovedEvent = "remove" // TODO(krapie): we termporay use this image for testing, but we can make it configurable SCHEME = "http" IP = "0.0.0.0" )
Variables ¶
View Source
var (
ErrRegistryNotSet = errors.New("registry not set")
)
Functions ¶
This section is empty.
Types ¶
type BackendEvent ¶
type Register ¶
type Register interface { SetTargetFilter(targetFilter string) SetRegistry(registry *registry.BackendRegistry) GetEventChannel() chan BackendEvent Initialize() error Observe() }
Click to show internal directories.
Click to hide internal directories.