mocks

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2026 License: Apache-2.0, MIT Imports: 2 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 is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCleaner

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

MockCleaner is a mock of Cleaner interface.

func NewMockCleaner

func NewMockCleaner(ctrl *gomock.Controller) *MockCleaner

NewMockCleaner creates a new mock instance.

func (*MockCleaner) EXPECT

func (m *MockCleaner) EXPECT() *MockCleanerMockRecorder

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

func (*MockCleaner) GetFiles

func (m *MockCleaner) GetFiles(directory string) ([]string, error)

GetFiles mocks base method.

func (*MockCleaner) Remove

func (m *MockCleaner) Remove(file string)

Remove mocks base method.

type MockCleanerMockRecorder

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

MockCleanerMockRecorder is the mock recorder for MockCleaner.

func (*MockCleanerMockRecorder) GetFiles

func (mr *MockCleanerMockRecorder) GetFiles(directory any) *gomock.Call

GetFiles indicates an expected call of GetFiles.

func (*MockCleanerMockRecorder) Remove

func (mr *MockCleanerMockRecorder) Remove(file any) *gomock.Call

Remove indicates an expected call of Remove.

Jump to

Keyboard shortcuts

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