mocks

package
v0.0.0-...-5b64428 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2020 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 Sink

type Sink struct {
	mock.Mock
}

Sink is an autogenerated mock type for the Sink type

func (*Sink) Close

func (_m *Sink) Close() error

Close provides a mock function with given fields:

func (*Sink) Open

func (_m *Sink) Open() error

Open provides a mock function with given fields:

func (*Sink) Write

func (_m *Sink) Write(p []byte) (int, error)

Write provides a mock function with given fields: p

type SinkFactory

type SinkFactory struct {
	mock.Mock
}

SinkFactory is an autogenerated mock type for the SinkFactory type

func (*SinkFactory) Sink

func (_m *SinkFactory) Sink(params sinks.SinkParams) (sinks.Sink, error)

Sink provides a mock function with given fields: params

Jump to

Keyboard shortcuts

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