mocks

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EqWriter added in v1.0.13

func EqWriter(t []byte) gomock.Matcher

Types

type BlackHoleStream added in v1.0.12

type BlackHoleStream struct {
	// contains filtered or unexported fields
}

func (*BlackHoleStream) Sync added in v1.0.13

func (s *BlackHoleStream) Sync() error

func (*BlackHoleStream) SyncCount added in v1.0.13

func (s *BlackHoleStream) SyncCount() uint64

func (*BlackHoleStream) Write added in v1.0.12

func (s *BlackHoleStream) Write(p []byte) (int, error)

func (*BlackHoleStream) WriteCount added in v1.0.12

func (s *BlackHoleStream) WriteCount() uint64

type MockWriter

type MockWriter struct {
	// contains filtered or unexported fields
}

MockWriter is a mock of Writer interface.

func NewMockWriter

func NewMockWriter(ctrl *gomock.Controller) *MockWriter

NewMockWriter creates a new mock instance.

func (*MockWriter) EXPECT

func (m *MockWriter) EXPECT() *MockWriterMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockWriter) Write

func (m *MockWriter) Write(arg0 []byte) (int, error)

Write mocks base method.

type MockWriterMockRecorder

type MockWriterMockRecorder struct {
	// contains filtered or unexported fields
}

MockWriterMockRecorder is the mock recorder for MockWriter.

func (*MockWriterMockRecorder) Write

func (mr *MockWriterMockRecorder) Write(arg0 interface{}) *gomock.Call

Write indicates an expected call of Write.

Jump to

Keyboard shortcuts

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