Documentation ¶
Index ¶
- func EtcDelete(key string) error
- func EtcdPut(key string, value string) error
- type KV
- type Replication
- func (replication *Replication) HandleDns(data KV)
- func (replication *Replication) HandleEtcd(data KV)
- func (replication *Replication) HandleInvalid(data KV)
- func (replication *Replication) HandleObject(data KV)
- func (replication *Replication) HandleObjectDelete(data KV)
- func (replication *Replication) HandlePlain(data KV)
- func (replication *Replication) HandleSecret(data KV)
- func (replication *Replication) ListenData(agent string)
- func (replication *Replication) ListenEtcd(agent string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Replication ¶
type Replication struct { Client *client.Client User *authentication.User DataC chan KV EventsC chan KV DnsUpdatesC chan KV }
func New ¶
func New(client *client.Client, user *authentication.User) *Replication
func (*Replication) HandleDns ¶ added in v0.0.119
func (replication *Replication) HandleDns(data KV)
func (*Replication) HandleEtcd ¶
func (replication *Replication) HandleEtcd(data KV)
func (*Replication) HandleInvalid ¶
func (replication *Replication) HandleInvalid(data KV)
func (*Replication) HandleObject ¶
func (replication *Replication) HandleObject(data KV)
func (*Replication) HandleObjectDelete ¶
func (replication *Replication) HandleObjectDelete(data KV)
func (*Replication) HandlePlain ¶
func (replication *Replication) HandlePlain(data KV)
func (*Replication) HandleSecret ¶
func (replication *Replication) HandleSecret(data KV)
func (*Replication) ListenData ¶
func (replication *Replication) ListenData(agent string)
func (*Replication) ListenEtcd ¶
func (replication *Replication) ListenEtcd(agent string) error
Click to show internal directories.
Click to hide internal directories.