mock_lock

package
v0.5.0 Latest Latest
Warning

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

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

Documentation

Overview

Package mock_lock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockLockStore

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

MockLockStore is a mock of LockStore interface.

func NewMockLockStore

func NewMockLockStore(ctrl *gomock.Controller) *MockLockStore

NewMockLockStore creates a new mock instance.

func (*MockLockStore) EXPECT

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

func (*MockLockStore) Features

func (m *MockLockStore) Features() []lock.Feature

Features mocks base method.

func (*MockLockStore) Init

func (m *MockLockStore) Init(metadata lock.Metadata) error

Init mocks base method.

func (*MockLockStore) TryLock

TryLock mocks base method.

func (*MockLockStore) Unlock

Unlock mocks base method.

type MockLockStoreMockRecorder

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

MockLockStoreMockRecorder is the mock recorder for MockLockStore.

func (*MockLockStoreMockRecorder) Features

func (mr *MockLockStoreMockRecorder) Features() *gomock.Call

Features indicates an expected call of Features.

func (*MockLockStoreMockRecorder) Init

func (mr *MockLockStoreMockRecorder) Init(metadata interface{}) *gomock.Call

Init indicates an expected call of Init.

func (*MockLockStoreMockRecorder) TryLock

func (mr *MockLockStoreMockRecorder) TryLock(req interface{}) *gomock.Call

TryLock indicates an expected call of TryLock.

func (*MockLockStoreMockRecorder) Unlock

func (mr *MockLockStoreMockRecorder) Unlock(req 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