Documentation ¶
Overview ¶
Package mock_renewal is a generated GoMock package.
Index ¶
- type MockDB
- func (m *MockDB) ClientChains(arg0 context.Context, arg1 trust.ChainQuery) ([][]*x509.Certificate, error)
- func (m *MockDB) Close() error
- func (m *MockDB) EXPECT() *MockDBMockRecorder
- func (m *MockDB) InsertClientChain(arg0 context.Context, arg1 []*x509.Certificate) (bool, error)
- func (m *MockDB) SetMaxIdleConns(arg0 int)
- func (m *MockDB) SetMaxOpenConns(arg0 int)
- type MockDBMockRecorder
- func (mr *MockDBMockRecorder) ClientChains(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDBMockRecorder) Close() *gomock.Call
- func (mr *MockDBMockRecorder) InsertClientChain(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDBMockRecorder) SetMaxIdleConns(arg0 interface{}) *gomock.Call
- func (mr *MockDBMockRecorder) SetMaxOpenConns(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDB ¶
type MockDB struct {
// contains filtered or unexported fields
}
MockDB is a mock of DB interface
func NewMockDB ¶
func NewMockDB(ctrl *gomock.Controller) *MockDB
NewMockDB creates a new mock instance
func (*MockDB) ClientChains ¶
func (m *MockDB) ClientChains(arg0 context.Context, arg1 trust.ChainQuery) ([][]*x509.Certificate, error)
ClientChains mocks base method
func (*MockDB) EXPECT ¶
func (m *MockDB) EXPECT() *MockDBMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDB) InsertClientChain ¶
InsertClientChain mocks base method
func (*MockDB) SetMaxIdleConns ¶
SetMaxIdleConns mocks base method
func (*MockDB) SetMaxOpenConns ¶
SetMaxOpenConns mocks base method
type MockDBMockRecorder ¶
type MockDBMockRecorder struct {
// contains filtered or unexported fields
}
MockDBMockRecorder is the mock recorder for MockDB
func (*MockDBMockRecorder) ClientChains ¶
func (mr *MockDBMockRecorder) ClientChains(arg0, arg1 interface{}) *gomock.Call
ClientChains indicates an expected call of ClientChains
func (*MockDBMockRecorder) Close ¶
func (mr *MockDBMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockDBMockRecorder) InsertClientChain ¶
func (mr *MockDBMockRecorder) InsertClientChain(arg0, arg1 interface{}) *gomock.Call
InsertClientChain indicates an expected call of InsertClientChain
func (*MockDBMockRecorder) SetMaxIdleConns ¶
func (mr *MockDBMockRecorder) SetMaxIdleConns(arg0 interface{}) *gomock.Call
SetMaxIdleConns indicates an expected call of SetMaxIdleConns
func (*MockDBMockRecorder) SetMaxOpenConns ¶
func (mr *MockDBMockRecorder) SetMaxOpenConns(arg0 interface{}) *gomock.Call
SetMaxOpenConns indicates an expected call of SetMaxOpenConns