Documentation ¶
Index ¶
- type AttackNetwork
- type AttackOrchestrator
- type Attacker_ObserveClient
- func (_m *Attacker_ObserveClient) CloseAndRecv() (*emptypb.Empty, error)
- func (_m *Attacker_ObserveClient) CloseSend() error
- func (_m *Attacker_ObserveClient) Context() context.Context
- func (_m *Attacker_ObserveClient) Header() (metadata.MD, error)
- func (_m *Attacker_ObserveClient) RecvMsg(m interface{}) error
- func (_m *Attacker_ObserveClient) Send(_a0 *insecure.Message) error
- func (_m *Attacker_ObserveClient) SendMsg(m interface{}) error
- func (_m *Attacker_ObserveClient) Trailer() metadata.MD
- type Attacker_ObserveServer
- func (_m *Attacker_ObserveServer) Context() context.Context
- func (_m *Attacker_ObserveServer) Recv() (*insecure.Message, error)
- func (_m *Attacker_ObserveServer) RecvMsg(m interface{}) error
- func (_m *Attacker_ObserveServer) SendAndClose(_a0 *emptypb.Empty) error
- func (_m *Attacker_ObserveServer) SendHeader(_a0 metadata.MD) error
- func (_m *Attacker_ObserveServer) SendMsg(m interface{}) error
- func (_m *Attacker_ObserveServer) SetHeader(_a0 metadata.MD) error
- func (_m *Attacker_ObserveServer) SetTrailer(_a0 metadata.MD)
- type ConduitController
- type ConduitMaster
- type CorruptedNodeConnection
- type CorruptedNodeConnector
- type CorruptibleConduitFactoryClient
- func (_m *CorruptibleConduitFactoryClient) ConnectAttacker(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (insecure.CorruptibleConduitFactory_ConnectAttackerClient, error)
- func (_m *CorruptibleConduitFactoryClient) ProcessAttackerMessage(ctx context.Context, opts ...grpc.CallOption) (insecure.CorruptibleConduitFactory_ProcessAttackerMessageClient, error)
- type CorruptibleConduitFactoryServer
- type CorruptibleConduitFactory_ConnectAttackerClient
- func (_m *CorruptibleConduitFactory_ConnectAttackerClient) CloseSend() error
- func (_m *CorruptibleConduitFactory_ConnectAttackerClient) Context() context.Context
- func (_m *CorruptibleConduitFactory_ConnectAttackerClient) Header() (metadata.MD, error)
- func (_m *CorruptibleConduitFactory_ConnectAttackerClient) Recv() (*insecure.Message, error)
- func (_m *CorruptibleConduitFactory_ConnectAttackerClient) RecvMsg(m interface{}) error
- func (_m *CorruptibleConduitFactory_ConnectAttackerClient) SendMsg(m interface{}) error
- func (_m *CorruptibleConduitFactory_ConnectAttackerClient) Trailer() metadata.MD
- type CorruptibleConduitFactory_ConnectAttackerServer
- func (_m *CorruptibleConduitFactory_ConnectAttackerServer) Context() context.Context
- func (_m *CorruptibleConduitFactory_ConnectAttackerServer) RecvMsg(m interface{}) error
- func (_m *CorruptibleConduitFactory_ConnectAttackerServer) Send(_a0 *insecure.Message) error
- func (_m *CorruptibleConduitFactory_ConnectAttackerServer) SendHeader(_a0 metadata.MD) error
- func (_m *CorruptibleConduitFactory_ConnectAttackerServer) SendMsg(m interface{}) error
- func (_m *CorruptibleConduitFactory_ConnectAttackerServer) SetHeader(_a0 metadata.MD) error
- func (_m *CorruptibleConduitFactory_ConnectAttackerServer) SetTrailer(_a0 metadata.MD)
- type CorruptibleConduitFactory_ProcessAttackerMessageClient
- func (_m *CorruptibleConduitFactory_ProcessAttackerMessageClient) CloseAndRecv() (*emptypb.Empty, error)
- func (_m *CorruptibleConduitFactory_ProcessAttackerMessageClient) CloseSend() error
- func (_m *CorruptibleConduitFactory_ProcessAttackerMessageClient) Context() context.Context
- func (_m *CorruptibleConduitFactory_ProcessAttackerMessageClient) Header() (metadata.MD, error)
- func (_m *CorruptibleConduitFactory_ProcessAttackerMessageClient) RecvMsg(m interface{}) error
- func (_m *CorruptibleConduitFactory_ProcessAttackerMessageClient) Send(_a0 *insecure.Message) error
- func (_m *CorruptibleConduitFactory_ProcessAttackerMessageClient) SendMsg(m interface{}) error
- func (_m *CorruptibleConduitFactory_ProcessAttackerMessageClient) Trailer() metadata.MD
- type CorruptibleConduitFactory_ProcessAttackerMessageServer
- func (_m *CorruptibleConduitFactory_ProcessAttackerMessageServer) Context() context.Context
- func (_m *CorruptibleConduitFactory_ProcessAttackerMessageServer) Recv() (*insecure.Message, error)
- func (_m *CorruptibleConduitFactory_ProcessAttackerMessageServer) RecvMsg(m interface{}) error
- func (_m *CorruptibleConduitFactory_ProcessAttackerMessageServer) SendAndClose(_a0 *emptypb.Empty) error
- func (_m *CorruptibleConduitFactory_ProcessAttackerMessageServer) SendHeader(_a0 metadata.MD) error
- func (_m *CorruptibleConduitFactory_ProcessAttackerMessageServer) SendMsg(m interface{}) error
- func (_m *CorruptibleConduitFactory_ProcessAttackerMessageServer) SetHeader(_a0 metadata.MD) error
- func (_m *CorruptibleConduitFactory_ProcessAttackerMessageServer) SetTrailer(_a0 metadata.MD)
- type NewAttackNetworkT
- type NewAttackOrchestratorT
- type NewAttacker_ObserveClientT
- type NewAttacker_ObserveServerT
- type NewConduitControllerT
- type NewCorruptedNodeConnectionT
- type NewCorruptedNodeConnectorT
- type NewCorruptibleConduitFactoryClientT
- type NewCorruptibleConduitFactoryServerT
- type NewCorruptibleConduitFactory_ConnectAttackerClientT
- type NewCorruptibleConduitFactory_ConnectAttackerServerT
- type NewCorruptibleConduitFactory_ProcessAttackerMessageClientT
- type NewCorruptibleConduitFactory_ProcessAttackerMessageServerT
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttackNetwork ¶
AttackNetwork is an autogenerated mock type for the AttackNetwork type
func NewAttackNetwork ¶ added in v0.26.1
func NewAttackNetwork(t NewAttackNetworkT) *AttackNetwork
NewAttackNetwork creates a new instance of AttackNetwork. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*AttackNetwork) Done ¶
func (_m *AttackNetwork) Done() <-chan struct{}
Done provides a mock function with given fields:
func (*AttackNetwork) Observe ¶ added in v0.27.0
func (_m *AttackNetwork) Observe(_a0 *insecure.Message)
Observe provides a mock function with given fields: _a0
func (*AttackNetwork) Ready ¶
func (_m *AttackNetwork) Ready() <-chan struct{}
Ready provides a mock function with given fields:
func (*AttackNetwork) Send ¶ added in v0.25.2
func (_m *AttackNetwork) Send(_a0 *insecure.Event) error
Send provides a mock function with given fields: _a0
func (*AttackNetwork) Start ¶
func (_m *AttackNetwork) Start(_a0 irrecoverable.SignalerContext)
Start provides a mock function with given fields: _a0
type AttackOrchestrator ¶
AttackOrchestrator is an autogenerated mock type for the AttackOrchestrator type
func NewAttackOrchestrator ¶ added in v0.26.1
func NewAttackOrchestrator(t NewAttackOrchestratorT) *AttackOrchestrator
NewAttackOrchestrator creates a new instance of AttackOrchestrator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*AttackOrchestrator) HandleEventFromCorruptedNode ¶
func (_m *AttackOrchestrator) HandleEventFromCorruptedNode(_a0 *insecure.Event) error
HandleEventFromCorruptedNode provides a mock function with given fields: _a0
func (*AttackOrchestrator) WithAttackNetwork ¶ added in v0.25.2
func (_m *AttackOrchestrator) WithAttackNetwork(_a0 insecure.AttackNetwork)
WithAttackNetwork provides a mock function with given fields: _a0
type Attacker_ObserveClient ¶
Attacker_ObserveClient is an autogenerated mock type for the Attacker_ObserveClient type
func NewAttacker_ObserveClient ¶ added in v0.26.1
func NewAttacker_ObserveClient(t NewAttacker_ObserveClientT) *Attacker_ObserveClient
NewAttacker_ObserveClient creates a new instance of Attacker_ObserveClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Attacker_ObserveClient) CloseAndRecv ¶
func (_m *Attacker_ObserveClient) CloseAndRecv() (*emptypb.Empty, error)
CloseAndRecv provides a mock function with given fields:
func (*Attacker_ObserveClient) CloseSend ¶
func (_m *Attacker_ObserveClient) CloseSend() error
CloseSend provides a mock function with given fields:
func (*Attacker_ObserveClient) Context ¶
func (_m *Attacker_ObserveClient) Context() context.Context
Context provides a mock function with given fields:
func (*Attacker_ObserveClient) Header ¶
func (_m *Attacker_ObserveClient) Header() (metadata.MD, error)
Header provides a mock function with given fields:
func (*Attacker_ObserveClient) RecvMsg ¶
func (_m *Attacker_ObserveClient) RecvMsg(m interface{}) error
RecvMsg provides a mock function with given fields: m
func (*Attacker_ObserveClient) Send ¶
func (_m *Attacker_ObserveClient) Send(_a0 *insecure.Message) error
Send provides a mock function with given fields: _a0
func (*Attacker_ObserveClient) SendMsg ¶
func (_m *Attacker_ObserveClient) SendMsg(m interface{}) error
SendMsg provides a mock function with given fields: m
func (*Attacker_ObserveClient) Trailer ¶
func (_m *Attacker_ObserveClient) Trailer() metadata.MD
Trailer provides a mock function with given fields:
type Attacker_ObserveServer ¶
Attacker_ObserveServer is an autogenerated mock type for the Attacker_ObserveServer type
func NewAttacker_ObserveServer ¶ added in v0.26.1
func NewAttacker_ObserveServer(t NewAttacker_ObserveServerT) *Attacker_ObserveServer
NewAttacker_ObserveServer creates a new instance of Attacker_ObserveServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Attacker_ObserveServer) Context ¶
func (_m *Attacker_ObserveServer) Context() context.Context
Context provides a mock function with given fields:
func (*Attacker_ObserveServer) Recv ¶
func (_m *Attacker_ObserveServer) Recv() (*insecure.Message, error)
Recv provides a mock function with given fields:
func (*Attacker_ObserveServer) RecvMsg ¶
func (_m *Attacker_ObserveServer) RecvMsg(m interface{}) error
RecvMsg provides a mock function with given fields: m
func (*Attacker_ObserveServer) SendAndClose ¶
func (_m *Attacker_ObserveServer) SendAndClose(_a0 *emptypb.Empty) error
SendAndClose provides a mock function with given fields: _a0
func (*Attacker_ObserveServer) SendHeader ¶
func (_m *Attacker_ObserveServer) SendHeader(_a0 metadata.MD) error
SendHeader provides a mock function with given fields: _a0
func (*Attacker_ObserveServer) SendMsg ¶
func (_m *Attacker_ObserveServer) SendMsg(m interface{}) error
SendMsg provides a mock function with given fields: m
func (*Attacker_ObserveServer) SetHeader ¶
func (_m *Attacker_ObserveServer) SetHeader(_a0 metadata.MD) error
SetHeader provides a mock function with given fields: _a0
func (*Attacker_ObserveServer) SetTrailer ¶
func (_m *Attacker_ObserveServer) SetTrailer(_a0 metadata.MD)
SetTrailer provides a mock function with given fields: _a0
type ConduitController ¶ added in v0.25.2
ConduitController is an autogenerated mock type for the ConduitController type
func NewConduitController ¶ added in v0.26.1
func NewConduitController(t NewConduitControllerT) *ConduitController
NewConduitController creates a new instance of ConduitController. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ConduitController) EngineClosingChannel ¶ added in v0.25.2
func (_m *ConduitController) EngineClosingChannel(_a0 channels.Channel) error
EngineClosingChannel provides a mock function with given fields: _a0
func (*ConduitController) HandleIncomingEvent ¶ added in v0.25.2
func (_m *ConduitController) HandleIncomingEvent(_a0 interface{}, _a1 channels.Channel, _a2 insecure.Protocol, _a3 uint32, _a4 ...flow.Identifier) error
HandleIncomingEvent provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
type ConduitMaster ¶
ConduitMaster is an autogenerated mock type for the ConduitMaster type
func (*ConduitMaster) EngineClosingChannel ¶
func (_m *ConduitMaster) EngineClosingChannel(_a0 network.Channel) error
EngineClosingChannel provides a mock function with given fields: _a0
func (*ConduitMaster) HandleIncomingEvent ¶
func (_m *ConduitMaster) HandleIncomingEvent(_a0 interface{}, _a1 network.Channel, _a2 insecure.Protocol, _a3 uint32, _a4 ...flow.Identifier) error
HandleIncomingEvent provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
type CorruptedNodeConnection ¶ added in v0.25.2
CorruptedNodeConnection is an autogenerated mock type for the CorruptedNodeConnection type
func NewCorruptedNodeConnection ¶ added in v0.26.1
func NewCorruptedNodeConnection(t NewCorruptedNodeConnectionT) *CorruptedNodeConnection
NewCorruptedNodeConnection creates a new instance of CorruptedNodeConnection. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*CorruptedNodeConnection) CloseConnection ¶ added in v0.25.2
func (_m *CorruptedNodeConnection) CloseConnection() error
CloseConnection provides a mock function with given fields:
func (*CorruptedNodeConnection) SendMessage ¶ added in v0.25.2
func (_m *CorruptedNodeConnection) SendMessage(_a0 *insecure.Message) error
SendMessage provides a mock function with given fields: _a0
type CorruptedNodeConnector ¶ added in v0.25.2
CorruptedNodeConnector is an autogenerated mock type for the CorruptedNodeConnector type
func NewCorruptedNodeConnector ¶ added in v0.26.1
func NewCorruptedNodeConnector(t NewCorruptedNodeConnectorT) *CorruptedNodeConnector
NewCorruptedNodeConnector creates a new instance of CorruptedNodeConnector. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*CorruptedNodeConnector) Connect ¶ added in v0.25.2
func (_m *CorruptedNodeConnector) Connect(_a0 irrecoverable.SignalerContext, _a1 flow.Identifier) (insecure.CorruptedNodeConnection, error)
Connect provides a mock function with given fields: _a0, _a1
func (*CorruptedNodeConnector) WithIncomingMessageHandler ¶ added in v0.27.0
func (_m *CorruptedNodeConnector) WithIncomingMessageHandler(_a0 func(*insecure.Message))
WithIncomingMessageHandler provides a mock function with given fields: _a0
type CorruptibleConduitFactoryClient ¶
CorruptibleConduitFactoryClient is an autogenerated mock type for the CorruptibleConduitFactoryClient type
func NewCorruptibleConduitFactoryClient ¶ added in v0.26.1
func NewCorruptibleConduitFactoryClient(t NewCorruptibleConduitFactoryClientT) *CorruptibleConduitFactoryClient
NewCorruptibleConduitFactoryClient creates a new instance of CorruptibleConduitFactoryClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*CorruptibleConduitFactoryClient) ConnectAttacker ¶ added in v0.27.0
func (_m *CorruptibleConduitFactoryClient) ConnectAttacker(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (insecure.CorruptibleConduitFactory_ConnectAttackerClient, error)
ConnectAttacker provides a mock function with given fields: ctx, in, opts
func (*CorruptibleConduitFactoryClient) ProcessAttackerMessage ¶
func (_m *CorruptibleConduitFactoryClient) ProcessAttackerMessage(ctx context.Context, opts ...grpc.CallOption) (insecure.CorruptibleConduitFactory_ProcessAttackerMessageClient, error)
ProcessAttackerMessage provides a mock function with given fields: ctx, opts
type CorruptibleConduitFactoryServer ¶
CorruptibleConduitFactoryServer is an autogenerated mock type for the CorruptibleConduitFactoryServer type
func NewCorruptibleConduitFactoryServer ¶ added in v0.26.1
func NewCorruptibleConduitFactoryServer(t NewCorruptibleConduitFactoryServerT) *CorruptibleConduitFactoryServer
NewCorruptibleConduitFactoryServer creates a new instance of CorruptibleConduitFactoryServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*CorruptibleConduitFactoryServer) ConnectAttacker ¶ added in v0.27.0
func (_m *CorruptibleConduitFactoryServer) ConnectAttacker(_a0 *emptypb.Empty, _a1 insecure.CorruptibleConduitFactory_ConnectAttackerServer) error
ConnectAttacker provides a mock function with given fields: _a0, _a1
func (*CorruptibleConduitFactoryServer) ProcessAttackerMessage ¶
func (_m *CorruptibleConduitFactoryServer) ProcessAttackerMessage(_a0 insecure.CorruptibleConduitFactory_ProcessAttackerMessageServer) error
ProcessAttackerMessage provides a mock function with given fields: _a0
type CorruptibleConduitFactory_ConnectAttackerClient ¶ added in v0.27.0
CorruptibleConduitFactory_ConnectAttackerClient is an autogenerated mock type for the CorruptibleConduitFactory_ConnectAttackerClient type
func NewCorruptibleConduitFactory_ConnectAttackerClient ¶ added in v0.27.0
func NewCorruptibleConduitFactory_ConnectAttackerClient(t NewCorruptibleConduitFactory_ConnectAttackerClientT) *CorruptibleConduitFactory_ConnectAttackerClient
NewCorruptibleConduitFactory_ConnectAttackerClient creates a new instance of CorruptibleConduitFactory_ConnectAttackerClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*CorruptibleConduitFactory_ConnectAttackerClient) CloseSend ¶ added in v0.27.0
func (_m *CorruptibleConduitFactory_ConnectAttackerClient) CloseSend() error
CloseSend provides a mock function with given fields:
func (*CorruptibleConduitFactory_ConnectAttackerClient) Context ¶ added in v0.27.0
func (_m *CorruptibleConduitFactory_ConnectAttackerClient) Context() context.Context
Context provides a mock function with given fields:
func (*CorruptibleConduitFactory_ConnectAttackerClient) Header ¶ added in v0.27.0
func (_m *CorruptibleConduitFactory_ConnectAttackerClient) Header() (metadata.MD, error)
Header provides a mock function with given fields:
func (*CorruptibleConduitFactory_ConnectAttackerClient) Recv ¶ added in v0.27.0
func (_m *CorruptibleConduitFactory_ConnectAttackerClient) Recv() (*insecure.Message, error)
Recv provides a mock function with given fields:
func (*CorruptibleConduitFactory_ConnectAttackerClient) RecvMsg ¶ added in v0.27.0
func (_m *CorruptibleConduitFactory_ConnectAttackerClient) RecvMsg(m interface{}) error
RecvMsg provides a mock function with given fields: m
func (*CorruptibleConduitFactory_ConnectAttackerClient) SendMsg ¶ added in v0.27.0
func (_m *CorruptibleConduitFactory_ConnectAttackerClient) SendMsg(m interface{}) error
SendMsg provides a mock function with given fields: m
func (*CorruptibleConduitFactory_ConnectAttackerClient) Trailer ¶ added in v0.27.0
func (_m *CorruptibleConduitFactory_ConnectAttackerClient) Trailer() metadata.MD
Trailer provides a mock function with given fields:
type CorruptibleConduitFactory_ConnectAttackerServer ¶ added in v0.27.0
CorruptibleConduitFactory_ConnectAttackerServer is an autogenerated mock type for the CorruptibleConduitFactory_ConnectAttackerServer type
func NewCorruptibleConduitFactory_ConnectAttackerServer ¶ added in v0.27.0
func NewCorruptibleConduitFactory_ConnectAttackerServer(t NewCorruptibleConduitFactory_ConnectAttackerServerT) *CorruptibleConduitFactory_ConnectAttackerServer
NewCorruptibleConduitFactory_ConnectAttackerServer creates a new instance of CorruptibleConduitFactory_ConnectAttackerServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*CorruptibleConduitFactory_ConnectAttackerServer) Context ¶ added in v0.27.0
func (_m *CorruptibleConduitFactory_ConnectAttackerServer) Context() context.Context
Context provides a mock function with given fields:
func (*CorruptibleConduitFactory_ConnectAttackerServer) RecvMsg ¶ added in v0.27.0
func (_m *CorruptibleConduitFactory_ConnectAttackerServer) RecvMsg(m interface{}) error
RecvMsg provides a mock function with given fields: m
func (*CorruptibleConduitFactory_ConnectAttackerServer) Send ¶ added in v0.27.0
func (_m *CorruptibleConduitFactory_ConnectAttackerServer) Send(_a0 *insecure.Message) error
Send provides a mock function with given fields: _a0
func (*CorruptibleConduitFactory_ConnectAttackerServer) SendHeader ¶ added in v0.27.0
func (_m *CorruptibleConduitFactory_ConnectAttackerServer) SendHeader(_a0 metadata.MD) error
SendHeader provides a mock function with given fields: _a0
func (*CorruptibleConduitFactory_ConnectAttackerServer) SendMsg ¶ added in v0.27.0
func (_m *CorruptibleConduitFactory_ConnectAttackerServer) SendMsg(m interface{}) error
SendMsg provides a mock function with given fields: m
func (*CorruptibleConduitFactory_ConnectAttackerServer) SetHeader ¶ added in v0.27.0
func (_m *CorruptibleConduitFactory_ConnectAttackerServer) SetHeader(_a0 metadata.MD) error
SetHeader provides a mock function with given fields: _a0
func (*CorruptibleConduitFactory_ConnectAttackerServer) SetTrailer ¶ added in v0.27.0
func (_m *CorruptibleConduitFactory_ConnectAttackerServer) SetTrailer(_a0 metadata.MD)
SetTrailer provides a mock function with given fields: _a0
type CorruptibleConduitFactory_ProcessAttackerMessageClient ¶
CorruptibleConduitFactory_ProcessAttackerMessageClient is an autogenerated mock type for the CorruptibleConduitFactory_ProcessAttackerMessageClient type
func NewCorruptibleConduitFactory_ProcessAttackerMessageClient ¶ added in v0.26.1
func NewCorruptibleConduitFactory_ProcessAttackerMessageClient(t NewCorruptibleConduitFactory_ProcessAttackerMessageClientT) *CorruptibleConduitFactory_ProcessAttackerMessageClient
NewCorruptibleConduitFactory_ProcessAttackerMessageClient creates a new instance of CorruptibleConduitFactory_ProcessAttackerMessageClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*CorruptibleConduitFactory_ProcessAttackerMessageClient) CloseAndRecv ¶
func (_m *CorruptibleConduitFactory_ProcessAttackerMessageClient) CloseAndRecv() (*emptypb.Empty, error)
CloseAndRecv provides a mock function with given fields:
func (*CorruptibleConduitFactory_ProcessAttackerMessageClient) CloseSend ¶
func (_m *CorruptibleConduitFactory_ProcessAttackerMessageClient) CloseSend() error
CloseSend provides a mock function with given fields:
func (*CorruptibleConduitFactory_ProcessAttackerMessageClient) Context ¶
func (_m *CorruptibleConduitFactory_ProcessAttackerMessageClient) Context() context.Context
Context provides a mock function with given fields:
func (*CorruptibleConduitFactory_ProcessAttackerMessageClient) Header ¶
func (_m *CorruptibleConduitFactory_ProcessAttackerMessageClient) Header() (metadata.MD, error)
Header provides a mock function with given fields:
func (*CorruptibleConduitFactory_ProcessAttackerMessageClient) RecvMsg ¶
func (_m *CorruptibleConduitFactory_ProcessAttackerMessageClient) RecvMsg(m interface{}) error
RecvMsg provides a mock function with given fields: m
func (*CorruptibleConduitFactory_ProcessAttackerMessageClient) Send ¶
func (_m *CorruptibleConduitFactory_ProcessAttackerMessageClient) Send(_a0 *insecure.Message) error
Send provides a mock function with given fields: _a0
func (*CorruptibleConduitFactory_ProcessAttackerMessageClient) SendMsg ¶
func (_m *CorruptibleConduitFactory_ProcessAttackerMessageClient) SendMsg(m interface{}) error
SendMsg provides a mock function with given fields: m
func (*CorruptibleConduitFactory_ProcessAttackerMessageClient) Trailer ¶
func (_m *CorruptibleConduitFactory_ProcessAttackerMessageClient) Trailer() metadata.MD
Trailer provides a mock function with given fields:
type CorruptibleConduitFactory_ProcessAttackerMessageServer ¶
CorruptibleConduitFactory_ProcessAttackerMessageServer is an autogenerated mock type for the CorruptibleConduitFactory_ProcessAttackerMessageServer type
func NewCorruptibleConduitFactory_ProcessAttackerMessageServer ¶ added in v0.26.1
func NewCorruptibleConduitFactory_ProcessAttackerMessageServer(t NewCorruptibleConduitFactory_ProcessAttackerMessageServerT) *CorruptibleConduitFactory_ProcessAttackerMessageServer
NewCorruptibleConduitFactory_ProcessAttackerMessageServer creates a new instance of CorruptibleConduitFactory_ProcessAttackerMessageServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*CorruptibleConduitFactory_ProcessAttackerMessageServer) Context ¶
func (_m *CorruptibleConduitFactory_ProcessAttackerMessageServer) Context() context.Context
Context provides a mock function with given fields:
func (*CorruptibleConduitFactory_ProcessAttackerMessageServer) Recv ¶
func (_m *CorruptibleConduitFactory_ProcessAttackerMessageServer) Recv() (*insecure.Message, error)
Recv provides a mock function with given fields:
func (*CorruptibleConduitFactory_ProcessAttackerMessageServer) RecvMsg ¶
func (_m *CorruptibleConduitFactory_ProcessAttackerMessageServer) RecvMsg(m interface{}) error
RecvMsg provides a mock function with given fields: m
func (*CorruptibleConduitFactory_ProcessAttackerMessageServer) SendAndClose ¶
func (_m *CorruptibleConduitFactory_ProcessAttackerMessageServer) SendAndClose(_a0 *emptypb.Empty) error
SendAndClose provides a mock function with given fields: _a0
func (*CorruptibleConduitFactory_ProcessAttackerMessageServer) SendHeader ¶
func (_m *CorruptibleConduitFactory_ProcessAttackerMessageServer) SendHeader(_a0 metadata.MD) error
SendHeader provides a mock function with given fields: _a0
func (*CorruptibleConduitFactory_ProcessAttackerMessageServer) SendMsg ¶
func (_m *CorruptibleConduitFactory_ProcessAttackerMessageServer) SendMsg(m interface{}) error
SendMsg provides a mock function with given fields: m
func (*CorruptibleConduitFactory_ProcessAttackerMessageServer) SetHeader ¶
func (_m *CorruptibleConduitFactory_ProcessAttackerMessageServer) SetHeader(_a0 metadata.MD) error
SetHeader provides a mock function with given fields: _a0
func (*CorruptibleConduitFactory_ProcessAttackerMessageServer) SetTrailer ¶
func (_m *CorruptibleConduitFactory_ProcessAttackerMessageServer) SetTrailer(_a0 metadata.MD)
SetTrailer provides a mock function with given fields: _a0
type NewAttackNetworkT ¶ added in v0.27.0
type NewAttackOrchestratorT ¶ added in v0.27.0
type NewAttacker_ObserveClientT ¶ added in v0.27.0
type NewAttacker_ObserveServerT ¶ added in v0.27.0
type NewConduitControllerT ¶ added in v0.27.0
type NewCorruptedNodeConnectionT ¶ added in v0.27.0
type NewCorruptedNodeConnectorT ¶ added in v0.27.0
type NewCorruptibleConduitFactoryClientT ¶ added in v0.27.0
type NewCorruptibleConduitFactoryServerT ¶ added in v0.27.0
type NewCorruptibleConduitFactory_ConnectAttackerClientT ¶ added in v0.27.0
type NewCorruptibleConduitFactory_ConnectAttackerServerT ¶ added in v0.27.0
type NewCorruptibleConduitFactory_ProcessAttackerMessageClientT ¶ added in v0.27.0
type NewCorruptibleConduitFactory_ProcessAttackerMessageServerT ¶ added in v0.27.0
Source Files ¶
- attack_network.go
- attack_orchestrator.go
- attacker__observe_client.go
- attacker__observe_server.go
- conduit_controller.go
- conduit_master.go
- corrupted_node_connection.go
- corrupted_node_connector.go
- corruptible_conduit_factory__connect_attacker_client.go
- corruptible_conduit_factory__connect_attacker_server.go
- corruptible_conduit_factory__process_attacker_message_client.go
- corruptible_conduit_factory__process_attacker_message_server.go
- corruptible_conduit_factory_client.go
- corruptible_conduit_factory_server.go