Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Logger Logger Mechanism WatchMechanism OnUpdate UpdateFunc Namespace string Selector string PeerScheme string PeerPort int }
type UpdateFunc ¶
type UpdateFunc func(peers []string)
type WatchMechanism ¶
type WatchMechanism string
const ( WatchEndpoints WatchMechanism = "endpoints" WatchPods WatchMechanism = "pods" )
Click to show internal directories.
Click to hide internal directories.