mocks

package
v0.0.0-...-e9f4405 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MinIOOptFunction

type MinIOOptFunction struct {
	mock.Mock
}

MinIOOptFunction is an autogenerated mock type for the MinIOOptFunction type

func NewMinIOOptFunction

func NewMinIOOptFunction(t interface {
	mock.TestingT
	Cleanup(func())
}) *MinIOOptFunction

NewMinIOOptFunction creates a new instance of MinIOOptFunction. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MinIOOptFunction) Execute

Execute provides a mock function with given fields: opt

type OptionFn

type OptionFn struct {
	mock.Mock
}

OptionFn is an autogenerated mock type for the optionFn type

func NewOptionFn

func NewOptionFn(t interface {
	mock.TestingT
	Cleanup(func())
}) *OptionFn

NewOptionFn creates a new instance of OptionFn. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*OptionFn) Execute

func (_m *OptionFn) Execute(opt *infras.MysqlOption)

Execute provides a mock function with given fields: opt

Jump to

Keyboard shortcuts

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