mock_translation

package
v1.1.2 Latest Latest
Warning

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

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

Documentation

Overview

Package mock_translation is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTranslator

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

MockTranslator is a mock of Translator interface.

func NewMockTranslator

func NewMockTranslator(ctrl *gomock.Controller) *MockTranslator

NewMockTranslator creates a new mock instance.

func (*MockTranslator) EXPECT

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

func (*MockTranslator) IssuedCertificateFinished

func (m *MockTranslator) IssuedCertificateFinished(ctx context.Context, issuedCertificate *v1.IssuedCertificate, inputs input.Snapshot, outputs certagent.Builder) error

IssuedCertificateFinished mocks base method.

func (*MockTranslator) IssuedCertificateIssued

func (m *MockTranslator) IssuedCertificateIssued(ctx context.Context, issuedCertificate *v1.IssuedCertificate, inputs input.Snapshot, outputs certagent.Builder) error

IssuedCertificateIssued mocks base method.

func (*MockTranslator) IssuedCertificatePending

func (m *MockTranslator) IssuedCertificatePending(ctx context.Context, issuedCertificate *v1.IssuedCertificate, inputs input.Snapshot, outputs certagent.Builder) ([]byte, error)

IssuedCertificatePending mocks base method.

func (*MockTranslator) IssuedCertificateRequested

func (m *MockTranslator) IssuedCertificateRequested(ctx context.Context, issuedCertificate *v1.IssuedCertificate, certificateRequest *v1.CertificateRequest, inputs input.Snapshot, outputs certagent.Builder) (bool, error)

IssuedCertificateRequested mocks base method.

func (*MockTranslator) ShouldProcess

func (m *MockTranslator) ShouldProcess(ctx context.Context, issuedCertificate *v1.IssuedCertificate) bool

ShouldProcess mocks base method.

type MockTranslatorMockRecorder

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

MockTranslatorMockRecorder is the mock recorder for MockTranslator.

func (*MockTranslatorMockRecorder) IssuedCertificateFinished

func (mr *MockTranslatorMockRecorder) IssuedCertificateFinished(ctx, issuedCertificate, inputs, outputs interface{}) *gomock.Call

IssuedCertificateFinished indicates an expected call of IssuedCertificateFinished.

func (*MockTranslatorMockRecorder) IssuedCertificateIssued

func (mr *MockTranslatorMockRecorder) IssuedCertificateIssued(ctx, issuedCertificate, inputs, outputs interface{}) *gomock.Call

IssuedCertificateIssued indicates an expected call of IssuedCertificateIssued.

func (*MockTranslatorMockRecorder) IssuedCertificatePending

func (mr *MockTranslatorMockRecorder) IssuedCertificatePending(ctx, issuedCertificate, inputs, outputs interface{}) *gomock.Call

IssuedCertificatePending indicates an expected call of IssuedCertificatePending.

func (*MockTranslatorMockRecorder) IssuedCertificateRequested

func (mr *MockTranslatorMockRecorder) IssuedCertificateRequested(ctx, issuedCertificate, certificateRequest, inputs, outputs interface{}) *gomock.Call

IssuedCertificateRequested indicates an expected call of IssuedCertificateRequested.

func (*MockTranslatorMockRecorder) ShouldProcess

func (mr *MockTranslatorMockRecorder) ShouldProcess(ctx, issuedCertificate interface{}) *gomock.Call

ShouldProcess indicates an expected call of ShouldProcess.

Jump to

Keyboard shortcuts

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