Documentation ¶
Overview ¶
Package mock_grpc is a generated GoMock package.
Index ¶
- type MockCAServiceClient
- type MockCAServiceClientMockRecorder
- type MockCMSRequestHandler
- type MockCMSRequestHandlerMockRecorder
- type MockCMSSigner
- type MockCMSSignerMockRecorder
- type MockChainBuilder
- type MockChainBuilderMockRecorder
- type MockLegacyRequestHandler
- type MockLegacyRequestHandlerMockRecorder
- type MockRenewalRequestVerifier
- func (m *MockRenewalRequestVerifier) EXPECT() *MockRenewalRequestVerifierMockRecorder
- func (m *MockRenewalRequestVerifier) VerifyCMSSignedRenewalRequest(arg0 context.Context, arg1 []byte) (*x509.CertificateRequest, error)
- func (m *MockRenewalRequestVerifier) VerifyPbSignedRenewalRequest(arg0 context.Context, arg1 *crypto.SignedMessage, arg2 [][]*x509.Certificate) (*x509.CertificateRequest, error)
- type MockRenewalRequestVerifierMockRecorder
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 ¶
func (m *MockCAServiceClient) EXPECT() *MockCAServiceClientMockRecorder
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 ¶
func (m *MockCMSRequestHandler) EXPECT() *MockCMSRequestHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCMSRequestHandler) HandleCMSRequest ¶
func (m *MockCMSRequestHandler) HandleCMSRequest(arg0 context.Context, arg1 *control_plane.ChainRenewalRequest) ([]*x509.Certificate, error)
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 ¶
func (m *MockCMSSigner) EXPECT() *MockCMSSignerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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 ¶
func (m *MockChainBuilder) EXPECT() *MockChainBuilderMockRecorder
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 ¶
func (m *MockLegacyRequestHandler) EXPECT() *MockLegacyRequestHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLegacyRequestHandler) HandleLegacyRequest ¶
func (m *MockLegacyRequestHandler) HandleLegacyRequest(arg0 context.Context, arg1 *control_plane.ChainRenewalRequest) (*control_plane.ChainRenewalResponse, error)
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 ¶
func (m *MockRenewalRequestVerifier) EXPECT() *MockRenewalRequestVerifierMockRecorder
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.