mocks

package
v0.69.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: Apache-2.0 Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 MockManager

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

MockManager is a mock of Manager interface.

func NewMockManager

func NewMockManager(ctrl *gomock.Controller) *MockManager

NewMockManager creates a new mock instance.

func (*MockManager) CheckAPIReadiness

func (m *MockManager) CheckAPIReadiness(ctx context.Context, deployment *v1.Deployment) bool

CheckAPIReadiness mocks base method.

func (*MockManager) EXPECT

func (m *MockManager) EXPECT() *MockManagerMockRecorder

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

func (*MockManager) GetAPIStatus added in v0.17.0

func (m *MockManager) GetAPIStatus(ctx context.Context, mcpRegistry *v1beta1.MCPRegistry) (bool, int32)

GetAPIStatus mocks base method.

func (*MockManager) GetReadyReplicas added in v0.17.0

func (m *MockManager) GetReadyReplicas(ctx context.Context, mcpRegistry *v1beta1.MCPRegistry) int32

GetReadyReplicas mocks base method.

func (*MockManager) IsAPIReady

func (m *MockManager) IsAPIReady(ctx context.Context, mcpRegistry *v1beta1.MCPRegistry) bool

IsAPIReady mocks base method.

func (*MockManager) ReconcileAPIService

func (m *MockManager) ReconcileAPIService(ctx context.Context, mcpRegistry *v1beta1.MCPRegistry) *registryapi.Error

ReconcileAPIService mocks base method.

type MockManagerMockRecorder

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

MockManagerMockRecorder is the mock recorder for MockManager.

func (*MockManagerMockRecorder) CheckAPIReadiness

func (mr *MockManagerMockRecorder) CheckAPIReadiness(ctx, deployment any) *gomock.Call

CheckAPIReadiness indicates an expected call of CheckAPIReadiness.

func (*MockManagerMockRecorder) GetAPIStatus added in v0.17.0

func (mr *MockManagerMockRecorder) GetAPIStatus(ctx, mcpRegistry any) *gomock.Call

GetAPIStatus indicates an expected call of GetAPIStatus.

func (*MockManagerMockRecorder) GetReadyReplicas added in v0.17.0

func (mr *MockManagerMockRecorder) GetReadyReplicas(ctx, mcpRegistry any) *gomock.Call

GetReadyReplicas indicates an expected call of GetReadyReplicas.

func (*MockManagerMockRecorder) IsAPIReady

func (mr *MockManagerMockRecorder) IsAPIReady(ctx, mcpRegistry any) *gomock.Call

IsAPIReady indicates an expected call of IsAPIReady.

func (*MockManagerMockRecorder) ReconcileAPIService

func (mr *MockManagerMockRecorder) ReconcileAPIService(ctx, mcpRegistry any) *gomock.Call

ReconcileAPIService indicates an expected call of ReconcileAPIService.

Jump to

Keyboard shortcuts

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