Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) Close() error
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) IsTAP() bool
- func (m *MockInterface) IsTUN() bool
- func (m *MockInterface) Name() string
- func (m *MockInterface) Read(arg0 []byte) (int, error)
- func (m *MockInterface) Write(arg0 []byte) (int, error)
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) Close() *gomock.Call
- func (mr *MockInterfaceMockRecorder) IsTAP() *gomock.Call
- func (mr *MockInterfaceMockRecorder) IsTUN() *gomock.Call
- func (mr *MockInterfaceMockRecorder) Name() *gomock.Call
- func (mr *MockInterfaceMockRecorder) Read(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Write(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInterface ¶
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface
func NewMockInterface ¶
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface
func (*MockInterfaceMockRecorder) Close ¶
func (mr *MockInterfaceMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockInterfaceMockRecorder) IsTAP ¶
func (mr *MockInterfaceMockRecorder) IsTAP() *gomock.Call
IsTAP indicates an expected call of IsTAP
func (*MockInterfaceMockRecorder) IsTUN ¶
func (mr *MockInterfaceMockRecorder) IsTUN() *gomock.Call
IsTUN indicates an expected call of IsTUN
func (*MockInterfaceMockRecorder) Name ¶
func (mr *MockInterfaceMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name
func (*MockInterfaceMockRecorder) Read ¶
func (mr *MockInterfaceMockRecorder) Read(arg0 interface{}) *gomock.Call
Read indicates an expected call of Read
func (*MockInterfaceMockRecorder) Write ¶
func (mr *MockInterfaceMockRecorder) Write(arg0 interface{}) *gomock.Call
Write indicates an expected call of Write
Click to show internal directories.
Click to hide internal directories.