mocks

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2025 License: Apache-2.0 Imports: 6 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 MockCollector

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

MockCollector is a mock of Collector interface.

func NewMockCollector

func NewMockCollector(ctrl *gomock.Controller) *MockCollector

NewMockCollector creates a new mock instance.

func (*MockCollector) Apply

func (m *MockCollector) Apply(ctx context.Context, k8sClient client.Client) error

Apply mocks base method.

func (*MockCollector) EXPECT

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

func (*MockCollector) SetAPIReadyCondition

func (m *MockCollector) SetAPIReadyCondition(reason, message string, status v1.ConditionStatus)

SetAPIReadyCondition mocks base method.

func (*MockCollector) SetAPIStatus

func (m *MockCollector) SetAPIStatus(phase v1alpha1.APIPhase, message, endpoint string)

SetAPIStatus mocks base method.

func (*MockCollector) SetMessage

func (m *MockCollector) SetMessage(message string)

SetMessage mocks base method.

func (*MockCollector) SetPhase

func (m *MockCollector) SetPhase(phase v1alpha1.MCPRegistryPhase)

SetPhase mocks base method.

func (*MockCollector) SetSyncStatus

func (m *MockCollector) SetSyncStatus(phase v1alpha1.SyncPhase, message string, attemptCount int, lastSyncTime *v1.Time, lastSyncHash string, serverCount int)

SetSyncStatus mocks base method.

type MockCollectorMockRecorder

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

MockCollectorMockRecorder is the mock recorder for MockCollector.

func (*MockCollectorMockRecorder) Apply

func (mr *MockCollectorMockRecorder) Apply(ctx, k8sClient any) *gomock.Call

Apply indicates an expected call of Apply.

func (*MockCollectorMockRecorder) SetAPIReadyCondition

func (mr *MockCollectorMockRecorder) SetAPIReadyCondition(reason, message, status any) *gomock.Call

SetAPIReadyCondition indicates an expected call of SetAPIReadyCondition.

func (*MockCollectorMockRecorder) SetAPIStatus

func (mr *MockCollectorMockRecorder) SetAPIStatus(phase, message, endpoint any) *gomock.Call

SetAPIStatus indicates an expected call of SetAPIStatus.

func (*MockCollectorMockRecorder) SetMessage

func (mr *MockCollectorMockRecorder) SetMessage(message any) *gomock.Call

SetMessage indicates an expected call of SetMessage.

func (*MockCollectorMockRecorder) SetPhase

func (mr *MockCollectorMockRecorder) SetPhase(phase any) *gomock.Call

SetPhase indicates an expected call of SetPhase.

func (*MockCollectorMockRecorder) SetSyncStatus

func (mr *MockCollectorMockRecorder) SetSyncStatus(phase, message, attemptCount, lastSyncTime, lastSyncHash, serverCount any) *gomock.Call

SetSyncStatus indicates an expected call of SetSyncStatus.

Jump to

Keyboard shortcuts

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