mocks

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Caller

type Caller struct {
	mock.Mock
}

Caller is an autogenerated mock type for the Caller type

func NewCaller

func NewCaller(t mockConstructorTestingTNewCaller) *Caller

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

func (*Caller) DPanic

func (_m *Caller) DPanic(_a0 ...interface{})

DPanic provides a mock function with given fields: _a0

func (*Caller) DPanicF

func (_m *Caller) DPanicF(_a0 string, _a1 ...interface{})

DPanicF provides a mock function with given fields: _a0, _a1

func (*Caller) DPanicW

func (_m *Caller) DPanicW(_a0 string, _a1 ...interface{})

DPanicW provides a mock function with given fields: _a0, _a1

func (*Caller) Debug

func (_m *Caller) Debug(_a0 ...interface{})

Debug provides a mock function with given fields: _a0

func (*Caller) DebugF

func (_m *Caller) DebugF(_a0 string, _a1 ...interface{})

DebugF provides a mock function with given fields: _a0, _a1

func (*Caller) DebugW

func (_m *Caller) DebugW(_a0 string, _a1 ...interface{})

DebugW provides a mock function with given fields: _a0, _a1

func (*Caller) Error

func (_m *Caller) Error(_a0 ...interface{})

Error provides a mock function with given fields: _a0

func (*Caller) ErrorF

func (_m *Caller) ErrorF(_a0 string, _a1 ...interface{})

ErrorF provides a mock function with given fields: _a0, _a1

func (*Caller) ErrorW

func (_m *Caller) ErrorW(_a0 string, _a1 ...interface{})

ErrorW provides a mock function with given fields: _a0, _a1

func (*Caller) Fatal

func (_m *Caller) Fatal(_a0 ...interface{})

Fatal provides a mock function with given fields: _a0

func (*Caller) FatalF

func (_m *Caller) FatalF(_a0 string, _a1 ...interface{})

FatalF provides a mock function with given fields: _a0, _a1

func (*Caller) FatalW

func (_m *Caller) FatalW(_a0 string, _a1 ...interface{})

FatalW provides a mock function with given fields: _a0, _a1

func (*Caller) Info

func (_m *Caller) Info(_a0 ...interface{})

Info provides a mock function with given fields: _a0

func (*Caller) InfoF

func (_m *Caller) InfoF(_a0 string, _a1 ...interface{})

InfoF provides a mock function with given fields: _a0, _a1

func (*Caller) InfoW

func (_m *Caller) InfoW(_a0 string, _a1 ...interface{})

InfoW provides a mock function with given fields: _a0, _a1

func (*Caller) Panic

func (_m *Caller) Panic(_a0 ...interface{})

Panic provides a mock function with given fields: _a0

func (*Caller) PanicF

func (_m *Caller) PanicF(_a0 string, _a1 ...interface{})

PanicF provides a mock function with given fields: _a0, _a1

func (*Caller) PanicW

func (_m *Caller) PanicW(_a0 string, _a1 ...interface{})

PanicW provides a mock function with given fields: _a0, _a1

func (*Caller) Warn

func (_m *Caller) Warn(_a0 ...interface{})

Warn provides a mock function with given fields: _a0

func (*Caller) WarnF

func (_m *Caller) WarnF(_a0 string, _a1 ...interface{})

WarnF provides a mock function with given fields: _a0, _a1

func (*Caller) WarnW

func (_m *Caller) WarnW(_a0 string, _a1 ...interface{})

WarnW provides a mock function with given fields: _a0, _a1

type Core

type Core struct {
	mock.Mock
}

Core is an autogenerated mock type for the Core type

func NewCore

func NewCore(t mockConstructorTestingTNewCore) *Core

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

type Option

type Option struct {
	mock.Mock
}

Option is an autogenerated mock type for the Option type

func NewOption

func NewOption(t mockConstructorTestingTNewOption) *Option

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

func (*Option) Execute

func (_m *Option) Execute(_a0 *zapper.Zap)

Execute provides a mock function with given fields: _a0

type Zapper

type Zapper struct {
	mock.Mock
}

Zapper is an autogenerated mock type for the Zapper type

func NewZapper

func NewZapper(t mockConstructorTestingTNewZapper) *Zapper

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

