mock_cert_authority

package
v0.0.0-...-fe4d2ff Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_cert_authority is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCertAuthority

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

MockCertAuthority is a mock of CertAuthority interface.

func NewMockCertAuthority

func NewMockCertAuthority(ctrl *gomock.Controller) *MockCertAuthority

NewMockCertAuthority creates a new mock instance.

func (*MockCertAuthority) AddCertificateSigningRequest

func (m *MockCertAuthority) AddCertificateSigningRequest(ctx context.Context, ts int64, req cert_authority.AddCertificateSigningRequestRequest) (model.Cert, error)

AddCertificateSigningRequest mocks base method.

func (*MockCertAuthority) AddRootCertificate

AddRootCertificate mocks base method.

func (*MockCertAuthority) CreateCACertificateSigningRequest

func (m *MockCertAuthority) CreateCACertificateSigningRequest(ctx context.Context, ts int64, req cert_authority.CreateCACertificateSigningRequestRequest) (model.Cert, error)

CreateCACertificateSigningRequest mocks base method.

func (*MockCertAuthority) EXPECT

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

func (*MockCertAuthority) IssueCertificate

IssueCertificate mocks base method.

func (*MockCertAuthority) ListCertificate

ListCertificate mocks base method.

func (*MockCertAuthority) RejectCertificateSigningRequest

func (m *MockCertAuthority) RejectCertificateSigningRequest(ctx context.Context, ts int64, req cert_authority.RejectCertificateSigningRequestRequest) (model.Cert, error)

RejectCertificateSigningRequest mocks base method.

func (*MockCertAuthority) RespondCACertificateSigningRequest

func (m *MockCertAuthority) RespondCACertificateSigningRequest(ctx context.Context, ts int64, req cert_authority.RespondCACertificateSigningRequestRequest) (model.Cert, error)

RespondCACertificateSigningRequest mocks base method.

func (*MockCertAuthority) RevokeCACertificate

RevokeCACertificate mocks base method.

func (*MockCertAuthority) RevokeCertificate

RevokeCertificate mocks base method.

func (*MockCertAuthority) RevokeRootCertificate

func (m *MockCertAuthority) RevokeRootCertificate(ctx context.Context, ts int64, req cert_authority.RevokeCertificateRequest) (model.Cert, error)

RevokeRootCertificate mocks base method.

type MockCertAuthorityMockRecorder

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

MockCertAuthorityMockRecorder is the mock recorder for MockCertAuthority.

func (*MockCertAuthorityMockRecorder) AddCertificateSigningRequest

func (mr *MockCertAuthorityMockRecorder) AddCertificateSigningRequest(ctx, ts, req interface{}) *gomock.Call

AddCertificateSigningRequest indicates an expected call of AddCertificateSigningRequest.

func (*MockCertAuthorityMockRecorder) AddRootCertificate

func (mr *MockCertAuthorityMockRecorder) AddRootCertificate(ctx, ts, req interface{}) *gomock.Call

AddRootCertificate indicates an expected call of AddRootCertificate.

func (*MockCertAuthorityMockRecorder) CreateCACertificateSigningRequest

func (mr *MockCertAuthorityMockRecorder) CreateCACertificateSigningRequest(ctx, ts, req interface{}) *gomock.Call

CreateCACertificateSigningRequest indicates an expected call of CreateCACertificateSigningRequest.

func (*MockCertAuthorityMockRecorder) IssueCertificate

func (mr *MockCertAuthorityMockRecorder) IssueCertificate(ctx, ts, req interface{}) *gomock.Call

IssueCertificate indicates an expected call of IssueCertificate.

func (*MockCertAuthorityMockRecorder) ListCertificate

func (mr *MockCertAuthorityMockRecorder) ListCertificate(ctx, req interface{}) *gomock.Call

ListCertificate indicates an expected call of ListCertificate.

func (*MockCertAuthorityMockRecorder) RejectCertificateSigningRequest

func (mr *MockCertAuthorityMockRecorder) RejectCertificateSigningRequest(ctx, ts, req interface{}) *gomock.Call

RejectCertificateSigningRequest indicates an expected call of RejectCertificateSigningRequest.

func (*MockCertAuthorityMockRecorder) RespondCACertificateSigningRequest

func (mr *MockCertAuthorityMockRecorder) RespondCACertificateSigningRequest(ctx, ts, req interface{}) *gomock.Call

RespondCACertificateSigningRequest indicates an expected call of RespondCACertificateSigningRequest.

func (*MockCertAuthorityMockRecorder) RevokeCACertificate

func (mr *MockCertAuthorityMockRecorder) RevokeCACertificate(ctx, ts, req interface{}) *gomock.Call

RevokeCACertificate indicates an expected call of RevokeCACertificate.

func (*MockCertAuthorityMockRecorder) RevokeCertificate

func (mr *MockCertAuthorityMockRecorder) RevokeCertificate(ctx, ts, req interface{}) *gomock.Call

RevokeCertificate indicates an expected call of RevokeCertificate.

func (*MockCertAuthorityMockRecorder) RevokeRootCertificate

func (mr *MockCertAuthorityMockRecorder) RevokeRootCertificate(ctx, ts, req interface{}) *gomock.Call

RevokeRootCertificate indicates an expected call of RevokeRootCertificate.

Jump to

Keyboard shortcuts

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