mock_grpc

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package mock_grpc is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCAServiceClient

type MockCAServiceClient struct {
	// contains filtered or unexported fields
}

MockCAServiceClient is a mock of CAServiceClient interface.

func NewMockCAServiceClient

func NewMockCAServiceClient(ctrl *gomock.Controller) *MockCAServiceClient

NewMockCAServiceClient creates a new mock instance.

func (*MockCAServiceClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockCAServiceClient) PostCertificateRenewal

func (m *MockCAServiceClient) PostCertificateRenewal(arg0 context.Context, arg1 int, arg2 api.AS, arg3 api.PostCertificateRenewalJSONRequestBody, arg4 ...api.RequestEditorFn) (*http.Response, error)

PostCertificateRenewal mocks base method.

type MockCAServiceClientMockRecorder

type MockCAServiceClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockCAServiceClientMockRecorder is the mock recorder for MockCAServiceClient.

func (*MockCAServiceClientMockRecorder) PostCertificateRenewal

func (mr *MockCAServiceClientMockRecorder) PostCertificateRenewal(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call

PostCertificateRenewal indicates an expected call of PostCertificateRenewal.

type MockCMSRequestHandler

type MockCMSRequestHandler struct {
	// contains filtered or unexported fields
}

MockCMSRequestHandler is a mock of CMSRequestHandler interface.

func NewMockCMSRequestHandler

func NewMockCMSRequestHandler(ctrl *gomock.Controller) *MockCMSRequestHandler

NewMockCMSRequestHandler creates a new mock instance.

func (*MockCMSRequestHandler) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockCMSRequestHandler) HandleCMSRequest

HandleCMSRequest mocks base method.

type MockCMSRequestHandlerMockRecorder

type MockCMSRequestHandlerMockRecorder struct {
	// contains filtered or unexported fields
}

MockCMSRequestHandlerMockRecorder is the mock recorder for MockCMSRequestHandler.

func (*MockCMSRequestHandlerMockRecorder) HandleCMSRequest

func (mr *MockCMSRequestHandlerMockRecorder) HandleCMSRequest(arg0, arg1 interface{}) *gomock.Call

HandleCMSRequest indicates an expected call of HandleCMSRequest.

type MockCMSSigner

type MockCMSSigner struct {
	// contains filtered or unexported fields
}

MockCMSSigner is a mock of CMSSigner interface.

func NewMockCMSSigner

func NewMockCMSSigner(ctrl *gomock.Controller) *MockCMSSigner

NewMockCMSSigner creates a new mock instance.

func (*MockCMSSigner) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockCMSSigner) SignCMS

func (m *MockCMSSigner) SignCMS(arg0 context.Context, arg1 []byte) ([]byte, error)

SignCMS mocks base method.

type MockCMSSignerMockRecorder

type MockCMSSignerMockRecorder struct {
	// contains filtered or unexported fields
}

MockCMSSignerMockRecorder is the mock recorder for MockCMSSigner.

func (*MockCMSSignerMockRecorder) SignCMS

func (mr *MockCMSSignerMockRecorder) SignCMS(arg0, arg1 interface{}) *gomock.Call

SignCMS indicates an expected call of SignCMS.

type MockChainBuilder

type MockChainBuilder struct {
	// contains filtered or unexported fields
}

MockChainBuilder is a mock of ChainBuilder interface.

func NewMockChainBuilder

func NewMockChainBuilder(ctrl *gomock.Controller) *MockChainBuilder

NewMockChainBuilder creates a new mock instance.

func (*MockChainBuilder) CreateChain

func (m *MockChainBuilder) CreateChain(arg0 context.Context, arg1 *x509.CertificateRequest) ([]*x509.Certificate, error)

CreateChain mocks base method.

func (*MockChainBuilder) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

type MockChainBuilderMockRecorder

type MockChainBuilderMockRecorder struct {
	// contains filtered or unexported fields
}

MockChainBuilderMockRecorder is the mock recorder for MockChainBuilder.

func (*MockChainBuilderMockRecorder) CreateChain

func (mr *MockChainBuilderMockRecorder) CreateChain(arg0, arg1 interface{}) *gomock.Call

CreateChain indicates an expected call of CreateChain.

type MockLegacyRequestHandler

type MockLegacyRequestHandler struct {
	// contains filtered or unexported fields
}

MockLegacyRequestHandler is a mock of LegacyRequestHandler interface.

func NewMockLegacyRequestHandler

func NewMockLegacyRequestHandler(ctrl *gomock.Controller) *MockLegacyRequestHandler

NewMockLegacyRequestHandler creates a new mock instance.

func (*MockLegacyRequestHandler) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLegacyRequestHandler) HandleLegacyRequest

HandleLegacyRequest mocks base method.

type MockLegacyRequestHandlerMockRecorder

type MockLegacyRequestHandlerMockRecorder struct {
	// contains filtered or unexported fields
}

MockLegacyRequestHandlerMockRecorder is the mock recorder for MockLegacyRequestHandler.

func (*MockLegacyRequestHandlerMockRecorder) HandleLegacyRequest

func (mr *MockLegacyRequestHandlerMockRecorder) HandleLegacyRequest(arg0, arg1 interface{}) *gomock.Call

HandleLegacyRequest indicates an expected call of HandleLegacyRequest.

type MockRenewalRequestVerifier

type MockRenewalRequestVerifier struct {
	// contains filtered or unexported fields
}

MockRenewalRequestVerifier is a mock of RenewalRequestVerifier interface.

func NewMockRenewalRequestVerifier

func NewMockRenewalRequestVerifier(ctrl *gomock.Controller) *MockRenewalRequestVerifier

NewMockRenewalRequestVerifier creates a new mock instance.

func (*MockRenewalRequestVerifier) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRenewalRequestVerifier) VerifyCMSSignedRenewalRequest

func (m *MockRenewalRequestVerifier) VerifyCMSSignedRenewalRequest(arg0 context.Context, arg1 []byte) (*x509.CertificateRequest, error)

VerifyCMSSignedRenewalRequest mocks base method.

func (*MockRenewalRequestVerifier) VerifyPbSignedRenewalRequest

func (m *MockRenewalRequestVerifier) VerifyPbSignedRenewalRequest(arg0 context.Context, arg1 *crypto.SignedMessage, arg2 [][]*x509.Certificate) (*x509.CertificateRequest, error)

VerifyPbSignedRenewalRequest mocks base method.

type MockRenewalRequestVerifierMockRecorder

type MockRenewalRequestVerifierMockRecorder struct {
	// contains filtered or unexported fields
}

MockRenewalRequestVerifierMockRecorder is the mock recorder for MockRenewalRequestVerifier.

func (*MockRenewalRequestVerifierMockRecorder) VerifyCMSSignedRenewalRequest

func (mr *MockRenewalRequestVerifierMockRecorder) VerifyCMSSignedRenewalRequest(arg0, arg1 interface{}) *gomock.Call

VerifyCMSSignedRenewalRequest indicates an expected call of VerifyCMSSignedRenewalRequest.

func (*MockRenewalRequestVerifierMockRecorder) VerifyPbSignedRenewalRequest

func (mr *MockRenewalRequestVerifierMockRecorder) VerifyPbSignedRenewalRequest(arg0, arg1, arg2 interface{}) *gomock.Call

VerifyPbSignedRenewalRequest indicates an expected call of VerifyPbSignedRenewalRequest.

Jump to

Keyboard shortcuts

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