controllers

package
v0.0.0-...-15e1e2d Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package controllers is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBlackBoxExporterHandler

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

MockBlackBoxExporterHandler is a mock of BlackBoxExporterHandler interface.

func NewMockBlackBoxExporterHandler

func NewMockBlackBoxExporterHandler(ctrl *gomock.Controller) *MockBlackBoxExporterHandler

NewMockBlackBoxExporterHandler creates a new mock instance.

func (*MockBlackBoxExporterHandler) EXPECT

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

func (*MockBlackBoxExporterHandler) EnsureBlackBoxExporterResourcesAbsent

func (m *MockBlackBoxExporterHandler) EnsureBlackBoxExporterResourcesAbsent() error

EnsureBlackBoxExporterResourcesAbsent mocks base method.

func (*MockBlackBoxExporterHandler) EnsureBlackBoxExporterResourcesExist

func (m *MockBlackBoxExporterHandler) EnsureBlackBoxExporterResourcesExist() error

EnsureBlackBoxExporterResourcesExist mocks base method.

func (*MockBlackBoxExporterHandler) GetBlackBoxExporterNamespace

func (m *MockBlackBoxExporterHandler) GetBlackBoxExporterNamespace() string

GetBlackBoxExporterNamespace mocks base method.

func (*MockBlackBoxExporterHandler) ShouldDeleteBlackBoxExporterResources

func (m *MockBlackBoxExporterHandler) ShouldDeleteBlackBoxExporterResources() (blackboxexporter.ShouldDeleteBlackBoxExporter, error)

ShouldDeleteBlackBoxExporterResources mocks base method.

type MockBlackBoxExporterHandlerMockRecorder

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

MockBlackBoxExporterHandlerMockRecorder is the mock recorder for MockBlackBoxExporterHandler.

func (*MockBlackBoxExporterHandlerMockRecorder) EnsureBlackBoxExporterResourcesAbsent

func (mr *MockBlackBoxExporterHandlerMockRecorder) EnsureBlackBoxExporterResourcesAbsent() *gomock.Call

EnsureBlackBoxExporterResourcesAbsent indicates an expected call of EnsureBlackBoxExporterResourcesAbsent.

func (*MockBlackBoxExporterHandlerMockRecorder) EnsureBlackBoxExporterResourcesExist

func (mr *MockBlackBoxExporterHandlerMockRecorder) EnsureBlackBoxExporterResourcesExist() *gomock.Call

EnsureBlackBoxExporterResourcesExist indicates an expected call of EnsureBlackBoxExporterResourcesExist.

func (*MockBlackBoxExporterHandlerMockRecorder) GetBlackBoxExporterNamespace

func (mr *MockBlackBoxExporterHandlerMockRecorder) GetBlackBoxExporterNamespace() *gomock.Call

GetBlackBoxExporterNamespace indicates an expected call of GetBlackBoxExporterNamespace.

func (*MockBlackBoxExporterHandlerMockRecorder) ShouldDeleteBlackBoxExporterResources

func (mr *MockBlackBoxExporterHandlerMockRecorder) ShouldDeleteBlackBoxExporterResources() *gomock.Call

ShouldDeleteBlackBoxExporterResources indicates an expected call of ShouldDeleteBlackBoxExporterResources.

type MockMonitorResourceHandler

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

MockMonitorResourceHandler is a mock of MonitorResourceHandler interface.

func NewMockMonitorResourceHandler

func NewMockMonitorResourceHandler(ctrl *gomock.Controller) *MockMonitorResourceHandler

NewMockMonitorResourceHandler creates a new mock instance.

func (*MockMonitorResourceHandler) DeleteFinalizer

func (m *MockMonitorResourceHandler) DeleteFinalizer(o v11.Object, finalizerKey string) bool

DeleteFinalizer mocks base method.

func (*MockMonitorResourceHandler) EXPECT

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

func (*MockMonitorResourceHandler) GetHCP

GetHCP mocks base method.

func (*MockMonitorResourceHandler) GetHypershiftClusterID

func (m *MockMonitorResourceHandler) GetHypershiftClusterID(ns string) (string, error)

GetHypershiftClusterID mocks base method.

func (*MockMonitorResourceHandler) GetOSDClusterID

func (m *MockMonitorResourceHandler) GetOSDClusterID() (string, error)

GetOSDClusterID mocks base method.

func (*MockMonitorResourceHandler) ParseMonitorSLOSpecs

func (m *MockMonitorResourceHandler) ParseMonitorSLOSpecs(routeURL string, sloSpec v1alpha1.SloSpec) (string, error)

ParseMonitorSLOSpecs mocks base method.

