Documentation ¶
Overview ¶
Package mock_l4 is a generated GoMock package.
Index ¶
- type MockL4Header
- func (m *MockL4Header) Copy() l4.L4Header
- func (m *MockL4Header) EXPECT() *MockL4HeaderMockRecorder
- func (m *MockL4Header) GetCSum() common.RawBytes
- func (m *MockL4Header) L4Len() int
- func (m *MockL4Header) L4Type() common.L4ProtocolType
- func (m *MockL4Header) Pack(arg0 bool) (common.RawBytes, error)
- func (m *MockL4Header) Reverse()
- func (m *MockL4Header) SetCSum(arg0 common.RawBytes)
- func (m *MockL4Header) SetPldLen(arg0 int)
- func (m *MockL4Header) String() string
- func (m *MockL4Header) Validate(arg0 int) error
- func (m *MockL4Header) Write(arg0 common.RawBytes) error
- type MockL4HeaderMockRecorder
- func (mr *MockL4HeaderMockRecorder) Copy() *gomock.Call
- func (mr *MockL4HeaderMockRecorder) GetCSum() *gomock.Call
- func (mr *MockL4HeaderMockRecorder) L4Len() *gomock.Call
- func (mr *MockL4HeaderMockRecorder) L4Type() *gomock.Call
- func (mr *MockL4HeaderMockRecorder) Pack(arg0 interface{}) *gomock.Call
- func (mr *MockL4HeaderMockRecorder) Reverse() *gomock.Call
- func (mr *MockL4HeaderMockRecorder) SetCSum(arg0 interface{}) *gomock.Call
- func (mr *MockL4HeaderMockRecorder) SetPldLen(arg0 interface{}) *gomock.Call
- func (mr *MockL4HeaderMockRecorder) String() *gomock.Call
- func (mr *MockL4HeaderMockRecorder) Validate(arg0 interface{}) *gomock.Call
- func (mr *MockL4HeaderMockRecorder) Write(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockL4Header ¶
type MockL4Header struct {
// contains filtered or unexported fields
}
MockL4Header is a mock of L4Header interface
func NewMockL4Header ¶
func NewMockL4Header(ctrl *gomock.Controller) *MockL4Header
NewMockL4Header creates a new mock instance
func (*MockL4Header) EXPECT ¶
func (m *MockL4Header) EXPECT() *MockL4HeaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockL4Header) GetCSum ¶
func (m *MockL4Header) GetCSum() common.RawBytes
GetCSum mocks base method
func (*MockL4Header) L4Type ¶
func (m *MockL4Header) L4Type() common.L4ProtocolType
L4Type mocks base method
func (*MockL4Header) Pack ¶
func (m *MockL4Header) Pack(arg0 bool) (common.RawBytes, error)
Pack mocks base method
func (*MockL4Header) SetCSum ¶
func (m *MockL4Header) SetCSum(arg0 common.RawBytes)
SetCSum mocks base method
func (*MockL4Header) SetPldLen ¶
func (m *MockL4Header) SetPldLen(arg0 int)
SetPldLen mocks base method
func (*MockL4Header) Validate ¶
func (m *MockL4Header) Validate(arg0 int) error
Validate mocks base method
type MockL4HeaderMockRecorder ¶
type MockL4HeaderMockRecorder struct {
// contains filtered or unexported fields
}
MockL4HeaderMockRecorder is the mock recorder for MockL4Header
func (*MockL4HeaderMockRecorder) Copy ¶
func (mr *MockL4HeaderMockRecorder) Copy() *gomock.Call
Copy indicates an expected call of Copy
func (*MockL4HeaderMockRecorder) GetCSum ¶
func (mr *MockL4HeaderMockRecorder) GetCSum() *gomock.Call
GetCSum indicates an expected call of GetCSum
func (*MockL4HeaderMockRecorder) L4Len ¶
func (mr *MockL4HeaderMockRecorder) L4Len() *gomock.Call
L4Len indicates an expected call of L4Len
func (*MockL4HeaderMockRecorder) L4Type ¶
func (mr *MockL4HeaderMockRecorder) L4Type() *gomock.Call
L4Type indicates an expected call of L4Type
func (*MockL4HeaderMockRecorder) Pack ¶
func (mr *MockL4HeaderMockRecorder) Pack(arg0 interface{}) *gomock.Call
Pack indicates an expected call of Pack
func (*MockL4HeaderMockRecorder) Reverse ¶
func (mr *MockL4HeaderMockRecorder) Reverse() *gomock.Call
Reverse indicates an expected call of Reverse
func (*MockL4HeaderMockRecorder) SetCSum ¶
func (mr *MockL4HeaderMockRecorder) SetCSum(arg0 interface{}) *gomock.Call
SetCSum indicates an expected call of SetCSum
func (*MockL4HeaderMockRecorder) SetPldLen ¶
func (mr *MockL4HeaderMockRecorder) SetPldLen(arg0 interface{}) *gomock.Call
SetPldLen indicates an expected call of SetPldLen
func (*MockL4HeaderMockRecorder) String ¶
func (mr *MockL4HeaderMockRecorder) String() *gomock.Call
String indicates an expected call of String
func (*MockL4HeaderMockRecorder) Validate ¶
func (mr *MockL4HeaderMockRecorder) Validate(arg0 interface{}) *gomock.Call
Validate indicates an expected call of Validate
func (*MockL4HeaderMockRecorder) Write ¶
func (mr *MockL4HeaderMockRecorder) Write(arg0 interface{}) *gomock.Call
Write indicates an expected call of Write