mocks

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

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

Go to latest
Published: Feb 2, 2018 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSnapshot

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

MockSnapshot is a mock of Snapshot interface

func NewMockSnapshot

func NewMockSnapshot(ctrl *gomock.Controller) *MockSnapshot

NewMockSnapshot creates a new mock instance

func (*MockSnapshot) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockSnapshot) Read

func (m *MockSnapshot) Read(arg0 selectors.Key, arg1 selectors.Quorum) []nodes.Node

Read mocks base method

func (*MockSnapshot) Write

func (m *MockSnapshot) Write(arg0 selectors.Key, arg1 selectors.Quorum) ([]nodes.Node, func([]uint32) error)

Write mocks base method

type MockSnapshotMockRecorder

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

MockSnapshotMockRecorder is the mock recorder for MockSnapshot

func (*MockSnapshotMockRecorder) Read

func (mr *MockSnapshotMockRecorder) Read(arg0, arg1 interface{}) *gomock.Call

Read indicates an expected call of Read

func (*MockSnapshotMockRecorder) Write

func (mr *MockSnapshotMockRecorder) Write(arg0, arg1 interface{}) *gomock.Call

Write indicates an expected call of Write

Jump to

Keyboard shortcuts

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