mocks

package
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	mock.Mock
}

Logger is an autogenerated mock type for the Logger type

func (*Logger) Crit

func (_m *Logger) Crit(msg string, ctx ...interface{})

Crit provides a mock function with given fields: msg, ctx

func (*Logger) Debug

func (_m *Logger) Debug(msg string, ctx ...interface{})

Debug provides a mock function with given fields: msg, ctx

func (*Logger) Error

func (_m *Logger) Error(msg string, ctx ...interface{})

Error provides a mock function with given fields: msg, ctx

func (*Logger) FD

func (_m *Logger) FD() io.WriteCloser

FD provides a mock function with given fields:

func (*Logger) Info

func (_m *Logger) Info(msg string, ctx ...interface{})

Info provides a mock function with given fields: msg, ctx

func (*Logger) New

func (_m *Logger) New(ctx ...interface{}) logger.Logger

New provides a mock function with given fields: ctx

func (*Logger) Warn

func (_m *Logger) Warn(msg string, ctx ...interface{})

Warn provides a mock function with given fields: msg, ctx

type Runner added in v0.17.0

type Runner struct {
	mock.Mock
}

Runner is an autogenerated mock type for the Runner type

func (*Runner) Call added in v0.19.0

func (_m *Runner) Call(_a0 context.Context, req *v1.CallRequest) (*v1.CallResponse, error)

Call provides a mock function with given fields: _a0, req

func (*Runner) Kill added in v0.17.0

func (_m *Runner) Kill() error

Kill provides a mock function with given fields:

func (*Runner) Run added in v0.17.0

func (_m *Runner) Run() error

Run provides a mock function with given fields:

type ServiceClient

type ServiceClient struct {
	mock.Mock
}

ServiceClient is an autogenerated mock type for the ServiceClient type

func (*ServiceClient) Call

func (_m *ServiceClient) Call(ctx context.Context, in *v1.CallRequest, opts ...grpc.CallOption) (*v1.CallResponse, error)

Call provides a mock function with given fields: ctx, in, opts

func (*ServiceClient) Init

func (_m *ServiceClient) Init(ctx context.Context, in *v1.InitRequest, opts ...grpc.CallOption) (*v1.InitResponse, error)

Init provides a mock function with given fields: ctx, in, opts

type ServiceServer

type ServiceServer struct {
	mock.Mock
}

ServiceServer is an autogenerated mock type for the ServiceServer type

func (*ServiceServer) Call

func (_m *ServiceServer) Call(_a0 context.Context, _a1 *v1.CallRequest) (*v1.CallResponse, error)

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

func (*ServiceServer) Init

func (_m *ServiceServer) Init(_a0 context.Context, _a1 *v1.InitRequest) (*v1.InitResponse, error)

Init 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