atomicmock

package
v1.12.0-initial-poc.4 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package atomicmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SharedMemory

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

SharedMemory is a mock of SharedMemory interface.

func NewSharedMemory

func NewSharedMemory(ctrl *gomock.Controller) *SharedMemory

NewSharedMemory creates a new mock instance.

func (*SharedMemory) Apply

func (m *SharedMemory) Apply(arg0 map[ids.ID]*atomic.Requests, arg1 ...database.Batch) error

Apply mocks base method.

func (*SharedMemory) EXPECT

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

func (*SharedMemory) Get

func (m *SharedMemory) Get(arg0 ids.ID, arg1 [][]byte) ([][]byte, error)

Get mocks base method.

func (*SharedMemory) Indexed

func (m *SharedMemory) Indexed(arg0 ids.ID, arg1 [][]byte, arg2, arg3 []byte, arg4 int) ([][]byte, []byte, []byte, error)

Indexed mocks base method.

type SharedMemoryMockRecorder

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

SharedMemoryMockRecorder is the mock recorder for SharedMemory.

func (*SharedMemoryMockRecorder) Apply

func (mr *SharedMemoryMockRecorder) Apply(arg0 any, arg1 ...any) *gomock.Call

Apply indicates an expected call of Apply.

func (*SharedMemoryMockRecorder) Get

func (mr *SharedMemoryMockRecorder) Get(arg0, arg1 any) *gomock.Call

Get indicates an expected call of Get.

func (*SharedMemoryMockRecorder) Indexed

func (mr *SharedMemoryMockRecorder) Indexed(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call

Indexed indicates an expected call of Indexed.

Jump to

Keyboard shortcuts

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