mock_l4

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_l4 is a generated GoMock package.

Index

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) Copy

func (m *MockL4Header) Copy() l4.L4Header

Copy mocks base method

func (*MockL4Header) EXPECT

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) L4Len

func (m *MockL4Header) L4Len() int

L4Len 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) Reverse

func (m *MockL4Header) Reverse()

Reverse 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) String

func (m *MockL4Header) String() string

String mocks base method

func (*MockL4Header) Validate

func (m *MockL4Header) Validate(arg0 int) error

Validate mocks base method

func (*MockL4Header) Write

func (m *MockL4Header) Write(arg0 common.RawBytes) error

Write 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

Jump to

Keyboard shortcuts

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