func (*MockMonitorResourceHandler) SetErrorStatus

func (m *MockMonitorResourceHandler) SetErrorStatus(errorStatus *string, err error) bool

SetErrorStatus mocks base method.

func (*MockMonitorResourceHandler) SetFinalizer

func (m *MockMonitorResourceHandler) SetFinalizer(o v11.Object, finalizerKey string) bool

SetFinalizer mocks base method.

func (*MockMonitorResourceHandler) SetResourceReference

func (m *MockMonitorResourceHandler) SetResourceReference(reference *v1alpha1.NamespacedName, target types.NamespacedName) (bool, error)

SetResourceReference mocks base method.

func (*MockMonitorResourceHandler) UpdateMonitorResource

func (m *MockMonitorResourceHandler) UpdateMonitorResource(cr client.Object) (reconcile.Result, error)

UpdateMonitorResource mocks base method.

func (*MockMonitorResourceHandler) UpdateMonitorResourceStatus

func (m *MockMonitorResourceHandler) UpdateMonitorResourceStatus(cr client.Object) (reconcile.Result, error)

UpdateMonitorResourceStatus mocks base method.

type MockMonitorResourceHandlerMockRecorder

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

MockMonitorResourceHandlerMockRecorder is the mock recorder for MockMonitorResourceHandler.

func (*MockMonitorResourceHandlerMockRecorder) DeleteFinalizer

func (mr *MockMonitorResourceHandlerMockRecorder) DeleteFinalizer(o, finalizerKey any) *gomock.Call

DeleteFinalizer indicates an expected call of DeleteFinalizer.

func (*MockMonitorResourceHandlerMockRecorder) GetHCP

GetHCP indicates an expected call of GetHCP.

func (*MockMonitorResourceHandlerMockRecorder) GetHypershiftClusterID

func (mr *MockMonitorResourceHandlerMockRecorder) GetHypershiftClusterID(ns any) *gomock.Call

GetHypershiftClusterID indicates an expected call of GetHypershiftClusterID.

func (*MockMonitorResourceHandlerMockRecorder) GetOSDClusterID

func (mr *MockMonitorResourceHandlerMockRecorder) GetOSDClusterID() *gomock.Call

GetOSDClusterID indicates an expected call of GetOSDClusterID.

func (*MockMonitorResourceHandlerMockRecorder) ParseMonitorSLOSpecs

func (mr *MockMonitorResourceHandlerMockRecorder) ParseMonitorSLOSpecs(routeURL, sloSpec any) *gomock.Call

ParseMonitorSLOSpecs indicates an expected call of ParseMonitorSLOSpecs.

func (*MockMonitorResourceHandlerMockRecorder) SetErrorStatus

func (mr *MockMonitorResourceHandlerMockRecorder) SetErrorStatus(errorStatus, err any) *gomock.Call

SetErrorStatus indicates an expected call of SetErrorStatus.

func (*MockMonitorResourceHandlerMockRecorder) SetFinalizer

func (mr *MockMonitorResourceHandlerMockRecorder) SetFinalizer(o, finalizerKey any) *gomock.Call

SetFinalizer indicates an expected call of SetFinalizer.

func (*MockMonitorResourceHandlerMockRecorder) SetResourceReference

func (mr *MockMonitorResourceHandlerMockRecorder) SetResourceReference(reference, target any) *gomock.Call

SetResourceReference indicates an expected call of SetResourceReference.

func (*MockMonitorResourceHandlerMockRecorder) UpdateMonitorResource

func (mr *MockMonitorResourceHandlerMockRecorder) UpdateMonitorResource(cr any) *gomock.Call

UpdateMonitorResource indicates an expected call of UpdateMonitorResource.

func (*MockMonitorResourceHandlerMockRecorder) UpdateMonitorResourceStatus

func (mr *MockMonitorResourceHandlerMockRecorder) UpdateMonitorResourceStatus(cr any) *gomock.Call

UpdateMonitorResourceStatus indicates an expected call of UpdateMonitorResourceStatus.

type MockPrometheusRuleHandler

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

MockPrometheusRuleHandler is a mock of PrometheusRuleHandler interface.

func NewMockPrometheusRuleHandler

func NewMockPrometheusRuleHandler(ctrl *gomock.Controller) *MockPrometheusRuleHandler

NewMockPrometheusRuleHandler creates a new mock instance.

func (*MockPrometheusRuleHandler) DeletePrometheusRuleDeployment

func (m *MockPrometheusRuleHandler) DeletePrometheusRuleDeployment(prometheusRuleRef v1alpha1.NamespacedName) error

DeletePrometheusRuleDeployment mocks base method.

