replication

package
v0.0.0-...-4a20579 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2020 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Replicator

type Replicator struct {
	// contains filtered or unexported fields
}

Replicator is an implementation to replicate objects to python API

func New

func New(epStore *endpoint.Store) (*Replicator, error)

New initializes replication data

func (*Replicator) Process

func (r *Replicator) Process(ctx context.Context, e *services.Event) (*services.Event, error)

Process processes event by sending requests to all registered clusters.

func (*Replicator) Start

func (r *Replicator) Start() error

Start replication service

func (*Replicator) Stop

func (r *Replicator) Stop()

Stop replication routine

Jump to

Keyboard shortcuts

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