Documentation ¶
Overview ¶
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)
Types ¶
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 ¶ added in v1.5.0
func (m *MockSource) Error() string
Error mocks base method.
type MockSourceMockRecorder ¶
type MockSourceMockRecorder struct {
// contains filtered or unexported fields
}
MockSourceMockRecorder is the mock recorder for MockSource.
func (*MockSourceMockRecorder) Error ¶ added in v1.5.0
func (mr *MockSourceMockRecorder) Error() *gomock.Call
Error indicates an expected call of Error.
func (*MockSourceMockRecorder) Method ¶
func (mr *MockSourceMockRecorder) Method() *gomock.Call
Method indicates an expected call of Method.
Click to show internal directories.
Click to hide internal directories.