Documentation ¶
Index ¶
- type MockPacketProcessor
- func (_m *MockPacketProcessor) EXPECT() *MockPacketProcessorMockRecorder
- func (_m *MockPacketProcessor) Initialize(_param0 secrets.Secrets, _param1 *fqconfig.FilterQueue)
- func (_m *MockPacketProcessor) PostProcessTCPAppPacket(_param0 *packet.Packet, _param1 interface{}, _param2 *enforcer.PUContext, ...) bool
- func (_m *MockPacketProcessor) PostProcessTCPNetPacket(_param0 *packet.Packet, _param1 interface{}, _param2 *tokens.ConnectionClaims, ...) bool
- func (_m *MockPacketProcessor) PreProcessTCPAppPacket(_param0 *packet.Packet, _param1 *enforcer.PUContext, ...) bool
- func (_m *MockPacketProcessor) PreProcessTCPNetPacket(_param0 *packet.Packet, _param1 *enforcer.PUContext, ...) bool
- type MockPacketProcessorMockRecorder
- func (_mr *MockPacketProcessorMockRecorder) Initialize(arg0, arg1 interface{}) *gomock.Call
- func (_mr *MockPacketProcessorMockRecorder) PostProcessTCPAppPacket(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (_mr *MockPacketProcessorMockRecorder) PostProcessTCPNetPacket(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (_mr *MockPacketProcessorMockRecorder) PreProcessTCPAppPacket(arg0, arg1, arg2 interface{}) *gomock.Call
- func (_mr *MockPacketProcessorMockRecorder) PreProcessTCPNetPacket(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockPolicyEnforcer
- func (_m *MockPolicyEnforcer) EXPECT() *MockPolicyEnforcerMockRecorder
- func (_m *MockPolicyEnforcer) Enforce(_param0 string, _param1 *policy.PUInfo) error
- func (_m *MockPolicyEnforcer) GetFilterQueue() *fqconfig.FilterQueue
- func (_m *MockPolicyEnforcer) Start() error
- func (_m *MockPolicyEnforcer) Stop() error
- func (_m *MockPolicyEnforcer) Unenforce(_param0 string) error
- type MockPolicyEnforcerMockRecorder
- func (_mr *MockPolicyEnforcerMockRecorder) Enforce(arg0, arg1 interface{}) *gomock.Call
- func (_mr *MockPolicyEnforcerMockRecorder) GetFilterQueue() *gomock.Call
- func (_mr *MockPolicyEnforcerMockRecorder) Start() *gomock.Call
- func (_mr *MockPolicyEnforcerMockRecorder) Stop() *gomock.Call
- func (_mr *MockPolicyEnforcerMockRecorder) Unenforce(arg0 interface{}) *gomock.Call
- type MockPublicKeyAdder
- type MockPublicKeyAdderMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPacketProcessor ¶
type MockPacketProcessor struct {
// contains filtered or unexported fields
}
MockPacketProcessor is a mock of PacketProcessor interface
func NewMockPacketProcessor ¶
func NewMockPacketProcessor(ctrl *gomock.Controller) *MockPacketProcessor
NewMockPacketProcessor creates a new mock instance
func (*MockPacketProcessor) EXPECT ¶
func (_m *MockPacketProcessor) EXPECT() *MockPacketProcessorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPacketProcessor) Initialize ¶
func (_m *MockPacketProcessor) Initialize(_param0 secrets.Secrets, _param1 *fqconfig.FilterQueue)
Initialize mocks base method
func (*MockPacketProcessor) PostProcessTCPAppPacket ¶
func (_m *MockPacketProcessor) PostProcessTCPAppPacket(_param0 *packet.Packet, _param1 interface{}, _param2 *enforcer.PUContext, _param3 *enforcer.TCPConnection) bool
PostProcessTCPAppPacket mocks base method
func (*MockPacketProcessor) PostProcessTCPNetPacket ¶
func (_m *MockPacketProcessor) PostProcessTCPNetPacket(_param0 *packet.Packet, _param1 interface{}, _param2 *tokens.ConnectionClaims, _param3 *enforcer.PUContext, _param4 *enforcer.TCPConnection) bool
PostProcessTCPNetPacket mocks base method
func (*MockPacketProcessor) PreProcessTCPAppPacket ¶
func (_m *MockPacketProcessor) PreProcessTCPAppPacket(_param0 *packet.Packet, _param1 *enforcer.PUContext, _param2 *enforcer.TCPConnection) bool
PreProcessTCPAppPacket mocks base method
func (*MockPacketProcessor) PreProcessTCPNetPacket ¶
func (_m *MockPacketProcessor) PreProcessTCPNetPacket(_param0 *packet.Packet, _param1 *enforcer.PUContext, _param2 *enforcer.TCPConnection) bool
PreProcessTCPNetPacket mocks base method
type MockPacketProcessorMockRecorder ¶
type MockPacketProcessorMockRecorder struct {
// contains filtered or unexported fields
}
MockPacketProcessorMockRecorder is the mock recorder for MockPacketProcessor
func (*MockPacketProcessorMockRecorder) Initialize ¶
func (_mr *MockPacketProcessorMockRecorder) Initialize(arg0, arg1 interface{}) *gomock.Call
Initialize indicates an expected call of Initialize
func (*MockPacketProcessorMockRecorder) PostProcessTCPAppPacket ¶
func (_mr *MockPacketProcessorMockRecorder) PostProcessTCPAppPacket(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
PostProcessTCPAppPacket indicates an expected call of PostProcessTCPAppPacket
func (*MockPacketProcessorMockRecorder) PostProcessTCPNetPacket ¶
func (_mr *MockPacketProcessorMockRecorder) PostProcessTCPNetPacket(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
PostProcessTCPNetPacket indicates an expected call of PostProcessTCPNetPacket
func (*MockPacketProcessorMockRecorder) PreProcessTCPAppPacket ¶
func (_mr *MockPacketProcessorMockRecorder) PreProcessTCPAppPacket(arg0, arg1, arg2 interface{}) *gomock.Call
PreProcessTCPAppPacket indicates an expected call of PreProcessTCPAppPacket
func (*MockPacketProcessorMockRecorder) PreProcessTCPNetPacket ¶
func (_mr *MockPacketProcessorMockRecorder) PreProcessTCPNetPacket(arg0, arg1, arg2 interface{}) *gomock.Call
PreProcessTCPNetPacket indicates an expected call of PreProcessTCPNetPacket
type MockPolicyEnforcer ¶
type MockPolicyEnforcer struct {
// contains filtered or unexported fields
}
MockPolicyEnforcer is a mock of PolicyEnforcer interface
func NewMockPolicyEnforcer ¶
func NewMockPolicyEnforcer(ctrl *gomock.Controller) *MockPolicyEnforcer
NewMockPolicyEnforcer creates a new mock instance
func (*MockPolicyEnforcer) EXPECT ¶
func (_m *MockPolicyEnforcer) EXPECT() *MockPolicyEnforcerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPolicyEnforcer) Enforce ¶
func (_m *MockPolicyEnforcer) Enforce(_param0 string, _param1 *policy.PUInfo) error
Enforce mocks base method
func (*MockPolicyEnforcer) GetFilterQueue ¶
func (_m *MockPolicyEnforcer) GetFilterQueue() *fqconfig.FilterQueue
GetFilterQueue mocks base method
func (*MockPolicyEnforcer) Start ¶
func (_m *MockPolicyEnforcer) Start() error
Start mocks base method
func (*MockPolicyEnforcer) Unenforce ¶
func (_m *MockPolicyEnforcer) Unenforce(_param0 string) error
Unenforce mocks base method
type MockPolicyEnforcerMockRecorder ¶
type MockPolicyEnforcerMockRecorder struct {
// contains filtered or unexported fields
}
MockPolicyEnforcerMockRecorder is the mock recorder for MockPolicyEnforcer
func (*MockPolicyEnforcerMockRecorder) Enforce ¶
func (_mr *MockPolicyEnforcerMockRecorder) Enforce(arg0, arg1 interface{}) *gomock.Call
Enforce indicates an expected call of Enforce
func (*MockPolicyEnforcerMockRecorder) GetFilterQueue ¶
func (_mr *MockPolicyEnforcerMockRecorder) GetFilterQueue() *gomock.Call
GetFilterQueue indicates an expected call of GetFilterQueue
func (*MockPolicyEnforcerMockRecorder) Start ¶
func (_mr *MockPolicyEnforcerMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start
func (*MockPolicyEnforcerMockRecorder) Stop ¶
func (_mr *MockPolicyEnforcerMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop
func (*MockPolicyEnforcerMockRecorder) Unenforce ¶
func (_mr *MockPolicyEnforcerMockRecorder) Unenforce(arg0 interface{}) *gomock.Call
Unenforce indicates an expected call of Unenforce
type MockPublicKeyAdder ¶
type MockPublicKeyAdder struct {
// contains filtered or unexported fields
}
MockPublicKeyAdder is a mock of PublicKeyAdder interface
func NewMockPublicKeyAdder ¶
func NewMockPublicKeyAdder(ctrl *gomock.Controller) *MockPublicKeyAdder
NewMockPublicKeyAdder creates a new mock instance
func (*MockPublicKeyAdder) EXPECT ¶
func (_m *MockPublicKeyAdder) EXPECT() *MockPublicKeyAdderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPublicKeyAdder) PublicKeyAdd ¶
func (_m *MockPublicKeyAdder) PublicKeyAdd(_param0 string, _param1 []byte) error
PublicKeyAdd mocks base method
type MockPublicKeyAdderMockRecorder ¶
type MockPublicKeyAdderMockRecorder struct {
// contains filtered or unexported fields
}
MockPublicKeyAdderMockRecorder is the mock recorder for MockPublicKeyAdder
func (*MockPublicKeyAdderMockRecorder) PublicKeyAdd ¶
func (_mr *MockPublicKeyAdderMockRecorder) PublicKeyAdd(arg0, arg1 interface{}) *gomock.Call
PublicKeyAdd indicates an expected call of PublicKeyAdd