mocks

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2026 License: MIT Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mocks holds the generated doubles of the interfaces of package heartbeat, for its tests.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRegistryStore

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

MockRegistryStore is a mock of RegistryStore interface.

func NewMockRegistryStore

func NewMockRegistryStore(ctrl *gomock.Controller) *MockRegistryStore

NewMockRegistryStore creates a new mock instance.

func (*MockRegistryStore) EXPECT

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

func (*MockRegistryStore) KVDelete

func (m *MockRegistryStore) KVDelete(ctx context.Context, bucket, key string) error

KVDelete mocks base method.

func (*MockRegistryStore) KVPut

func (m *MockRegistryStore) KVPut(ctx context.Context, bucket, key string, value []byte) (uint64, error)

KVPut mocks base method.

type MockRegistryStoreMockRecorder

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

MockRegistryStoreMockRecorder is the mock recorder for MockRegistryStore.

func (*MockRegistryStoreMockRecorder) KVDelete

func (mr *MockRegistryStoreMockRecorder) KVDelete(ctx, bucket, key any) *gomock.Call

KVDelete indicates an expected call of KVDelete.

func (*MockRegistryStoreMockRecorder) KVPut

func (mr *MockRegistryStoreMockRecorder) KVPut(ctx, bucket, key, value any) *gomock.Call

KVPut indicates an expected call of KVPut.

Jump to

Keyboard shortcuts

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