register

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

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 BackendEvent struct {
	EventType string
	Actor     string
}

type Register

type Register interface {
	SetTargetFilter(targetFilter string)
	SetRegistry(registry *registry.BackendRegistry)
	GetEventChannel() chan BackendEvent
	Initialize() error
	Observe()
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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