mock

package
v0.0.0-...-97dcd52 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2018 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IDGenerator

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

IDGenerator is a mock of IDGenerator interface

func NewIDGenerator

func NewIDGenerator(ctrl *gomock.Controller) *IDGenerator

NewIDGenerator creates a new mock instance

func (*IDGenerator) EXPECT

func (m *IDGenerator) EXPECT() *IDGeneratorMockRecorder

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

func (*IDGenerator) NextID

func (m *IDGenerator) NextID() string

NextID mocks base method

type IDGeneratorMockRecorder

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

IDGeneratorMockRecorder is the mock recorder for IDGenerator

func (*IDGeneratorMockRecorder) NextID

func (mr *IDGeneratorMockRecorder) NextID() *gomock.Call

NextID indicates an expected call of NextID

type LockManager

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

LockManager is a mock of LockManager interface

func NewLockManager

func NewLockManager(ctrl *gomock.Controller) *LockManager

NewLockManager creates a new mock instance

func (*LockManager) Disable

func (m *LockManager) Disable(arg0, arg1 string) error

Disable mocks base method

func (*LockManager) EXPECT

func (m *LockManager) EXPECT() *LockManagerMockRecorder

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

func (*LockManager) Enable

func (m *LockManager) Enable(arg0, arg1 string) error

Enable mocks base method

func (*LockManager) Lock

func (m *LockManager) Lock(arg0, arg1, arg2, arg3 string, arg4 time.Duration) error

Lock mocks base method

func (*LockManager) Unlock

func (m *LockManager) Unlock(arg0, arg1, arg2, arg3 string) error

Unlock mocks base method

type LockManagerMockRecorder

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

LockManagerMockRecorder is the mock recorder for LockManager

func (*LockManagerMockRecorder) Disable

func (mr *LockManagerMockRecorder) Disable(arg0, arg1 interface{}) *gomock.Call

Disable indicates an expected call of Disable

func (*LockManagerMockRecorder) Enable

func (mr *LockManagerMockRecorder) Enable(arg0, arg1 interface{}) *gomock.Call

Enable indicates an expected call of Enable

func (*LockManagerMockRecorder) Lock

func (mr *LockManagerMockRecorder) Lock(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

Lock indicates an expected call of Lock

func (*LockManagerMockRecorder) Unlock

func (mr *LockManagerMockRecorder) Unlock(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Unlock indicates an expected call of Unlock

type Logger

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

Logger is a mock of Logger interface

func NewLogger

func NewLogger(ctrl *gomock.Controller) *Logger

NewLogger creates a new mock instance

func (*Logger) EXPECT

func (m *Logger) EXPECT() *LoggerMockRecorder

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

func (*Logger) Log

func (m *Logger) Log(arg0 ...interface{}) error

Log mocks base method

type LoggerMockRecorder

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

LoggerMockRecorder is the mock recorder for Logger

func (*LoggerMockRecorder) Log

func (mr *LoggerMockRecorder) Log(arg0 ...interface{}) *gomock.Call

Log indicates an expected call of Log

type StatusManager

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

StatusManager is a mock of StatusManager interface

func NewStatusManager

func NewStatusManager(ctrl *gomock.Controller) *StatusManager

NewStatusManager creates a new mock instance

func (*StatusManager) Complete

func (m *StatusManager) Complete(arg0, arg1, arg2, arg3 string, arg4, arg5 map[string]string) error

Complete mocks base method

func (*StatusManager) EXPECT

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

func (*StatusManager) Fail

func (m *StatusManager) Fail(arg0, arg1, arg2, arg3 string, arg4, arg5 map[string]string) error

Fail mocks base method

func (*StatusManager) Register

func (m *StatusManager) Register(arg0, arg1, arg2, arg3 string)

Register mocks base method

func (*StatusManager) Start

func (m *StatusManager) Start(arg0, arg1, arg2 string) error

Start mocks base method

func (*StatusManager) Update

func (m *StatusManager) Update(arg0, arg1, arg2 string, arg3 map[string]string) error

Update mocks base method

type StatusManagerMockRecorder

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

StatusManagerMockRecorder is the mock recorder for StatusManager

func (*StatusManagerMockRecorder) Complete

func (mr *StatusManagerMockRecorder) Complete(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

Complete indicates an expected call of Complete

func (*StatusManagerMockRecorder) Fail

func (mr *StatusManagerMockRecorder) Fail(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

Fail indicates an expected call of Fail

func (*StatusManagerMockRecorder) Register

func (mr *StatusManagerMockRecorder) Register(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Register indicates an expected call of Register

func (*StatusManagerMockRecorder) Start

func (mr *StatusManagerMockRecorder) Start(arg0, arg1, arg2 interface{}) *gomock.Call

Start indicates an expected call of Start

func (*StatusManagerMockRecorder) Update

func (mr *StatusManagerMockRecorder) Update(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Update indicates an expected call of Update

Jump to

Keyboard shortcuts

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