mock

package
v1.141.2 Latest Latest
Warning

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

Go to latest
Published: May 8, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockInterface

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

MockInterface is a mock of Interface interface.

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance.

func (*MockInterface) Deploy

func (m *MockInterface) Deploy(ctx context.Context) error

Deploy mocks base method.

func (*MockInterface) Destroy

func (m *MockInterface) Destroy(ctx context.Context) error

Destroy mocks base method.

func (*MockInterface) EXPECT

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

func (*MockInterface) SetAdditionalAlertRelabelConfigs

func (m *MockInterface) SetAdditionalAlertRelabelConfigs(arg0 []v1.RelabelConfig)

SetAdditionalAlertRelabelConfigs mocks base method.

func (*MockInterface) SetCentralPrometheusRules

func (m *MockInterface) SetCentralPrometheusRules(arg0 []*v1.PrometheusRule)

SetCentralPrometheusRules mocks base method.

func (*MockInterface) SetCentralScrapeConfigs

func (m *MockInterface) SetCentralScrapeConfigs(arg0 []*v1alpha1.ScrapeConfig)

SetCentralScrapeConfigs mocks base method.

func (*MockInterface) SetIngressAuthSecret

func (m *MockInterface) SetIngressAuthSecret(arg0 *v10.Secret)

SetIngressAuthSecret mocks base method.

func (*MockInterface) SetIngressWildcardCertSecret

func (m *MockInterface) SetIngressWildcardCertSecret(arg0 *v10.Secret)

SetIngressWildcardCertSecret mocks base method.

func (*MockInterface) SetNamespaceUID

func (m *MockInterface) SetNamespaceUID(name types.UID)

SetNamespaceUID mocks base method.

func (*MockInterface) Wait

func (m *MockInterface) Wait(ctx context.Context) error

Wait mocks base method.

func (*MockInterface) WaitCleanup

func (m *MockInterface) WaitCleanup(ctx context.Context) error

WaitCleanup mocks base method.

type MockInterfaceMockRecorder

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

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) Deploy

func (mr *MockInterfaceMockRecorder) Deploy(ctx any) *gomock.Call

Deploy indicates an expected call of Deploy.

func (*MockInterfaceMockRecorder) Destroy

func (mr *MockInterfaceMockRecorder) Destroy(ctx any) *gomock.Call

Destroy indicates an expected call of Destroy.

func (*MockInterfaceMockRecorder) SetAdditionalAlertRelabelConfigs

func (mr *MockInterfaceMockRecorder) SetAdditionalAlertRelabelConfigs(arg0 any) *gomock.Call

SetAdditionalAlertRelabelConfigs indicates an expected call of SetAdditionalAlertRelabelConfigs.

func (*MockInterfaceMockRecorder) SetCentralPrometheusRules

func (mr *MockInterfaceMockRecorder) SetCentralPrometheusRules(arg0 any) *gomock.Call

SetCentralPrometheusRules indicates an expected call of SetCentralPrometheusRules.

func (*MockInterfaceMockRecorder) SetCentralScrapeConfigs

func (mr *MockInterfaceMockRecorder) SetCentralScrapeConfigs(arg0 any) *gomock.Call

SetCentralScrapeConfigs indicates an expected call of SetCentralScrapeConfigs.

func (*MockInterfaceMockRecorder) SetIngressAuthSecret

func (mr *MockInterfaceMockRecorder) SetIngressAuthSecret(arg0 any) *gomock.Call

SetIngressAuthSecret indicates an expected call of SetIngressAuthSecret.

func (*MockInterfaceMockRecorder) SetIngressWildcardCertSecret

func (mr *MockInterfaceMockRecorder) SetIngressWildcardCertSecret(arg0 any) *gomock.Call

SetIngressWildcardCertSecret indicates an expected call of SetIngressWildcardCertSecret.

func (*MockInterfaceMockRecorder) SetNamespaceUID

func (mr *MockInterfaceMockRecorder) SetNamespaceUID(name any) *gomock.Call

SetNamespaceUID indicates an expected call of SetNamespaceUID.

func (*MockInterfaceMockRecorder) Wait

func (mr *MockInterfaceMockRecorder) Wait(ctx any) *gomock.Call

Wait indicates an expected call of Wait.

func (*MockInterfaceMockRecorder) WaitCleanup

func (mr *MockInterfaceMockRecorder) WaitCleanup(ctx any) *gomock.Call

WaitCleanup indicates an expected call of WaitCleanup.

Jump to

Keyboard shortcuts

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