distributed

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2025 License: GPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Replication

type Replication struct {
	Client      *client.Client
	User        *authentication.User
	NodeName    string
	DataC       chan KV.KV
	EventsC     chan KV.KV
	DnsUpdatesC chan KV.KV
	Replicated  *smaps.Smap
}

func New

func New(client *client.Client, user *authentication.User, nodeName string) *Replication

func (*Replication) HandleDns added in v0.0.119

func (replication *Replication) HandleDns(format contracts.Format, data KV.KV)

func (*Replication) HandleObject

func (replication *Replication) HandleObject(format contracts.Format, data KV.KV)

func (*Replication) HandleOutside added in v0.0.137

func (replication *Replication) HandleOutside(data KV.KV)

HandleEtcd handles the case when data is entered into etcd via other means than simplecontainer - flannel only

func (*Replication) HandlePlain

func (replication *Replication) HandlePlain(format contracts.Format, data KV.KV)

func (*Replication) HandleSecret

func (replication *Replication) HandleSecret(format contracts.Format, data KV.KV)

func (*Replication) ListenData

func (replication *Replication) ListenData(agent string)

func (*Replication) ListenOutside added in v0.0.137

func (replication *Replication) ListenOutside(agent string)

Jump to

Keyboard shortcuts

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