Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockCertificateClient
- func (m *MockCertificateClient) EXPECT() *MockCertificateClientMockRecorder
- func (m *MockCertificateClient) GetTLSSecret(ctx context.Context, namespace, secretName string) (map[string]any, error)
- func (m *MockCertificateClient) GetWebhookCABundle(ctx context.Context, webhookName string) (string, error)
- func (m *MockCertificateClient) PatchSecret(ctx context.Context, namespace, secretName string, patchData map[string]any) error
- func (m *MockCertificateClient) PatchWebhookConfiguration(ctx context.Context, webhookName string, patches []certificate.WebhookPatch) error
- type MockCertificateClientMockRecorder
- func (mr *MockCertificateClientMockRecorder) GetTLSSecret(ctx, namespace, secretName any) *gomock.Call
- func (mr *MockCertificateClientMockRecorder) GetWebhookCABundle(ctx, webhookName any) *gomock.Call
- func (mr *MockCertificateClientMockRecorder) PatchSecret(ctx, namespace, secretName, patchData any) *gomock.Call
- func (mr *MockCertificateClientMockRecorder) PatchWebhookConfiguration(ctx, webhookName, patches any) *gomock.Call
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 ¶
func (m *MockCertificateClient) EXPECT() *MockCertificateClientMockRecorder
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.