mock_resourcereservation

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_resourcereservation is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockInterface

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

MockInterface is a mock of Interface interface.

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance.

func (*MockInterface) EXPECT

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

func (*MockInterface) RemovePodGpuGroupsConnection added in v0.9.12

func (m *MockInterface) RemovePodGpuGroupsConnection(ctx context.Context, pod *v1.Pod) error

RemovePodGpuGroupsConnection mocks base method.

func (*MockInterface) ReserveGpuDevice

func (m *MockInterface) ReserveGpuDevice(ctx context.Context, pod *v1.Pod, nodeName, gpuGroup string) (string, error)

ReserveGpuDevice mocks base method.

func (*MockInterface) Sync

func (m *MockInterface) Sync(ctx context.Context) error

Sync mocks base method.

func (*MockInterface) SyncForGpuGroup

func (m *MockInterface) SyncForGpuGroup(ctx context.Context, gpuGroup string) error

SyncForGpuGroup mocks base method.

func (*MockInterface) SyncForNode

func (m *MockInterface) SyncForNode(ctx context.Context, nodeName string) error

SyncForNode mocks base method.

type MockInterfaceMockRecorder

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

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) RemovePodGpuGroupsConnection added in v0.9.12

func (mr *MockInterfaceMockRecorder) RemovePodGpuGroupsConnection(ctx, pod any) *gomock.Call

RemovePodGpuGroupsConnection indicates an expected call of RemovePodGpuGroupsConnection.

func (*MockInterfaceMockRecorder) ReserveGpuDevice

func (mr *MockInterfaceMockRecorder) ReserveGpuDevice(ctx, pod, nodeName, gpuGroup any) *gomock.Call

ReserveGpuDevice indicates an expected call of ReserveGpuDevice.

func (*MockInterfaceMockRecorder) Sync

func (mr *MockInterfaceMockRecorder) Sync(ctx any) *gomock.Call

Sync indicates an expected call of Sync.

func (*MockInterfaceMockRecorder) SyncForGpuGroup

func (mr *MockInterfaceMockRecorder) SyncForGpuGroup(ctx, gpuGroup any) *gomock.Call

SyncForGpuGroup indicates an expected call of SyncForGpuGroup.

func (*MockInterfaceMockRecorder) SyncForNode

func (mr *MockInterfaceMockRecorder) SyncForNode(ctx, nodeName any) *gomock.Call

SyncForNode indicates an expected call of SyncForNode.

Jump to

Keyboard shortcuts

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