mocks

package
v2.0.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DirectoryContentFormatter

type DirectoryContentFormatter struct {
	mock.Mock
}

DirectoryContentFormatter is an autogenerated mock type for the DirectoryContentFormatter type

func NewDirectoryContentFormatter

func NewDirectoryContentFormatter(t mockConstructorTestingTNewDirectoryContentFormatter) *DirectoryContentFormatter

NewDirectoryContentFormatter creates a new instance of DirectoryContentFormatter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*DirectoryContentFormatter) File

func (_m *DirectoryContentFormatter) File(path string, info fs.FileInfo) (string, error)

File provides a mock function with given fields: path, info

func (*DirectoryContentFormatter) RootPath

func (_m *DirectoryContentFormatter) RootPath(path string)

RootPath provides a mock function with given fields: path

func (*DirectoryContentFormatter) Title

func (_m *DirectoryContentFormatter) Title(title string) string

Title provides a mock function with given fields: title

type Logger

type Logger struct {
	mock.Mock
}

Logger is an autogenerated mock type for the Logger type

func NewLogger

func NewLogger(t mockConstructorTestingTNewLogger) *Logger

NewLogger creates a new instance of Logger. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Logger) Debug

func (_m *Logger) Debug(a ...interface{})

Debug provides a mock function with given fields: a

func (*Logger) DebugWriter

func (_m *Logger) DebugWriter() io.Writer

DebugWriter provides a mock function with given fields:

func (*Logger) Debugf

func (_m *Logger) Debugf(format string, a ...interface{})

Debugf provides a mock function with given fields: format, a

func (*Logger) IsDebugEnabled

func (_m *Logger) IsDebugEnabled() bool

IsDebugEnabled provides a mock function with given fields:

Jump to

Keyboard shortcuts

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