lcm

package
v2.1.5+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package lcm is a linearizable checker manager.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Coordinator

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

Coordinator is used to manage clients used for collecting test results.

func NewCoordinator

func NewCoordinator(ctx context.Context,
	size uint64, clusterID uint64, drummerAddresses []string) *Coordinator

NewCoordinator returns a new Coordinator object.

func (*Coordinator) SaveAsEDNLog

func (c *Coordinator) SaveAsEDNLog(fn string)

SaveAsEDNLog saves the collected results in .edn format.

func (*Coordinator) SaveAsJepsenLog

func (c *Coordinator) SaveAsJepsenLog(fn string)

SaveAsJepsenLog saves the collected results in Japsen log format.

func (*Coordinator) Start

func (c *Coordinator) Start()

Start starts the Coordinator.

func (*Coordinator) Stop

func (c *Coordinator) Stop()

Stop stops the Coordinator

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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