Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Embedded ¶
Embedded ETCD instance with tmp directory for serialized key&vals and etcd client.
func (*Embedded) CleanDs ¶
func (embd *Embedded) CleanDs()
CleanDs deletes all stored key-value pairs.
func (*Embedded) Start ¶
Start starts embedded ETCD. Inspired by https://github.com/ligato/cn-infra/blob/master/db/keyval/etcd/mocks/embeded_etcd.go
type EventsWatcher ¶
type EventsWatcher interface { OnGainedLeadership() OnLostLeadership() }
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.