mocks

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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 MockStatusPersistence

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

MockStatusPersistence is a mock of StatusPersistence interface.

func NewMockStatusPersistence

func NewMockStatusPersistence(ctrl *gomock.Controller) *MockStatusPersistence

NewMockStatusPersistence creates a new mock instance.

func (*MockStatusPersistence) EXPECT

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

func (*MockStatusPersistence) LoadAllStatus

func (m *MockStatusPersistence) LoadAllStatus(ctx context.Context) (map[string]*status.SyncStatus, error)

LoadAllStatus mocks base method.

func (*MockStatusPersistence) LoadStatus

func (m *MockStatusPersistence) LoadStatus(ctx context.Context, registryName string) (*status.SyncStatus, error)

LoadStatus mocks base method.

func (*MockStatusPersistence) SaveStatus

func (m *MockStatusPersistence) SaveStatus(ctx context.Context, registryName string, arg2 *status.SyncStatus) error

SaveStatus mocks base method.

type MockStatusPersistenceMockRecorder

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

MockStatusPersistenceMockRecorder is the mock recorder for MockStatusPersistence.

func (*MockStatusPersistenceMockRecorder) LoadAllStatus

func (mr *MockStatusPersistenceMockRecorder) LoadAllStatus(ctx any) *gomock.Call

LoadAllStatus indicates an expected call of LoadAllStatus.

func (*MockStatusPersistenceMockRecorder) LoadStatus

func (mr *MockStatusPersistenceMockRecorder) LoadStatus(ctx, registryName any) *gomock.Call

LoadStatus indicates an expected call of LoadStatus.

func (*MockStatusPersistenceMockRecorder) SaveStatus

func (mr *MockStatusPersistenceMockRecorder) SaveStatus(ctx, registryName, arg2 any) *gomock.Call

SaveStatus indicates an expected call of SaveStatus.

Jump to

Keyboard shortcuts

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