mocks

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2026 License: Apache-2.0 Imports: 5 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 MockDiscoverer

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

MockDiscoverer is a mock of Discoverer interface.

func NewMockDiscoverer

func NewMockDiscoverer(ctrl *gomock.Controller) *MockDiscoverer

NewMockDiscoverer creates a new mock instance.

func (*MockDiscoverer) EXPECT

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

func (*MockDiscoverer) GetWorkloadAsVMCPBackend

func (m *MockDiscoverer) GetWorkloadAsVMCPBackend(ctx context.Context, workload workloads.TypedWorkload) (*vmcp.Backend, error)

GetWorkloadAsVMCPBackend mocks base method.

func (*MockDiscoverer) ListWorkloadsInGroup

func (m *MockDiscoverer) ListWorkloadsInGroup(ctx context.Context, groupName string) ([]workloads.TypedWorkload, error)

ListWorkloadsInGroup mocks base method.

type MockDiscovererMockRecorder

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

MockDiscovererMockRecorder is the mock recorder for MockDiscoverer.

func (*MockDiscovererMockRecorder) GetWorkloadAsVMCPBackend

func (mr *MockDiscovererMockRecorder) GetWorkloadAsVMCPBackend(ctx, workload any) *gomock.Call

GetWorkloadAsVMCPBackend indicates an expected call of GetWorkloadAsVMCPBackend.

func (*MockDiscovererMockRecorder) ListWorkloadsInGroup

func (mr *MockDiscovererMockRecorder) ListWorkloadsInGroup(ctx, groupName any) *gomock.Call

ListWorkloadsInGroup indicates an expected call of ListWorkloadsInGroup.

Jump to

Keyboard shortcuts

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