Versions in this module Expand all Collapse all v0 v0.4.0 Nov 14, 2019 Changes in this version + type MockTrustDB struct + func NewMockTrustDB(ctrl *gomock.Controller) *MockTrustDB + func (m *MockTrustDB) BeginTransaction(arg0 context.Context, arg1 *sql.TxOptions) (trustdb.Transaction, error) + func (m *MockTrustDB) Close() error + func (m *MockTrustDB) EXPECT() *MockTrustDBMockRecorder + func (m *MockTrustDB) GetAllChains(arg0 context.Context) (<-chan trustdb.ChainOrErr, error) + func (m *MockTrustDB) GetAllCustKeys(arg0 context.Context) (<-chan trustdb.CustKeyOrErr, error) + func (m *MockTrustDB) GetAllIssCerts(arg0 context.Context) (<-chan trustdb.CertOrErr, error) + func (m *MockTrustDB) GetAllTRCs(arg0 context.Context) (<-chan trustdb.TrcOrErr, error) + func (m *MockTrustDB) GetChainMaxVersion(arg0 context.Context, arg1 addr.IA) (*cert.Chain, error) + func (m *MockTrustDB) GetChainVersion(arg0 context.Context, arg1 addr.IA, arg2 scrypto.Version) (*cert.Chain, error) + func (m *MockTrustDB) GetCustKey(arg0 context.Context, arg1 addr.IA) (*trustdb.CustKey, error) + func (m *MockTrustDB) GetIssCertMaxVersion(arg0 context.Context, arg1 addr.IA) (*cert.Certificate, error) + func (m *MockTrustDB) GetIssCertVersion(arg0 context.Context, arg1 addr.IA, arg2 scrypto.Version) (*cert.Certificate, error) + func (m *MockTrustDB) GetTRCMaxVersion(arg0 context.Context, arg1 addr.ISD) (*trc.TRC, error) + func (m *MockTrustDB) GetTRCVersion(arg0 context.Context, arg1 addr.ISD, arg2 scrypto.Version) (*trc.TRC, error) + func (m *MockTrustDB) InsertChain(arg0 context.Context, arg1 *cert.Chain) (int64, error) + func (m *MockTrustDB) InsertCustKey(arg0 context.Context, arg1 *trustdb.CustKey, arg2 scrypto.Version) error + func (m *MockTrustDB) InsertIssCert(arg0 context.Context, arg1 *cert.Certificate) (int64, error) + func (m *MockTrustDB) InsertTRC(arg0 context.Context, arg1 *trc.TRC) (int64, error) + func (m *MockTrustDB) SetMaxIdleConns(arg0 int) + func (m *MockTrustDB) SetMaxOpenConns(arg0 int) + type MockTrustDBMockRecorder struct + func (mr *MockTrustDBMockRecorder) BeginTransaction(arg0, arg1 interface{}) *gomock.Call + func (mr *MockTrustDBMockRecorder) Close() *gomock.Call + func (mr *MockTrustDBMockRecorder) GetAllChains(arg0 interface{}) *gomock.Call + func (mr *MockTrustDBMockRecorder) GetAllCustKeys(arg0 interface{}) *gomock.Call + func (mr *MockTrustDBMockRecorder) GetAllIssCerts(arg0 interface{}) *gomock.Call + func (mr *MockTrustDBMockRecorder) GetAllTRCs(arg0 interface{}) *gomock.Call + func (mr *MockTrustDBMockRecorder) GetChainMaxVersion(arg0, arg1 interface{}) *gomock.Call + func (mr *MockTrustDBMockRecorder) GetChainVersion(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockTrustDBMockRecorder) GetCustKey(arg0, arg1 interface{}) *gomock.Call + func (mr *MockTrustDBMockRecorder) GetIssCertMaxVersion(arg0, arg1 interface{}) *gomock.Call + func (mr *MockTrustDBMockRecorder) GetIssCertVersion(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockTrustDBMockRecorder) GetTRCMaxVersion(arg0, arg1 interface{}) *gomock.Call + func (mr *MockTrustDBMockRecorder) GetTRCVersion(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockTrustDBMockRecorder) InsertChain(arg0, arg1 interface{}) *gomock.Call + func (mr *MockTrustDBMockRecorder) InsertCustKey(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockTrustDBMockRecorder) InsertIssCert(arg0, arg1 interface{}) *gomock.Call + func (mr *MockTrustDBMockRecorder) InsertTRC(arg0, arg1 interface{}) *gomock.Call + func (mr *MockTrustDBMockRecorder) SetMaxIdleConns(arg0 interface{}) *gomock.Call + func (mr *MockTrustDBMockRecorder) SetMaxOpenConns(arg0 interface{}) *gomock.Call