Documentation ¶
Overview ¶
Package mockflowclient is a generated GoMock package.
Index ¶
- type MockFlowClient
- func (m *MockFlowClient) Close() error
- func (m *MockFlowClient) EXPECT() *MockFlowClientMockRecorder
- func (m *MockFlowClient) GetOriginalDest(ipSrc, ipDst net.IP, srcport, dstport uint16, protonum uint8) (net.IP, uint16, uint32, error)
- func (m *MockFlowClient) UpdateApplicationFlowMark(ipSrc, ipDst net.IP, protonum uint8, srcport, dstport uint16, newmark uint32) error
- func (m *MockFlowClient) UpdateMark(ipSrc, ipDst net.IP, protonum uint8, srcport, dstport uint16, newmark uint32, ...) error
- func (m *MockFlowClient) UpdateNetworkFlowMark(ipSrc, ipDst net.IP, protonum uint8, srcport, dstport uint16, newmark uint32) error
- type MockFlowClientMockRecorder
- func (mr *MockFlowClientMockRecorder) Close() *gomock.Call
- func (mr *MockFlowClientMockRecorder) GetOriginalDest(ipSrc, ipDst, srcport, dstport, protonum interface{}) *gomock.Call
- func (mr *MockFlowClientMockRecorder) UpdateApplicationFlowMark(ipSrc, ipDst, protonum, srcport, dstport, newmark interface{}) *gomock.Call
- func (mr *MockFlowClientMockRecorder) UpdateMark(ipSrc, ipDst, protonum, srcport, dstport, newmark, network interface{}) *gomock.Call
- func (mr *MockFlowClientMockRecorder) UpdateNetworkFlowMark(ipSrc, ipDst, protonum, srcport, dstport, newmark interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFlowClient ¶
type MockFlowClient struct {
// contains filtered or unexported fields
}
MockFlowClient is a mock of FlowClient interface nolint
func NewMockFlowClient ¶
func NewMockFlowClient(ctrl *gomock.Controller) *MockFlowClient
NewMockFlowClient creates a new mock instance nolint
func (*MockFlowClient) Close ¶
func (m *MockFlowClient) Close() error
Close mocks base method nolint
func (*MockFlowClient) EXPECT ¶
func (m *MockFlowClient) EXPECT() *MockFlowClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use nolint
func (*MockFlowClient) GetOriginalDest ¶
func (m *MockFlowClient) GetOriginalDest(ipSrc, ipDst net.IP, srcport, dstport uint16, protonum uint8) (net.IP, uint16, uint32, error)
GetOriginalDest mocks base method nolint
func (*MockFlowClient) UpdateApplicationFlowMark ¶
func (m *MockFlowClient) UpdateApplicationFlowMark(ipSrc, ipDst net.IP, protonum uint8, srcport, dstport uint16, newmark uint32) error
UpdateApplicationFlowMark mocks base method nolint
func (*MockFlowClient) UpdateMark ¶
func (m *MockFlowClient) UpdateMark(ipSrc, ipDst net.IP, protonum uint8, srcport, dstport uint16, newmark uint32, network bool) error
UpdateMark mocks base method nolint
func (*MockFlowClient) UpdateNetworkFlowMark ¶
func (m *MockFlowClient) UpdateNetworkFlowMark(ipSrc, ipDst net.IP, protonum uint8, srcport, dstport uint16, newmark uint32) error
UpdateNetworkFlowMark mocks base method nolint
type MockFlowClientMockRecorder ¶
type MockFlowClientMockRecorder struct {
// contains filtered or unexported fields
}
MockFlowClientMockRecorder is the mock recorder for MockFlowClient nolint
func (*MockFlowClientMockRecorder) Close ¶
func (mr *MockFlowClientMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close nolint
func (*MockFlowClientMockRecorder) GetOriginalDest ¶
func (mr *MockFlowClientMockRecorder) GetOriginalDest(ipSrc, ipDst, srcport, dstport, protonum interface{}) *gomock.Call
GetOriginalDest indicates an expected call of GetOriginalDest nolint
func (*MockFlowClientMockRecorder) UpdateApplicationFlowMark ¶
func (mr *MockFlowClientMockRecorder) UpdateApplicationFlowMark(ipSrc, ipDst, protonum, srcport, dstport, newmark interface{}) *gomock.Call
UpdateApplicationFlowMark indicates an expected call of UpdateApplicationFlowMark nolint
func (*MockFlowClientMockRecorder) UpdateMark ¶
func (mr *MockFlowClientMockRecorder) UpdateMark(ipSrc, ipDst, protonum, srcport, dstport, newmark, network interface{}) *gomock.Call
UpdateMark indicates an expected call of UpdateMark nolint
func (*MockFlowClientMockRecorder) UpdateNetworkFlowMark ¶
func (mr *MockFlowClientMockRecorder) UpdateNetworkFlowMark(ipSrc, ipDst, protonum, srcport, dstport, newmark interface{}) *gomock.Call
UpdateNetworkFlowMark indicates an expected call of UpdateNetworkFlowMark nolint