datasources

package
v0.0.0-...-a99be22 Latest Latest
Warning

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

Go to latest
Published: May 10, 2016 License: Apache-2.0 Imports: 13 Imported by: 1

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

func NewKubernetesDataStore() (DataStore, error)

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 ...

Jump to

Keyboard shortcuts

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