Documentation ¶
Overview ¶
Package mock_translation is a generated GoMock package.
Index ¶
- type MockTranslator
- func (m *MockTranslator) EXPECT() *MockTranslatorMockRecorder
- func (m *MockTranslator) IssuedCertificateFinished(ctx context.Context, issuedCertificate *v1.IssuedCertificate, ...) error
- func (m *MockTranslator) IssuedCertificateIssued(ctx context.Context, issuedCertificate *v1.IssuedCertificate, ...) error
- func (m *MockTranslator) IssuedCertificatePending(ctx context.Context, issuedCertificate *v1.IssuedCertificate, ...) ([]byte, error)
- func (m *MockTranslator) IssuedCertificateRequested(ctx context.Context, issuedCertificate *v1.IssuedCertificate, ...) (bool, error)
- func (m *MockTranslator) ShouldProcess(ctx context.Context, issuedCertificate *v1.IssuedCertificate) bool
- type MockTranslatorMockRecorder
- func (mr *MockTranslatorMockRecorder) IssuedCertificateFinished(ctx, issuedCertificate, inputs, outputs interface{}) *gomock.Call
- func (mr *MockTranslatorMockRecorder) IssuedCertificateIssued(ctx, issuedCertificate, inputs, outputs interface{}) *gomock.Call
- func (mr *MockTranslatorMockRecorder) IssuedCertificatePending(ctx, issuedCertificate, inputs, outputs interface{}) *gomock.Call
- func (mr *MockTranslatorMockRecorder) IssuedCertificateRequested(ctx, issuedCertificate, certificateRequest, inputs, outputs interface{}) *gomock.Call
- func (mr *MockTranslatorMockRecorder) ShouldProcess(ctx, issuedCertificate interface{}) *gomock.Call
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 ¶
func (m *MockTranslator) EXPECT() *MockTranslatorMockRecorder
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.