Help us shape the future of Go! Take the 2026 Go Developer Survey

mocks

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 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 MockAPIStatusCollector added in v0.3.7

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

MockAPIStatusCollector is a mock of APIStatusCollector interface.

func NewMockAPIStatusCollector added in v0.3.7

func NewMockAPIStatusCollector(ctrl *gomock.Controller) *MockAPIStatusCollector

NewMockAPIStatusCollector creates a new mock instance.

func (*MockAPIStatusCollector) EXPECT added in v0.3.7

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

func (*MockAPIStatusCollector) SetAPIReadyCondition added in v0.3.7

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

SetAPIReadyCondition mocks base method.

func (*MockAPIStatusCollector) SetAPIStatus added in v0.3.7

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

SetAPIStatus mocks base method.

func (*MockAPIStatusCollector) Status added in v0.3.8

Status mocks base method.

type MockAPIStatusCollectorMockRecorder added in v0.3.7

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

MockAPIStatusCollectorMockRecorder is the mock recorder for MockAPIStatusCollector.

func (*MockAPIStatusCollectorMockRecorder) SetAPIReadyCondition added in v0.3.7

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

SetAPIReadyCondition indicates an expected call of SetAPIReadyCondition.

func (*MockAPIStatusCollectorMockRecorder) SetAPIStatus added in v0.3.7

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

SetAPIStatus indicates an expected call of SetAPIStatus.

func (*MockAPIStatusCollectorMockRecorder) Status added in v0.3.8

Status indicates an expected call of Status.

type MockStatusDeriver added in v0.3.7

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

MockStatusDeriver is a mock of StatusDeriver interface.

func NewMockStatusDeriver added in v0.3.7

func NewMockStatusDeriver(ctrl *gomock.Controller) *MockStatusDeriver

NewMockStatusDeriver creates a new mock instance.

func (*MockStatusDeriver) DeriveOverallStatus added in v0.3.7

func (m *MockStatusDeriver) DeriveOverallStatus(syncStatus *v1alpha1.SyncStatus, apiStatus *v1alpha1.APIStatus) (v1alpha1.MCPRegistryPhase, string)

DeriveOverallStatus mocks base method.

func (*MockStatusDeriver) EXPECT added in v0.3.7

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

type MockStatusDeriverMockRecorder added in v0.3.7

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

MockStatusDeriverMockRecorder is the mock recorder for MockStatusDeriver.

func (*MockStatusDeriverMockRecorder) DeriveOverallStatus added in v0.3.7

func (mr *MockStatusDeriverMockRecorder) DeriveOverallStatus(syncStatus, apiStatus any) *gomock.Call

DeriveOverallStatus indicates an expected call of DeriveOverallStatus.

type MockStatusManager added in v0.3.7

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

MockStatusManager is a mock of StatusManager interface.

func NewMockStatusManager added in v0.3.7

func NewMockStatusManager(ctrl *gomock.Controller) *MockStatusManager

NewMockStatusManager creates a new mock instance.

func (*MockStatusManager) API added in v0.3.7

API mocks base method.

func (*MockStatusManager) EXPECT added in v0.3.7

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

func (*MockStatusManager) SetCondition added in v0.3.7

func (m *MockStatusManager) SetCondition(conditionType, reason, message string, status v1.ConditionStatus)

SetCondition mocks base method.

func (*MockStatusManager) SetOverallStatus added in v0.3.7

func (m *MockStatusManager) SetOverallStatus(phase v1alpha1.MCPRegistryPhase, message string)

SetOverallStatus mocks base method.

func (*MockStatusManager) Sync added in v0.3.7

Sync mocks base method.

func (*MockStatusManager) UpdateStatus added in v0.3.8

func (m *MockStatusManager) UpdateStatus(ctx context.Context, mcpRegistryStatus *v1alpha1.MCPRegistryStatus) bool

UpdateStatus mocks base method.

type MockStatusManagerMockRecorder added in v0.3.7

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

MockStatusManagerMockRecorder is the mock recorder for MockStatusManager.

func (*MockStatusManagerMockRecorder) API added in v0.3.7

API indicates an expected call of API.

func (*MockStatusManagerMockRecorder) SetCondition added in v0.3.7

func (mr *MockStatusManagerMockRecorder) SetCondition(conditionType, reason, message, status any) *gomock.Call

SetCondition indicates an expected call of SetCondition.

func (*MockStatusManagerMockRecorder) SetOverallStatus added in v0.3.7

func (mr *MockStatusManagerMockRecorder) SetOverallStatus(phase, message any) *gomock.Call

SetOverallStatus indicates an expected call of SetOverallStatus.

func (*MockStatusManagerMockRecorder) Sync added in v0.3.7

Sync indicates an expected call of Sync.

func (*MockStatusManagerMockRecorder) UpdateStatus added in v0.3.8

func (mr *MockStatusManagerMockRecorder) UpdateStatus(ctx, mcpRegistryStatus any) *gomock.Call

UpdateStatus indicates an expected call of UpdateStatus.

type MockSyncStatusCollector added in v0.3.7

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

MockSyncStatusCollector is a mock of SyncStatusCollector interface.

func NewMockSyncStatusCollector added in v0.3.7

func NewMockSyncStatusCollector(ctrl *gomock.Controller) *MockSyncStatusCollector

NewMockSyncStatusCollector creates a new mock instance.

func (*MockSyncStatusCollector) EXPECT added in v0.3.7

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

func (*MockSyncStatusCollector) SetSyncCondition added in v0.3.7

func (m *MockSyncStatusCollector) SetSyncCondition(condition v1.Condition)

SetSyncCondition mocks base method.

func (*MockSyncStatusCollector) SetSyncStatus added in v0.3.7

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

SetSyncStatus mocks base method.

func (*MockSyncStatusCollector) Status added in v0.3.8

Status mocks base method.

type MockSyncStatusCollectorMockRecorder added in v0.3.7

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

MockSyncStatusCollectorMockRecorder is the mock recorder for MockSyncStatusCollector.

func (*MockSyncStatusCollectorMockRecorder) SetSyncCondition added in v0.3.7

func (mr *MockSyncStatusCollectorMockRecorder) SetSyncCondition(condition any) *gomock.Call

SetSyncCondition indicates an expected call of SetSyncCondition.

func (*MockSyncStatusCollectorMockRecorder) SetSyncStatus added in v0.3.7

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

SetSyncStatus indicates an expected call of SetSyncStatus.

func (*MockSyncStatusCollectorMockRecorder) Status added in v0.3.8

Status indicates an expected call of Status.

Jump to

Keyboard shortcuts

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