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: 7 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) AddCertificate

AddCertificate 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) ListCertificates

ListCertificates mocks base method.

func (*MockCertAuthority) RevokeCertificate

RevokeCertificate mocks base method.

type MockCertAuthorityMockRecorder

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

MockCertAuthorityMockRecorder is the mock recorder for MockCertAuthority.

func (*MockCertAuthorityMockRecorder) AddCertificate

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

AddCertificate indicates an expected call of AddCertificate.

func (*MockCertAuthorityMockRecorder) IssueCertificate

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

IssueCertificate indicates an expected call of IssueCertificate.

func (*MockCertAuthorityMockRecorder) ListCertificates

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

ListCertificates indicates an expected call of ListCertificates.

func (*MockCertAuthorityMockRecorder) RevokeCertificate

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

RevokeCertificate indicates an expected call of RevokeCertificate.

type MockCertStorage

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

MockCertStorage is a mock of CertStorage interface.

func NewMockCertStorage

func NewMockCertStorage(ctrl *gomock.Controller) *MockCertStorage

NewMockCertStorage creates a new mock instance.

func (*MockCertStorage) AddCertificate

func (m *MockCertStorage) AddCertificate(ctx context.Context, tx storage.Tx, cert model.Cert) error

AddCertificate mocks base method.

func (*MockCertStorage) CreateTx

CreateTx mocks base method.

func (*MockCertStorage) EXPECT

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

func (*MockCertStorage) ListCertificates

ListCertificates mocks base method.

type MockCertStorageMockRecorder

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

MockCertStorageMockRecorder is the mock recorder for MockCertStorage.

func (*MockCertStorageMockRecorder) AddCertificate

func (mr *MockCertStorageMockRecorder) AddCertificate(ctx, tx, cert interface{}) *gomock.Call

AddCertificate indicates an expected call of AddCertificate.

func (*MockCertStorageMockRecorder) CreateTx

func (mr *MockCertStorageMockRecorder) CreateTx(ctx interface{}, options ...interface{}) *gomock.Call

CreateTx indicates an expected call of CreateTx.

func (*MockCertStorageMockRecorder) ListCertificates

func (mr *MockCertStorageMockRecorder) ListCertificates(ctx, tx, req interface{}) *gomock.Call

ListCertificates indicates an expected call of ListCertificates.

Jump to

Keyboard shortcuts

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