Documentation ¶
Overview ¶
Package toolsmock is a generated GoMock package.
Index ¶
- type MockToolsInterface
- func (m *MockToolsInterface) EXPECT() *MockToolsInterfaceMockRecorder
- func (m *MockToolsInterface) FetchOCSPResp(arg0 helpers.HelpersInterface, arg1, arg2 string, arg3, arg4 *x509.Certificate, ...) (*ocsp.Response, error)
- func (m *MockToolsInterface) GetCertChainAndStapledResp(arg0 string) ([]*x509.Certificate, []byte, error)
- func (m *MockToolsInterface) GetIssuerCertFromLeafCert(arg0 helpers.HelpersInterface, arg1 *x509.Certificate) (*x509.Certificate, error)
- func (m *MockToolsInterface) ParseCertificateFile(arg0 string) (*x509.Certificate, error)
- func (m *MockToolsInterface) ReadOCSPResp(arg0 string) (*ocsp.Response, error)
- type MockToolsInterfaceMockRecorder
- func (mr *MockToolsInterfaceMockRecorder) FetchOCSPResp(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
- func (mr *MockToolsInterfaceMockRecorder) GetCertChainAndStapledResp(arg0 interface{}) *gomock.Call
- func (mr *MockToolsInterfaceMockRecorder) GetIssuerCertFromLeafCert(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockToolsInterfaceMockRecorder) ParseCertificateFile(arg0 interface{}) *gomock.Call
- func (mr *MockToolsInterfaceMockRecorder) ReadOCSPResp(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockToolsInterface ¶
type MockToolsInterface struct {
// contains filtered or unexported fields
}
MockToolsInterface is a mock of ToolsInterface interface
func NewMockToolsInterface ¶
func NewMockToolsInterface(ctrl *gomock.Controller) *MockToolsInterface
NewMockToolsInterface creates a new mock instance
func (*MockToolsInterface) EXPECT ¶
func (m *MockToolsInterface) EXPECT() *MockToolsInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockToolsInterface) FetchOCSPResp ¶
func (m *MockToolsInterface) FetchOCSPResp(arg0 helpers.HelpersInterface, arg1, arg2 string, arg3, arg4 *x509.Certificate, arg5 string, arg6 crypto.Hash) (*ocsp.Response, error)
FetchOCSPResp mocks base method
func (*MockToolsInterface) GetCertChainAndStapledResp ¶
func (m *MockToolsInterface) GetCertChainAndStapledResp(arg0 string) ([]*x509.Certificate, []byte, error)
GetCertChainAndStapledResp mocks base method
func (*MockToolsInterface) GetIssuerCertFromLeafCert ¶
func (m *MockToolsInterface) GetIssuerCertFromLeafCert(arg0 helpers.HelpersInterface, arg1 *x509.Certificate) (*x509.Certificate, error)
GetIssuerCertFromLeafCert mocks base method
func (*MockToolsInterface) ParseCertificateFile ¶
func (m *MockToolsInterface) ParseCertificateFile(arg0 string) (*x509.Certificate, error)
ParseCertificateFile mocks base method
func (*MockToolsInterface) ReadOCSPResp ¶
func (m *MockToolsInterface) ReadOCSPResp(arg0 string) (*ocsp.Response, error)
ReadOCSPResp mocks base method
type MockToolsInterfaceMockRecorder ¶
type MockToolsInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockToolsInterfaceMockRecorder is the mock recorder for MockToolsInterface
func (*MockToolsInterfaceMockRecorder) FetchOCSPResp ¶
func (mr *MockToolsInterfaceMockRecorder) FetchOCSPResp(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
FetchOCSPResp indicates an expected call of FetchOCSPResp
func (*MockToolsInterfaceMockRecorder) GetCertChainAndStapledResp ¶
func (mr *MockToolsInterfaceMockRecorder) GetCertChainAndStapledResp(arg0 interface{}) *gomock.Call
GetCertChainAndStapledResp indicates an expected call of GetCertChainAndStapledResp
func (*MockToolsInterfaceMockRecorder) GetIssuerCertFromLeafCert ¶
func (mr *MockToolsInterfaceMockRecorder) GetIssuerCertFromLeafCert(arg0, arg1 interface{}) *gomock.Call
GetIssuerCertFromLeafCert indicates an expected call of GetIssuerCertFromLeafCert
func (*MockToolsInterfaceMockRecorder) ParseCertificateFile ¶
func (mr *MockToolsInterfaceMockRecorder) ParseCertificateFile(arg0 interface{}) *gomock.Call
ParseCertificateFile indicates an expected call of ParseCertificateFile
func (*MockToolsInterfaceMockRecorder) ReadOCSPResp ¶
func (mr *MockToolsInterfaceMockRecorder) ReadOCSPResp(arg0 interface{}) *gomock.Call
ReadOCSPResp indicates an expected call of ReadOCSPResp