bugreport

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package bugreport is a generated GoMock package.

Package bugreport is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallForeignMethod

func CallForeignMethod(s Source)

func CallResponseWriterMethods

func CallResponseWriterMethods(n Net)

Types

type MockNet

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

MockNet is a mock of Net interface.

func NewMockNet

func NewMockNet(ctrl *gomock.Controller) *MockNet

NewMockNet creates a new mock instance.

func (*MockNet) EXPECT

func (m *MockNet) EXPECT() *MockNetMockRecorder

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

func (*MockNet) Header

func (m *MockNet) Header() http.Header

Header mocks base method.

func (*MockNet) Write

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

Write mocks base method.

func (*MockNet) WriteHeader

func (m *MockNet) WriteHeader(statusCode int)

WriteHeader mocks base method.

type MockNetMockRecorder

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

MockNetMockRecorder is the mock recorder for MockNet.

func (*MockNetMockRecorder) Header

func (mr *MockNetMockRecorder) Header() *gomock.Call

Header indicates an expected call of Header.

func (*MockNetMockRecorder) Write

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

Write indicates an expected call of Write.

func (*MockNetMockRecorder) WriteHeader

func (mr *MockNetMockRecorder) WriteHeader(statusCode interface{}) *gomock.Call

WriteHeader indicates an expected call of WriteHeader.

type MockSource

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

MockSource is a mock of Source interface.

func NewMockSource

func NewMockSource(ctrl *gomock.Controller) *MockSource

NewMockSource creates a new mock instance.

func (*MockSource) EXPECT

func (m *MockSource) EXPECT() *MockSourceMockRecorder

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

func (*MockSource) Error

func (m *MockSource) Error() string

Error mocks base method.

func (*MockSource) Ersatz

func (m *MockSource) Ersatz() ersatz.Return

Ersatz mocks base method.

func (*MockSource) OtherErsatz

func (m *MockSource) OtherErsatz() ersatz0.Return

OtherErsatz mocks base method.

type MockSourceMockRecorder

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

MockSourceMockRecorder is the mock recorder for MockSource.

func (*MockSourceMockRecorder) Error

func (mr *MockSourceMockRecorder) Error() *gomock.Call

Error indicates an expected call of Error.

func (*MockSourceMockRecorder) Ersatz

func (mr *MockSourceMockRecorder) Ersatz() *gomock.Call

Ersatz indicates an expected call of Ersatz.

func (*MockSourceMockRecorder) OtherErsatz

func (mr *MockSourceMockRecorder) OtherErsatz() *gomock.Call

OtherErsatz indicates an expected call of OtherErsatz.

type Net

type Net interface {
	http.ResponseWriter
}

type Source

type Source interface {
	ersatz.Embedded
	faux.Foreign
	error
}

Source is an interface w/ an embedded foreign interface

Directories

Path Synopsis
other
log

Jump to

Keyboard shortcuts

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