idmanagermock

package
v0.5.8 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package idmanagermock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockManager

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

MockManager is a mock of Manager interface

func NewMockManager

func NewMockManager(ctrl *gomock.Controller) *MockManager

NewMockManager creates a new mock instance

func (*MockManager) EXPECT

func (m *MockManager) EXPECT() *MockManagerMockRecorder

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

func (*MockManager) Generate

func (m *MockManager) Generate(arg0 context.Context) (int, error)

Generate mocks base method

func (*MockManager) Lock

func (m *MockManager) Lock(arg0 context.Context) error

Lock mocks base method

func (*MockManager) Unlock

func (m *MockManager) Unlock(arg0 context.Context) error

Unlock mocks base method

type MockManagerMockRecorder

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

MockManagerMockRecorder is the mock recorder for MockManager

func (*MockManagerMockRecorder) Generate

func (mr *MockManagerMockRecorder) Generate(arg0 interface{}) *gomock.Call

Generate indicates an expected call of Generate

func (*MockManagerMockRecorder) Lock

func (mr *MockManagerMockRecorder) Lock(arg0 interface{}) *gomock.Call

Lock indicates an expected call of Lock

func (*MockManagerMockRecorder) Unlock

func (mr *MockManagerMockRecorder) Unlock(arg0 interface{}) *gomock.Call

Unlock indicates an expected call of Unlock

Jump to

Keyboard shortcuts

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