Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFileDataStore ¶
func NewFileDataStore() (*fileDataStore, error)
Types ¶
type DataStore ¶
type DataStore interface {
Watch(ctx context.Context, sh SyncHandler)
}
DataStore ...
func NewKubernetesDataStore ¶
NewKubernetesDataStore creates a data store capable of sync'ing Kubernetes services and pods.
type SyncHandler ¶
type SyncHandler interface { SetHost(host string, vhm *server.VirtualHostMatcher) RemoveHost(host string) }
SyncHandler ...
Click to show internal directories.
Click to hide internal directories.