func (*Zapper) DPanic

func (_m *Zapper) DPanic(_a0 ...interface{})

DPanic provides a mock function with given fields: _a0

func (*Zapper) DPanicF

func (_m *Zapper) DPanicF(_a0 string, _a1 ...interface{})

DPanicF provides a mock function with given fields: _a0, _a1

func (*Zapper) DPanicW

func (_m *Zapper) DPanicW(_a0 string, _a1 ...interface{})

DPanicW provides a mock function with given fields: _a0, _a1

func (*Zapper) Debug

func (_m *Zapper) Debug(_a0 ...interface{})

Debug provides a mock function with given fields: _a0

func (*Zapper) DebugF

func (_m *Zapper) DebugF(_a0 string, _a1 ...interface{})

DebugF provides a mock function with given fields: _a0, _a1

func (*Zapper) DebugW

func (_m *Zapper) DebugW(_a0 string, _a1 ...interface{})

DebugW provides a mock function with given fields: _a0, _a1

func (*Zapper) Error

func (_m *Zapper) Error(_a0 ...interface{})

Error provides a mock function with given fields: _a0

func (*Zapper) ErrorF

func (_m *Zapper) ErrorF(_a0 string, _a1 ...interface{})

ErrorF provides a mock function with given fields: _a0, _a1

func (*Zapper) ErrorW

func (_m *Zapper) ErrorW(_a0 string, _a1 ...interface{})

ErrorW provides a mock function with given fields: _a0, _a1

func (*Zapper) Fatal

func (_m *Zapper) Fatal(_a0 ...interface{})

Fatal provides a mock function with given fields: _a0

func (*Zapper) FatalF

func (_m *Zapper) FatalF(_a0 string, _a1 ...interface{})

FatalF provides a mock function with given fields: _a0, _a1

func (*Zapper) FatalW

func (_m *Zapper) FatalW(_a0 string, _a1 ...interface{})

FatalW provides a mock function with given fields: _a0, _a1

func (*Zapper) GetSentryClient

func (_m *Zapper) GetSentryClient() *sentry.Client

GetSentryClient provides a mock function with given fields:

func (*Zapper) GetServiceCode

func (_m *Zapper) GetServiceCode() uint

GetServiceCode provides a mock function with given fields:

func (*Zapper) GetServiceName

func (_m *Zapper) GetServiceName() string

GetServiceName provides a mock function with given fields:

func (*Zapper) GetZap

func (_m *Zapper) GetZap() *zap.Logger

GetZap provides a mock function with given fields:

func (*Zapper) Info

func (_m *Zapper) Info(_a0 ...interface{})

Info provides a mock function with given fields: _a0

func (*Zapper) InfoF

func (_m *Zapper) InfoF(_a0 string, _a1 ...interface{})

InfoF provides a mock function with given fields: _a0, _a1

func (*Zapper) InfoW

func (_m *Zapper) InfoW(_a0 string, _a1 ...interface{})

InfoW provides a mock function with given fields: _a0, _a1

func (*Zapper) NewCore

func (_m *Zapper) NewCore(_a0 ...zapper.Core) error

NewCore provides a mock function with given fields: _a0

func (*Zapper) Panic

func (_m *Zapper) Panic(_a0 ...interface{})

Panic provides a mock function with given fields: _a0

func (*Zapper) PanicF

func (_m *Zapper) PanicF(_a0 string, _a1 ...interface{})

PanicF provides a mock function with given fields: _a0, _a1

func (*Zapper) PanicW

func (_m *Zapper) PanicW(_a0 string, _a1 ...interface{})

PanicW provides a mock function with given fields: _a0, _a1

func (*Zapper) Warn

func (_m *Zapper) Warn(_a0 ...interface{})

Warn provides a mock function with given fields: _a0

func (*Zapper) WarnF

func (_m *Zapper) WarnF(_a0 string, _a1 ...interface{})

WarnF provides a mock function with given fields: _a0, _a1

func (*Zapper) WarnW

func (_m *Zapper) WarnW(_a0 string, _a1 ...interface{})

WarnW provides a mock function with given fields: _a0, _a1

Jump to

Keyboard shortcuts

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