mocks

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2026 License: MIT 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 MockguestVPCI

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

MockguestVPCI is a mock of guestVPCI interface.

func NewMockguestVPCI

func NewMockguestVPCI(ctrl *gomock.Controller) *MockguestVPCI

NewMockguestVPCI creates a new mock instance.

func (*MockguestVPCI) AddVPCIDevice

func (m *MockguestVPCI) AddVPCIDevice(ctx context.Context, settings guestresource.LCOWMappedVPCIDevice) error

AddVPCIDevice mocks base method.

func (*MockguestVPCI) EXPECT

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

type MockguestVPCIMockRecorder

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

MockguestVPCIMockRecorder is the mock recorder for MockguestVPCI.

func (*MockguestVPCIMockRecorder) AddVPCIDevice

func (mr *MockguestVPCIMockRecorder) AddVPCIDevice(ctx, settings any) *gomock.Call

AddVPCIDevice indicates an expected call of AddVPCIDevice.

type MockvmVPCI

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

MockvmVPCI is a mock of vmVPCI interface.

func NewMockvmVPCI

func NewMockvmVPCI(ctrl *gomock.Controller) *MockvmVPCI

NewMockvmVPCI creates a new mock instance.

func (*MockvmVPCI) AddDevice

func (m *MockvmVPCI) AddDevice(ctx context.Context, vmbusGUID guid.GUID, settings hcsschema.VirtualPciDevice) error

AddDevice mocks base method.

func (*MockvmVPCI) EXPECT

func (m *MockvmVPCI) EXPECT() *MockvmVPCIMockRecorder

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

func (*MockvmVPCI) RemoveDevice

func (m *MockvmVPCI) RemoveDevice(ctx context.Context, vmbusGUID guid.GUID) error

RemoveDevice mocks base method.

type MockvmVPCIMockRecorder

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

MockvmVPCIMockRecorder is the mock recorder for MockvmVPCI.

func (*MockvmVPCIMockRecorder) AddDevice

func (mr *MockvmVPCIMockRecorder) AddDevice(ctx, vmbusGUID, settings any) *gomock.Call

AddDevice indicates an expected call of AddDevice.

func (*MockvmVPCIMockRecorder) RemoveDevice

func (mr *MockvmVPCIMockRecorder) RemoveDevice(ctx, vmbusGUID any) *gomock.Call

RemoveDevice indicates an expected call of RemoveDevice.

Jump to

Keyboard shortcuts

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