Versions in this module Expand all Collapse all v0 v0.4.0 Nov 14, 2019 Changes in this version + type MockASInspector struct + func NewMockASInspector(ctrl *gomock.Controller) *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 struct + func (mr *MockASInspectorMockRecorder) ByAttributes(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockASInspectorMockRecorder) HasAttributes(arg0, arg1, arg2 interface{}) *gomock.Call + type MockMessenger struct + func NewMockMessenger(ctrl *gomock.Controller) *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 struct + 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 struct + func NewMockResponseWriter(ctrl *gomock.Controller) *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 struct + 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 struct + func NewMockTrustStore(ctrl *gomock.Controller) *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 struct + 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 struct + func NewMockVerifier(ctrl *gomock.Controller) *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 struct + 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