mock_renewal

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_renewal is a generated GoMock package.

Index

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) Close

func (m *MockDB) Close() error

Close 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

func (m *MockDB) InsertClientChain(arg0 context.Context, arg1 []*x509.Certificate) (bool, error)

InsertClientChain mocks base method

func (*MockDB) SetMaxIdleConns

func (m *MockDB) SetMaxIdleConns(arg0 int)

SetMaxIdleConns mocks base method

func (*MockDB) SetMaxOpenConns

func (m *MockDB) SetMaxOpenConns(arg0 int)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL