toolsmock

package
v0.0.0-...-60446d7 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package toolsmock is a generated GoMock package.

Index

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

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

Jump to

Keyboard shortcuts

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