mocks

package
v1.2.9 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCertificateClient

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

MockCertificateClient is a mock of CertificateClient interface.

func NewMockCertificateClient

func NewMockCertificateClient(ctrl *gomock.Controller) *MockCertificateClient

NewMockCertificateClient creates a new mock instance.

func (*MockCertificateClient) EXPECT

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

func (*MockCertificateClient) GetTLSSecret

func (m *MockCertificateClient) GetTLSSecret(ctx context.Context, namespace, secretName string) (map[string]any, error)

GetTLSSecret mocks base method.

func (*MockCertificateClient) GetWebhookCABundle

func (m *MockCertificateClient) GetWebhookCABundle(ctx context.Context, webhookName string) (string, error)

GetWebhookCABundle mocks base method.

func (*MockCertificateClient) PatchSecret

func (m *MockCertificateClient) PatchSecret(ctx context.Context, namespace, secretName string, patchData map[string]any) error

PatchSecret mocks base method.

func (*MockCertificateClient) PatchWebhookConfiguration

func (m *MockCertificateClient) PatchWebhookConfiguration(ctx context.Context, webhookName string, patches []certificate.WebhookPatch) error

PatchWebhookConfiguration mocks base method.

type MockCertificateClientMockRecorder

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

MockCertificateClientMockRecorder is the mock recorder for MockCertificateClient.

func (*MockCertificateClientMockRecorder) GetTLSSecret

func (mr *MockCertificateClientMockRecorder) GetTLSSecret(ctx, namespace, secretName any) *gomock.Call

GetTLSSecret indicates an expected call of GetTLSSecret.

func (*MockCertificateClientMockRecorder) GetWebhookCABundle

func (mr *MockCertificateClientMockRecorder) GetWebhookCABundle(ctx, webhookName any) *gomock.Call

GetWebhookCABundle indicates an expected call of GetWebhookCABundle.

func (*MockCertificateClientMockRecorder) PatchSecret

func (mr *MockCertificateClientMockRecorder) PatchSecret(ctx, namespace, secretName, patchData any) *gomock.Call

PatchSecret indicates an expected call of PatchSecret.

func (*MockCertificateClientMockRecorder) PatchWebhookConfiguration

func (mr *MockCertificateClientMockRecorder) PatchWebhookConfiguration(ctx, webhookName, patches any) *gomock.Call

PatchWebhookConfiguration indicates an expected call of PatchWebhookConfiguration.

Jump to

Keyboard shortcuts

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