func (*MockPrometheusRuleHandler) EXPECT

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

func (*MockPrometheusRuleHandler) UpdatePrometheusRuleDeployment

func (m *MockPrometheusRuleHandler) UpdatePrometheusRuleDeployment(template v1.PrometheusRule) error

UpdatePrometheusRuleDeployment mocks base method.

type MockPrometheusRuleHandlerMockRecorder

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

MockPrometheusRuleHandlerMockRecorder is the mock recorder for MockPrometheusRuleHandler.

func (*MockPrometheusRuleHandlerMockRecorder) DeletePrometheusRuleDeployment

func (mr *MockPrometheusRuleHandlerMockRecorder) DeletePrometheusRuleDeployment(prometheusRuleRef any) *gomock.Call

DeletePrometheusRuleDeployment indicates an expected call of DeletePrometheusRuleDeployment.

func (*MockPrometheusRuleHandlerMockRecorder) UpdatePrometheusRuleDeployment

func (mr *MockPrometheusRuleHandlerMockRecorder) UpdatePrometheusRuleDeployment(template any) *gomock.Call

UpdatePrometheusRuleDeployment indicates an expected call of UpdatePrometheusRuleDeployment.

type MockServiceMonitorHandler

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

MockServiceMonitorHandler is a mock of ServiceMonitorHandler interface.

func NewMockServiceMonitorHandler

func NewMockServiceMonitorHandler(ctrl *gomock.Controller) *MockServiceMonitorHandler

NewMockServiceMonitorHandler creates a new mock instance.

func (*MockServiceMonitorHandler) DeleteServiceMonitorDeployment

func (m *MockServiceMonitorHandler) DeleteServiceMonitorDeployment(serviceMonitorRef v1alpha1.NamespacedName, hcp bool) error

DeleteServiceMonitorDeployment mocks base method.

func (*MockServiceMonitorHandler) EXPECT

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

func (*MockServiceMonitorHandler) HypershiftUpdateServiceMonitorDeployment

func (m *MockServiceMonitorHandler) HypershiftUpdateServiceMonitorDeployment(template v10.ServiceMonitor) error

HypershiftUpdateServiceMonitorDeployment mocks base method.

func (*MockServiceMonitorHandler) TemplateAndUpdateServiceMonitorDeployment

func (m *MockServiceMonitorHandler) TemplateAndUpdateServiceMonitorDeployment(url, blackBoxExporterNamespace string, namespacedName types.NamespacedName, clusterID string, hcp, useInsecure bool, owner *v11.OwnerReference) error

TemplateAndUpdateServiceMonitorDeployment mocks base method.

func (*MockServiceMonitorHandler) UpdateServiceMonitorDeployment

func (m *MockServiceMonitorHandler) UpdateServiceMonitorDeployment(template v1.ServiceMonitor) error

UpdateServiceMonitorDeployment mocks base method.

type MockServiceMonitorHandlerMockRecorder

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

MockServiceMonitorHandlerMockRecorder is the mock recorder for MockServiceMonitorHandler.

func (*MockServiceMonitorHandlerMockRecorder) DeleteServiceMonitorDeployment

func (mr *MockServiceMonitorHandlerMockRecorder) DeleteServiceMonitorDeployment(serviceMonitorRef, hcp any) *gomock.Call

DeleteServiceMonitorDeployment indicates an expected call of DeleteServiceMonitorDeployment.

func (*MockServiceMonitorHandlerMockRecorder) HypershiftUpdateServiceMonitorDeployment

func (mr *MockServiceMonitorHandlerMockRecorder) HypershiftUpdateServiceMonitorDeployment(template any) *gomock.Call

HypershiftUpdateServiceMonitorDeployment indicates an expected call of HypershiftUpdateServiceMonitorDeployment.

func (*MockServiceMonitorHandlerMockRecorder) TemplateAndUpdateServiceMonitorDeployment

func (mr *MockServiceMonitorHandlerMockRecorder) TemplateAndUpdateServiceMonitorDeployment(url, blackBoxExporterNamespace, namespacedName, clusterID, hcp, useInsecure, owner any) *gomock.Call

TemplateAndUpdateServiceMonitorDeployment indicates an expected call of TemplateAndUpdateServiceMonitorDeployment.

func (*MockServiceMonitorHandlerMockRecorder) UpdateServiceMonitorDeployment

func (mr *MockServiceMonitorHandlerMockRecorder) UpdateServiceMonitorDeployment(template any) *gomock.Call

UpdateServiceMonitorDeployment indicates an expected call of UpdateServiceMonitorDeployment.

Jump to

Keyboard shortcuts

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