Versions in this module Expand all Collapse all v0 v0.7.0 Dec 22, 2014 Changes in this version + type EtcdBackend struct + func NewEtcdBackend(registry *plugin.Registry, nodes []string, etcdKey string) (*EtcdBackend, error) + func NewEtcdBackendWithOptions(registry *plugin.Registry, nodes []string, etcdKey string, options Options) (*EtcdBackend, error) + func (s *EtcdBackend) AddEndpoint(e *backend.Endpoint) (*backend.Endpoint, error) + func (s *EtcdBackend) AddHost(h *backend.Host) (*backend.Host, error) + func (s *EtcdBackend) AddHostListener(hostname string, listener *backend.Listener) (*backend.Listener, error) + func (s *EtcdBackend) AddLocation(l *backend.Location) (*backend.Location, error) + func (s *EtcdBackend) AddLocationMiddleware(hostname, locationId string, m *backend.MiddlewareInstance) (*backend.MiddlewareInstance, error) + func (s *EtcdBackend) AddUpstream(u *backend.Upstream) (*backend.Upstream, error) + func (s *EtcdBackend) Close() + func (s *EtcdBackend) DeleteEndpoint(upstreamId, id string) error + func (s *EtcdBackend) DeleteHost(name string) error + func (s *EtcdBackend) DeleteHostListener(hostname string, listenerId string) error + func (s *EtcdBackend) DeleteLocation(hostname, id string) error + func (s *EtcdBackend) DeleteLocationMiddleware(hostname, locationId, mType, id string) error + func (s *EtcdBackend) DeleteUpstream(upstreamId string) error + func (s *EtcdBackend) ExpectLocation(hostname, locationId string) error + func (s *EtcdBackend) GetEndpoint(upstreamId, id string) (*backend.Endpoint, error) + func (s *EtcdBackend) GetHost(hostname string) (*backend.Host, error) + func (s *EtcdBackend) GetHosts() ([]*backend.Host, error) + func (s *EtcdBackend) GetLocation(hostname, locationId string) (*backend.Location, error) + func (s *EtcdBackend) GetLocationMiddleware(hostname, locationId, mType, id string) (*backend.MiddlewareInstance, error) + func (s *EtcdBackend) GetRegistry() *plugin.Registry + func (s *EtcdBackend) GetUpstream(upstreamId string) (*backend.Upstream, error) + func (s *EtcdBackend) GetUpstreams() ([]*backend.Upstream, error) + func (s *EtcdBackend) UpdateHostKeyPair(hostname string, keyPair *backend.KeyPair) (*backend.Host, error) + func (s *EtcdBackend) UpdateLocationMiddleware(hostname, locationId string, m *backend.MiddlewareInstance) (*backend.MiddlewareInstance, error) + func (s *EtcdBackend) UpdateLocationOptions(hostname, id string, o backend.LocationOptions) (*backend.Location, error) + func (s *EtcdBackend) UpdateLocationUpstream(hostname, id, upstreamId string) (*backend.Location, error) + func (s *EtcdBackend) UpdateUpstreamOptions(id string, o backend.UpstreamOptions) (*backend.Upstream, error) + func (s *EtcdBackend) WatchChanges(changes chan interface{}, cancelC chan bool) error + type MatcherFn func(*etcd.Response) (interface{}, error) + type Options struct + Box *secret.Box + EtcdConsistency string + type Pair struct + Key string + Val string