Documentation ¶
Overview ¶
Package mock_infra is a generated GoMock package.
Index ¶
- type MockASInspector
- func (m *MockASInspector) ByAttributes(arg0 context.Context, arg1 addr.ISD, arg2 infra.ASInspectorOpts) ([]addr.IA, error)
- func (m *MockASInspector) EXPECT() *MockASInspectorMockRecorder
- func (m *MockASInspector) HasAttributes(arg0 context.Context, arg1 addr.IA, arg2 infra.ASInspectorOpts) (bool, error)
- type MockASInspectorMockRecorder
- type MockMessenger
- func (m *MockMessenger) AddHandler(arg0 infra.MessageType, arg1 infra.Handler)
- func (m *MockMessenger) CloseServer() error
- func (m *MockMessenger) EXPECT() *MockMessengerMockRecorder
- func (m *MockMessenger) GetCertChain(arg0 context.Context, arg1 *cert_mgmt.ChainReq, arg2 net.Addr, arg3 uint64) (*cert_mgmt.Chain, error)
- func (m *MockMessenger) GetHPCfgs(arg0 context.Context, arg1 *path_mgmt.HPCfgReq, arg2 net.Addr, arg3 uint64) (*path_mgmt.HPCfgReply, error)
- func (m *MockMessenger) GetHPSegs(arg0 context.Context, arg1 *path_mgmt.HPSegReq, arg2 net.Addr, arg3 uint64) (*path_mgmt.HPSegReply, error)
- func (m *MockMessenger) GetSegChanges(arg0 context.Context, arg1 *path_mgmt.SegChangesReq, arg2 net.Addr, ...) (*path_mgmt.SegChangesReply, error)
- func (m *MockMessenger) GetSegChangesIds(arg0 context.Context, arg1 *path_mgmt.SegChangesIdReq, arg2 net.Addr, ...) (*path_mgmt.SegChangesIdReply, error)
- func (m *MockMessenger) GetSegs(arg0 context.Context, arg1 *path_mgmt.SegReq, arg2 net.Addr, arg3 uint64) (*path_mgmt.SegReply, error)
- func (m *MockMessenger) GetTRC(arg0 context.Context, arg1 *cert_mgmt.TRCReq, arg2 net.Addr, arg3 uint64) (*cert_mgmt.TRC, error)
- func (m *MockMessenger) ListenAndServe()
- func (m *MockMessenger) RequestChainIssue(arg0 context.Context, arg1 *cert_mgmt.ChainIssReq, arg2 net.Addr, arg3 uint64) (*cert_mgmt.ChainIssRep, error)
- func (m *MockMessenger) SendAck(arg0 context.Context, arg1 *ack.Ack, arg2 net.Addr, arg3 uint64) error
- func (m *MockMessenger) SendBeacon(arg0 context.Context, arg1 *seg.Beacon, arg2 net.Addr, arg3 uint64) error
- func (m *MockMessenger) SendCertChain(arg0 context.Context, arg1 *cert_mgmt.Chain, arg2 net.Addr, arg3 uint64) error
- func (m *MockMessenger) SendChainIssueReply(arg0 context.Context, arg1 *cert_mgmt.ChainIssRep, arg2 net.Addr, arg3 uint64) error
- func (m *MockMessenger) SendHPCfgReply(arg0 context.Context, arg1 *path_mgmt.HPCfgReply, arg2 net.Addr, arg3 uint64) error
- func (m *MockMessenger) SendHPSegReg(arg0 context.Context, arg1 *path_mgmt.HPSegReg, arg2 net.Addr, arg3 uint64) error
- func (m *MockMessenger) SendHPSegReply(arg0 context.Context, arg1 *path_mgmt.HPSegReply, arg2 net.Addr, arg3 uint64) error
- func (m *MockMessenger) SendIfId(arg0 context.Context, arg1 *ifid.IFID, arg2 net.Addr, arg3 uint64) error
- func (m *MockMessenger) SendIfStateInfos(arg0 context.Context, arg1 *path_mgmt.IFStateInfos, arg2 net.Addr, arg3 uint64) error
- func (m *MockMessenger) SendRev(arg0 context.Context, arg1 *path_mgmt.SignedRevInfo, arg2 net.Addr, ...) error
- func (m *MockMessenger) SendSegChangesIdReply(arg0 context.Context, arg1 *path_mgmt.SegChangesIdReply, arg2 net.Addr, ...) error
- func (m *MockMessenger) SendSegChangesReply(arg0 context.Context, arg1 *path_mgmt.SegChangesReply, arg2 net.Addr, ...) error
- func (m *MockMessenger) SendSegReg(arg0 context.Context, arg1 *path_mgmt.SegReg, arg2 net.Addr, arg3 uint64) error
- func (m *MockMessenger) SendSegReply(arg0 context.Context, arg1 *path_mgmt.SegReply, arg2 net.Addr, arg3 uint64) error
- func (m *MockMessenger) SendSegSync(arg0 context.Context, arg1 *path_mgmt.SegSync, arg2 net.Addr, arg3 uint64) error
- func (m *MockMessenger) SendTRC(arg0 context.Context, arg1 *cert_mgmt.TRC, arg2 net.Addr, arg3 uint64) error
- func (m *MockMessenger) UpdateSigner(arg0 infra.Signer, arg1 []infra.MessageType)
- func (m *MockMessenger) UpdateVerifier(arg0 infra.Verifier)
- type MockMessengerMockRecorder
- func (mr *MockMessengerMockRecorder) AddHandler(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMessengerMockRecorder) CloseServer() *gomock.Call
- func (mr *MockMessengerMockRecorder) GetCertChain(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMessengerMockRecorder) GetHPCfgs(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMessengerMockRecorder) GetHPSegs(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMessengerMockRecorder) GetSegChanges(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMessengerMockRecorder) GetSegChangesIds(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMessengerMockRecorder) GetSegs(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMessengerMockRecorder) GetTRC(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMessengerMockRecorder) ListenAndServe() *gomock.Call
- func (mr *MockMessengerMockRecorder) RequestChainIssue(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMessengerMockRecorder) SendAck(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMessengerMockRecorder) SendBeacon(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMessengerMockRecorder) SendCertChain(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMessengerMockRecorder) SendChainIssueReply(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMessengerMockRecorder) SendHPCfgReply(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMessengerMockRecorder) SendHPSegReg(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMessengerMockRecorder) SendHPSegReply(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMessengerMockRecorder) SendIfId(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMessengerMockRecorder) SendIfStateInfos(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMessengerMockRecorder) SendRev(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMessengerMockRecorder) SendSegChangesIdReply(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMessengerMockRecorder) SendSegChangesReply(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMessengerMockRecorder) SendSegReg(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMessengerMockRecorder) SendSegReply(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMessengerMockRecorder) SendSegSync(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMessengerMockRecorder) SendTRC(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMessengerMockRecorder) UpdateSigner(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMessengerMockRecorder) UpdateVerifier(arg0 interface{}) *gomock.Call
- type MockResponseWriter
- func (m *MockResponseWriter) EXPECT() *MockResponseWriterMockRecorder
- func (m *MockResponseWriter) SendAckReply(arg0 context.Context, arg1 *ack.Ack) error
- func (m *MockResponseWriter) SendCertChainReply(arg0 context.Context, arg1 *cert_mgmt.Chain) error
- func (m *MockResponseWriter) SendChainIssueReply(arg0 context.Context, arg1 *cert_mgmt.ChainIssRep) error
- func (m *MockResponseWriter) SendHPCfgReply(arg0 context.Context, arg1 *path_mgmt.HPCfgReply) error
- func (m *MockResponseWriter) SendHPSegReply(arg0 context.Context, arg1 *path_mgmt.HPSegReply) error
- func (m *MockResponseWriter) SendIfStateInfoReply(arg0 context.Context, arg1 *path_mgmt.IFStateInfos) error
- func (m *MockResponseWriter) SendSegReply(arg0 context.Context, arg1 *path_mgmt.SegReply) error
- func (m *MockResponseWriter) SendTRCReply(arg0 context.Context, arg1 *cert_mgmt.TRC) error
- type MockResponseWriterMockRecorder
- func (mr *MockResponseWriterMockRecorder) SendAckReply(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResponseWriterMockRecorder) SendCertChainReply(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResponseWriterMockRecorder) SendChainIssueReply(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResponseWriterMockRecorder) SendHPCfgReply(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResponseWriterMockRecorder) SendHPSegReply(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResponseWriterMockRecorder) SendIfStateInfoReply(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResponseWriterMockRecorder) SendSegReply(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResponseWriterMockRecorder) SendTRCReply(arg0, arg1 interface{}) *gomock.Call
- type MockTrustStore
- func (m *MockTrustStore) ByAttributes(arg0 context.Context, arg1 addr.ISD, arg2 infra.ASInspectorOpts) ([]addr.IA, error)
- func (m *MockTrustStore) EXPECT() *MockTrustStoreMockRecorder
- func (m *MockTrustStore) HasAttributes(arg0 context.Context, arg1 addr.IA, arg2 infra.ASInspectorOpts) (bool, error)
- func (m *MockTrustStore) NewChainReqHandler(arg0 bool) infra.Handler
- func (m *MockTrustStore) NewSigner(arg0 common.RawBytes, arg1 infra.SignerMeta) (infra.Signer, error)
- func (m *MockTrustStore) NewTRCReqHandler(arg0 bool) infra.Handler
- func (m *MockTrustStore) NewVerifier() infra.Verifier
- type MockTrustStoreMockRecorder
- func (mr *MockTrustStoreMockRecorder) ByAttributes(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockTrustStoreMockRecorder) HasAttributes(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockTrustStoreMockRecorder) NewChainReqHandler(arg0 interface{}) *gomock.Call
- func (mr *MockTrustStoreMockRecorder) NewSigner(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTrustStoreMockRecorder) NewTRCReqHandler(arg0 interface{}) *gomock.Call
- func (mr *MockTrustStoreMockRecorder) NewVerifier() *gomock.Call
- type MockVerifier
- func (m *MockVerifier) EXPECT() *MockVerifierMockRecorder
- func (m *MockVerifier) Verify(arg0 context.Context, arg1 common.RawBytes, arg2 *proto.SignS) error
- func (m *MockVerifier) VerifyPld(arg0 context.Context, arg1 *ctrl.SignedPld) (*ctrl.Pld, error)
- func (m *MockVerifier) WithIA(arg0 addr.IA) infra.Verifier
- func (m *MockVerifier) WithServer(arg0 net.Addr) infra.Verifier
- func (m *MockVerifier) WithSignatureTimestampRange(arg0 infra.SignatureTimestampRange) infra.Verifier
- func (m *MockVerifier) WithSrc(arg0 ctrl.SignSrcDef) infra.Verifier
- type MockVerifierMockRecorder
- func (mr *MockVerifierMockRecorder) Verify(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockVerifierMockRecorder) VerifyPld(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVerifierMockRecorder) WithIA(arg0 interface{}) *gomock.Call
- func (mr *MockVerifierMockRecorder) WithServer(arg0 interface{}) *gomock.Call
- func (mr *MockVerifierMockRecorder) WithSignatureTimestampRange(arg0 interface{}) *gomock.Call
- func (mr *MockVerifierMockRecorder) WithSrc(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockASInspector ¶
type MockASInspector struct {
// contains filtered or unexported fields
}
MockASInspector is a mock of ASInspector interface
func NewMockASInspector ¶
func NewMockASInspector(ctrl *gomock.Controller) *MockASInspector
NewMockASInspector creates a new mock instance
func (*MockASInspector) ByAttributes ¶
func (m *MockASInspector) ByAttributes(arg0 context.Context, arg1 addr.ISD, arg2 infra.ASInspectorOpts) ([]addr.IA, error)
ByAttributes mocks base method
func (*MockASInspector) EXPECT ¶
func (m *MockASInspector) EXPECT() *MockASInspectorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockASInspector) HasAttributes ¶
func (m *MockASInspector) HasAttributes(arg0 context.Context, arg1 addr.IA, arg2 infra.ASInspectorOpts) (bool, error)
HasAttributes mocks base method
type MockASInspectorMockRecorder ¶
type MockASInspectorMockRecorder struct {
// contains filtered or unexported fields
}
MockASInspectorMockRecorder is the mock recorder for MockASInspector
func (*MockASInspectorMockRecorder) ByAttributes ¶
func (mr *MockASInspectorMockRecorder) ByAttributes(arg0, arg1, arg2 interface{}) *gomock.Call
ByAttributes indicates an expected call of ByAttributes
func (*MockASInspectorMockRecorder) HasAttributes ¶
func (mr *MockASInspectorMockRecorder) HasAttributes(arg0, arg1, arg2 interface{}) *gomock.Call
HasAttributes indicates an expected call of HasAttributes
type MockMessenger ¶
type MockMessenger struct {
// contains filtered or unexported fields
}
MockMessenger is a mock of Messenger interface
func NewMockMessenger ¶
func NewMockMessenger(ctrl *gomock.Controller) *MockMessenger
NewMockMessenger creates a new mock instance
func (*MockMessenger) AddHandler ¶
func (m *MockMessenger) AddHandler(arg0 infra.MessageType, arg1 infra.Handler)
AddHandler mocks base method
func (*MockMessenger) CloseServer ¶
func (m *MockMessenger) CloseServer() error
CloseServer mocks base method
func (*MockMessenger) EXPECT ¶
func (m *MockMessenger) EXPECT() *MockMessengerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockMessenger) GetCertChain ¶
func (m *MockMessenger) GetCertChain(arg0 context.Context, arg1 *cert_mgmt.ChainReq, arg2 net.Addr, arg3 uint64) (*cert_mgmt.Chain, error)
GetCertChain mocks base method
func (*MockMessenger) GetHPCfgs ¶
func (m *MockMessenger) GetHPCfgs(arg0 context.Context, arg1 *path_mgmt.HPCfgReq, arg2 net.Addr, arg3 uint64) (*path_mgmt.HPCfgReply, error)
GetHPCfgs mocks base method
func (*MockMessenger) GetHPSegs ¶
func (m *MockMessenger) GetHPSegs(arg0 context.Context, arg1 *path_mgmt.HPSegReq, arg2 net.Addr, arg3 uint64) (*path_mgmt.HPSegReply, error)
GetHPSegs mocks base method
func (*MockMessenger) GetSegChanges ¶
func (m *MockMessenger) GetSegChanges(arg0 context.Context, arg1 *path_mgmt.SegChangesReq, arg2 net.Addr, arg3 uint64) (*path_mgmt.SegChangesReply, error)
GetSegChanges mocks base method
func (*MockMessenger) GetSegChangesIds ¶
func (m *MockMessenger) GetSegChangesIds(arg0 context.Context, arg1 *path_mgmt.SegChangesIdReq, arg2 net.Addr, arg3 uint64) (*path_mgmt.SegChangesIdReply, error)
GetSegChangesIds mocks base method
func (*MockMessenger) GetSegs ¶
func (m *MockMessenger) GetSegs(arg0 context.Context, arg1 *path_mgmt.SegReq, arg2 net.Addr, arg3 uint64) (*path_mgmt.SegReply, error)
GetSegs mocks base method
func (*MockMessenger) GetTRC ¶
func (m *MockMessenger) GetTRC(arg0 context.Context, arg1 *cert_mgmt.TRCReq, arg2 net.Addr, arg3 uint64) (*cert_mgmt.TRC, error)
GetTRC mocks base method
func (*MockMessenger) ListenAndServe ¶
func (m *MockMessenger) ListenAndServe()
ListenAndServe mocks base method
func (*MockMessenger) RequestChainIssue ¶
func (m *MockMessenger) RequestChainIssue(arg0 context.Context, arg1 *cert_mgmt.ChainIssReq, arg2 net.Addr, arg3 uint64) (*cert_mgmt.ChainIssRep, error)
RequestChainIssue mocks base method
func (*MockMessenger) SendAck ¶
func (m *MockMessenger) SendAck(arg0 context.Context, arg1 *ack.Ack, arg2 net.Addr, arg3 uint64) error
SendAck mocks base method
func (*MockMessenger) SendBeacon ¶
func (m *MockMessenger) SendBeacon(arg0 context.Context, arg1 *seg.Beacon, arg2 net.Addr, arg3 uint64) error
SendBeacon mocks base method
func (*MockMessenger) SendCertChain ¶
func (m *MockMessenger) SendCertChain(arg0 context.Context, arg1 *cert_mgmt.Chain, arg2 net.Addr, arg3 uint64) error
SendCertChain mocks base method
func (*MockMessenger) SendChainIssueReply ¶
func (m *MockMessenger) SendChainIssueReply(arg0 context.Context, arg1 *cert_mgmt.ChainIssRep, arg2 net.Addr, arg3 uint64) error
SendChainIssueReply mocks base method
func (*MockMessenger) SendHPCfgReply ¶
func (m *MockMessenger) SendHPCfgReply(arg0 context.Context, arg1 *path_mgmt.HPCfgReply, arg2 net.Addr, arg3 uint64) error
SendHPCfgReply mocks base method
func (*MockMessenger) SendHPSegReg ¶
func (m *MockMessenger) SendHPSegReg(arg0 context.Context, arg1 *path_mgmt.HPSegReg, arg2 net.Addr, arg3 uint64) error
SendHPSegReg mocks base method
func (*MockMessenger) SendHPSegReply ¶
func (m *MockMessenger) SendHPSegReply(arg0 context.Context, arg1 *path_mgmt.HPSegReply, arg2 net.Addr, arg3 uint64) error
SendHPSegReply mocks base method
func (*MockMessenger) SendIfId ¶
func (m *MockMessenger) SendIfId(arg0 context.Context, arg1 *ifid.IFID, arg2 net.Addr, arg3 uint64) error
SendIfId mocks base method
func (*MockMessenger) SendIfStateInfos ¶
func (m *MockMessenger) SendIfStateInfos(arg0 context.Context, arg1 *path_mgmt.IFStateInfos, arg2 net.Addr, arg3 uint64) error
SendIfStateInfos mocks base method
func (*MockMessenger) SendRev ¶
func (m *MockMessenger) SendRev(arg0 context.Context, arg1 *path_mgmt.SignedRevInfo, arg2 net.Addr, arg3 uint64) error
SendRev mocks base method
func (*MockMessenger) SendSegChangesIdReply ¶
func (m *MockMessenger) SendSegChangesIdReply(arg0 context.Context, arg1 *path_mgmt.SegChangesIdReply, arg2 net.Addr, arg3 uint64) error
SendSegChangesIdReply mocks base method
func (*MockMessenger) SendSegChangesReply ¶
func (m *MockMessenger) SendSegChangesReply(arg0 context.Context, arg1 *path_mgmt.SegChangesReply, arg2 net.Addr, arg3 uint64) error
SendSegChangesReply mocks base method
func (*MockMessenger) SendSegReg ¶
func (m *MockMessenger) SendSegReg(arg0 context.Context, arg1 *path_mgmt.SegReg, arg2 net.Addr, arg3 uint64) error
SendSegReg mocks base method
func (*MockMessenger) SendSegReply ¶
func (m *MockMessenger) SendSegReply(arg0 context.Context, arg1 *path_mgmt.SegReply, arg2 net.Addr, arg3 uint64) error
SendSegReply mocks base method
func (*MockMessenger) SendSegSync ¶
func (m *MockMessenger) SendSegSync(arg0 context.Context, arg1 *path_mgmt.SegSync, arg2 net.Addr, arg3 uint64) error
SendSegSync mocks base method
func (*MockMessenger) SendTRC ¶
func (m *MockMessenger) SendTRC(arg0 context.Context, arg1 *cert_mgmt.TRC, arg2 net.Addr, arg3 uint64) error
SendTRC mocks base method
func (*MockMessenger) UpdateSigner ¶
func (m *MockMessenger) UpdateSigner(arg0 infra.Signer, arg1 []infra.MessageType)
UpdateSigner mocks base method
func (*MockMessenger) UpdateVerifier ¶
func (m *MockMessenger) UpdateVerifier(arg0 infra.Verifier)
UpdateVerifier mocks base method
type MockMessengerMockRecorder ¶
type MockMessengerMockRecorder struct {
// contains filtered or unexported fields
}
MockMessengerMockRecorder is the mock recorder for MockMessenger
func (*MockMessengerMockRecorder) AddHandler ¶
func (mr *MockMessengerMockRecorder) AddHandler(arg0, arg1 interface{}) *gomock.Call
AddHandler indicates an expected call of AddHandler
func (*MockMessengerMockRecorder) CloseServer ¶
func (mr *MockMessengerMockRecorder) CloseServer() *gomock.Call
CloseServer indicates an expected call of CloseServer
func (*MockMessengerMockRecorder) GetCertChain ¶
func (mr *MockMessengerMockRecorder) GetCertChain(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetCertChain indicates an expected call of GetCertChain
func (*MockMessengerMockRecorder) GetHPCfgs ¶
func (mr *MockMessengerMockRecorder) GetHPCfgs(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetHPCfgs indicates an expected call of GetHPCfgs
func (*MockMessengerMockRecorder) GetHPSegs ¶
func (mr *MockMessengerMockRecorder) GetHPSegs(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetHPSegs indicates an expected call of GetHPSegs
func (*MockMessengerMockRecorder) GetSegChanges ¶
func (mr *MockMessengerMockRecorder) GetSegChanges(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetSegChanges indicates an expected call of GetSegChanges
func (*MockMessengerMockRecorder) GetSegChangesIds ¶
func (mr *MockMessengerMockRecorder) GetSegChangesIds(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetSegChangesIds indicates an expected call of GetSegChangesIds
func (*MockMessengerMockRecorder) GetSegs ¶
func (mr *MockMessengerMockRecorder) GetSegs(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetSegs indicates an expected call of GetSegs
func (*MockMessengerMockRecorder) GetTRC ¶
func (mr *MockMessengerMockRecorder) GetTRC(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetTRC indicates an expected call of GetTRC
func (*MockMessengerMockRecorder) ListenAndServe ¶
func (mr *MockMessengerMockRecorder) ListenAndServe() *gomock.Call
ListenAndServe indicates an expected call of ListenAndServe
func (*MockMessengerMockRecorder) RequestChainIssue ¶
func (mr *MockMessengerMockRecorder) RequestChainIssue(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
RequestChainIssue indicates an expected call of RequestChainIssue
func (*MockMessengerMockRecorder) SendAck ¶
func (mr *MockMessengerMockRecorder) SendAck(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SendAck indicates an expected call of SendAck
func (*MockMessengerMockRecorder) SendBeacon ¶
func (mr *MockMessengerMockRecorder) SendBeacon(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SendBeacon indicates an expected call of SendBeacon
func (*MockMessengerMockRecorder) SendCertChain ¶
func (mr *MockMessengerMockRecorder) SendCertChain(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SendCertChain indicates an expected call of SendCertChain
func (*MockMessengerMockRecorder) SendChainIssueReply ¶
func (mr *MockMessengerMockRecorder) SendChainIssueReply(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SendChainIssueReply indicates an expected call of SendChainIssueReply
func (*MockMessengerMockRecorder) SendHPCfgReply ¶
func (mr *MockMessengerMockRecorder) SendHPCfgReply(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SendHPCfgReply indicates an expected call of SendHPCfgReply
func (*MockMessengerMockRecorder) SendHPSegReg ¶
func (mr *MockMessengerMockRecorder) SendHPSegReg(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SendHPSegReg indicates an expected call of SendHPSegReg
func (*MockMessengerMockRecorder) SendHPSegReply ¶
func (mr *MockMessengerMockRecorder) SendHPSegReply(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SendHPSegReply indicates an expected call of SendHPSegReply
func (*MockMessengerMockRecorder) SendIfId ¶
func (mr *MockMessengerMockRecorder) SendIfId(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SendIfId indicates an expected call of SendIfId
func (*MockMessengerMockRecorder) SendIfStateInfos ¶
func (mr *MockMessengerMockRecorder) SendIfStateInfos(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SendIfStateInfos indicates an expected call of SendIfStateInfos
func (*MockMessengerMockRecorder) SendRev ¶
func (mr *MockMessengerMockRecorder) SendRev(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SendRev indicates an expected call of SendRev
func (*MockMessengerMockRecorder) SendSegChangesIdReply ¶
func (mr *MockMessengerMockRecorder) SendSegChangesIdReply(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SendSegChangesIdReply indicates an expected call of SendSegChangesIdReply
func (*MockMessengerMockRecorder) SendSegChangesReply ¶
func (mr *MockMessengerMockRecorder) SendSegChangesReply(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SendSegChangesReply indicates an expected call of SendSegChangesReply
func (*MockMessengerMockRecorder) SendSegReg ¶
func (mr *MockMessengerMockRecorder) SendSegReg(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SendSegReg indicates an expected call of SendSegReg
func (*MockMessengerMockRecorder) SendSegReply ¶
func (mr *MockMessengerMockRecorder) SendSegReply(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SendSegReply indicates an expected call of SendSegReply
func (*MockMessengerMockRecorder) SendSegSync ¶
func (mr *MockMessengerMockRecorder) SendSegSync(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SendSegSync indicates an expected call of SendSegSync
func (*MockMessengerMockRecorder) SendTRC ¶
func (mr *MockMessengerMockRecorder) SendTRC(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SendTRC indicates an expected call of SendTRC
func (*MockMessengerMockRecorder) UpdateSigner ¶
func (mr *MockMessengerMockRecorder) UpdateSigner(arg0, arg1 interface{}) *gomock.Call
UpdateSigner indicates an expected call of UpdateSigner
func (*MockMessengerMockRecorder) UpdateVerifier ¶
func (mr *MockMessengerMockRecorder) UpdateVerifier(arg0 interface{}) *gomock.Call
UpdateVerifier indicates an expected call of UpdateVerifier
type MockResponseWriter ¶
type MockResponseWriter struct {
// contains filtered or unexported fields
}
MockResponseWriter is a mock of ResponseWriter interface
func NewMockResponseWriter ¶
func NewMockResponseWriter(ctrl *gomock.Controller) *MockResponseWriter
NewMockResponseWriter creates a new mock instance
func (*MockResponseWriter) EXPECT ¶
func (m *MockResponseWriter) EXPECT() *MockResponseWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockResponseWriter) SendAckReply ¶
SendAckReply mocks base method
func (*MockResponseWriter) SendCertChainReply ¶
SendCertChainReply mocks base method
func (*MockResponseWriter) SendChainIssueReply ¶
func (m *MockResponseWriter) SendChainIssueReply(arg0 context.Context, arg1 *cert_mgmt.ChainIssRep) error
SendChainIssueReply mocks base method
func (*MockResponseWriter) SendHPCfgReply ¶
func (m *MockResponseWriter) SendHPCfgReply(arg0 context.Context, arg1 *path_mgmt.HPCfgReply) error
SendHPCfgReply mocks base method
func (*MockResponseWriter) SendHPSegReply ¶
func (m *MockResponseWriter) SendHPSegReply(arg0 context.Context, arg1 *path_mgmt.HPSegReply) error
SendHPSegReply mocks base method
func (*MockResponseWriter) SendIfStateInfoReply ¶
func (m *MockResponseWriter) SendIfStateInfoReply(arg0 context.Context, arg1 *path_mgmt.IFStateInfos) error
SendIfStateInfoReply mocks base method
func (*MockResponseWriter) SendSegReply ¶
SendSegReply mocks base method
func (*MockResponseWriter) SendTRCReply ¶
SendTRCReply mocks base method
type MockResponseWriterMockRecorder ¶
type MockResponseWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockResponseWriterMockRecorder is the mock recorder for MockResponseWriter
func (*MockResponseWriterMockRecorder) SendAckReply ¶
func (mr *MockResponseWriterMockRecorder) SendAckReply(arg0, arg1 interface{}) *gomock.Call
SendAckReply indicates an expected call of SendAckReply
func (*MockResponseWriterMockRecorder) SendCertChainReply ¶
func (mr *MockResponseWriterMockRecorder) SendCertChainReply(arg0, arg1 interface{}) *gomock.Call
SendCertChainReply indicates an expected call of SendCertChainReply
func (*MockResponseWriterMockRecorder) SendChainIssueReply ¶
func (mr *MockResponseWriterMockRecorder) SendChainIssueReply(arg0, arg1 interface{}) *gomock.Call
SendChainIssueReply indicates an expected call of SendChainIssueReply
func (*MockResponseWriterMockRecorder) SendHPCfgReply ¶
func (mr *MockResponseWriterMockRecorder) SendHPCfgReply(arg0, arg1 interface{}) *gomock.Call
SendHPCfgReply indicates an expected call of SendHPCfgReply
func (*MockResponseWriterMockRecorder) SendHPSegReply ¶
func (mr *MockResponseWriterMockRecorder) SendHPSegReply(arg0, arg1 interface{}) *gomock.Call
SendHPSegReply indicates an expected call of SendHPSegReply
func (*MockResponseWriterMockRecorder) SendIfStateInfoReply ¶
func (mr *MockResponseWriterMockRecorder) SendIfStateInfoReply(arg0, arg1 interface{}) *gomock.Call
SendIfStateInfoReply indicates an expected call of SendIfStateInfoReply
func (*MockResponseWriterMockRecorder) SendSegReply ¶
func (mr *MockResponseWriterMockRecorder) SendSegReply(arg0, arg1 interface{}) *gomock.Call
SendSegReply indicates an expected call of SendSegReply
func (*MockResponseWriterMockRecorder) SendTRCReply ¶
func (mr *MockResponseWriterMockRecorder) SendTRCReply(arg0, arg1 interface{}) *gomock.Call
SendTRCReply indicates an expected call of SendTRCReply
type MockTrustStore ¶
type MockTrustStore struct {
// contains filtered or unexported fields
}
MockTrustStore is a mock of TrustStore interface
func NewMockTrustStore ¶
func NewMockTrustStore(ctrl *gomock.Controller) *MockTrustStore
NewMockTrustStore creates a new mock instance
func (*MockTrustStore) ByAttributes ¶
func (m *MockTrustStore) ByAttributes(arg0 context.Context, arg1 addr.ISD, arg2 infra.ASInspectorOpts) ([]addr.IA, error)
ByAttributes mocks base method
func (*MockTrustStore) EXPECT ¶
func (m *MockTrustStore) EXPECT() *MockTrustStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTrustStore) HasAttributes ¶
func (m *MockTrustStore) HasAttributes(arg0 context.Context, arg1 addr.IA, arg2 infra.ASInspectorOpts) (bool, error)
HasAttributes mocks base method
func (*MockTrustStore) NewChainReqHandler ¶
func (m *MockTrustStore) NewChainReqHandler(arg0 bool) infra.Handler
NewChainReqHandler mocks base method
func (*MockTrustStore) NewSigner ¶
func (m *MockTrustStore) NewSigner(arg0 common.RawBytes, arg1 infra.SignerMeta) (infra.Signer, error)
NewSigner mocks base method
func (*MockTrustStore) NewTRCReqHandler ¶
func (m *MockTrustStore) NewTRCReqHandler(arg0 bool) infra.Handler
NewTRCReqHandler mocks base method
func (*MockTrustStore) NewVerifier ¶
func (m *MockTrustStore) NewVerifier() infra.Verifier
NewVerifier mocks base method
type MockTrustStoreMockRecorder ¶
type MockTrustStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockTrustStoreMockRecorder is the mock recorder for MockTrustStore
func (*MockTrustStoreMockRecorder) ByAttributes ¶
func (mr *MockTrustStoreMockRecorder) ByAttributes(arg0, arg1, arg2 interface{}) *gomock.Call
ByAttributes indicates an expected call of ByAttributes
func (*MockTrustStoreMockRecorder) HasAttributes ¶
func (mr *MockTrustStoreMockRecorder) HasAttributes(arg0, arg1, arg2 interface{}) *gomock.Call
HasAttributes indicates an expected call of HasAttributes
func (*MockTrustStoreMockRecorder) NewChainReqHandler ¶
func (mr *MockTrustStoreMockRecorder) NewChainReqHandler(arg0 interface{}) *gomock.Call
NewChainReqHandler indicates an expected call of NewChainReqHandler
func (*MockTrustStoreMockRecorder) NewSigner ¶
func (mr *MockTrustStoreMockRecorder) NewSigner(arg0, arg1 interface{}) *gomock.Call
NewSigner indicates an expected call of NewSigner
func (*MockTrustStoreMockRecorder) NewTRCReqHandler ¶
func (mr *MockTrustStoreMockRecorder) NewTRCReqHandler(arg0 interface{}) *gomock.Call
NewTRCReqHandler indicates an expected call of NewTRCReqHandler
func (*MockTrustStoreMockRecorder) NewVerifier ¶
func (mr *MockTrustStoreMockRecorder) NewVerifier() *gomock.Call
NewVerifier indicates an expected call of NewVerifier
type MockVerifier ¶
type MockVerifier struct {
// contains filtered or unexported fields
}
MockVerifier is a mock of Verifier interface
func NewMockVerifier ¶
func NewMockVerifier(ctrl *gomock.Controller) *MockVerifier
NewMockVerifier creates a new mock instance
func (*MockVerifier) EXPECT ¶
func (m *MockVerifier) EXPECT() *MockVerifierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockVerifier) WithIA ¶
func (m *MockVerifier) WithIA(arg0 addr.IA) infra.Verifier
WithIA mocks base method
func (*MockVerifier) WithServer ¶
func (m *MockVerifier) WithServer(arg0 net.Addr) infra.Verifier
WithServer mocks base method
func (*MockVerifier) WithSignatureTimestampRange ¶
func (m *MockVerifier) WithSignatureTimestampRange(arg0 infra.SignatureTimestampRange) infra.Verifier
WithSignatureTimestampRange mocks base method
func (*MockVerifier) WithSrc ¶
func (m *MockVerifier) WithSrc(arg0 ctrl.SignSrcDef) infra.Verifier
WithSrc mocks base method
type MockVerifierMockRecorder ¶
type MockVerifierMockRecorder struct {
// contains filtered or unexported fields
}
MockVerifierMockRecorder is the mock recorder for MockVerifier
func (*MockVerifierMockRecorder) Verify ¶
func (mr *MockVerifierMockRecorder) Verify(arg0, arg1, arg2 interface{}) *gomock.Call
Verify indicates an expected call of Verify
func (*MockVerifierMockRecorder) VerifyPld ¶
func (mr *MockVerifierMockRecorder) VerifyPld(arg0, arg1 interface{}) *gomock.Call
VerifyPld indicates an expected call of VerifyPld
func (*MockVerifierMockRecorder) WithIA ¶
func (mr *MockVerifierMockRecorder) WithIA(arg0 interface{}) *gomock.Call
WithIA indicates an expected call of WithIA
func (*MockVerifierMockRecorder) WithServer ¶
func (mr *MockVerifierMockRecorder) WithServer(arg0 interface{}) *gomock.Call
WithServer indicates an expected call of WithServer
func (*MockVerifierMockRecorder) WithSignatureTimestampRange ¶
func (mr *MockVerifierMockRecorder) WithSignatureTimestampRange(arg0 interface{}) *gomock.Call
WithSignatureTimestampRange indicates an expected call of WithSignatureTimestampRange
func (*MockVerifierMockRecorder) WithSrc ¶
func (mr *MockVerifierMockRecorder) WithSrc(arg0 interface{}) *gomock.Call
WithSrc indicates an expected call of WithSrc