Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockStatusPersistence
- func (m *MockStatusPersistence) EXPECT() *MockStatusPersistenceMockRecorder
- func (m *MockStatusPersistence) LoadAllStatus(ctx context.Context) (map[string]*status.SyncStatus, error)
- func (m *MockStatusPersistence) LoadStatus(ctx context.Context, registryName string) (*status.SyncStatus, error)
- func (m *MockStatusPersistence) SaveStatus(ctx context.Context, registryName string, arg2 *status.SyncStatus) error
- type MockStatusPersistenceMockRecorder
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 ¶
func (m *MockStatusPersistence) EXPECT() *MockStatusPersistenceMockRecorder
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.
Click to show internal directories.
Click to hide internal directories.