distributed

package
v0.1.31 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2025 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Informer added in v0.1.31

type Informer struct {
	Chs  map[string]chan ievents.Event
	Lock *sync.RWMutex
}

func NewInformer added in v0.1.31

func NewInformer() *Informer

func (*Informer) AddCh added in v0.1.31

func (i *Informer) AddCh(format string)

func (*Informer) GetCh added in v0.1.31

func (i *Informer) GetCh(format string) chan ievents.Event

func (*Informer) RmCh added in v0.1.31

func (i *Informer) RmCh(format string)

type Replication

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

func New

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

func (*Replication) HandleDns added in v0.0.119

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

func (*Replication) HandleObject

func (replication *Replication) HandleObject(format iformat.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 iformat.Format, data KV.KV)

func (*Replication) ListenData

func (replication *Replication) ListenData(agent string)

Jump to

Keyboard shortcuts

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