mock

package
v0.0.0-...-c39517e Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

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 MockDLM

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

MockDLM is a mock of DLM interface.

func NewMockDLM

func NewMockDLM(ctrl *gomock.Controller) *MockDLM

NewMockDLM creates a new mock instance.

func (*MockDLM) EXPECT

func (m *MockDLM) EXPECT() *MockDLMMockRecorder

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

func (*MockDLM) Lock

func (m *MockDLM) Lock(arg0 string, arg1 time.Duration) error

Lock mocks base method.

func (*MockDLM) Unlock

func (m *MockDLM) Unlock(arg0 string) (bool, error)

Unlock mocks base method.

type MockDLMMockRecorder

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

MockDLMMockRecorder is the mock recorder for MockDLM.

func (*MockDLMMockRecorder) Lock

func (mr *MockDLMMockRecorder) Lock(arg0, arg1 interface{}) *gomock.Call

Lock indicates an expected call of Lock.

func (*MockDLMMockRecorder) Unlock

func (mr *MockDLMMockRecorder) 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