m_inventory

package
v1.3.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockInfrastructureProvider

type MockInfrastructureProvider struct {
	mock.Mock
}

MockInfrastructureProvider is an autogenerated mock type for the InfrastructureProvider type

func NewMockInfrastructureProvider

func NewMockInfrastructureProvider(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockInfrastructureProvider

NewMockInfrastructureProvider creates a new instance of MockInfrastructureProvider. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockInfrastructureProvider) AddInstanceToWorkload

AddInstanceToWorkload provides a mock function with given fields: in

func (*MockInfrastructureProvider) CreateWorkload

CreateWorkload provides a mock function with given fields: in

func (*MockInfrastructureProvider) DeleteInstanceFromWorkload

DeleteInstanceFromWorkload provides a mock function with given fields: in

func (*MockInfrastructureProvider) DeleteWorkload

DeleteWorkload provides a mock function with given fields: in

func (*MockInfrastructureProvider) EXPECT

func (*MockInfrastructureProvider) GetInstanceByMachineId

GetInstanceByMachineId provides a mock function with given fields: in

func (*MockInfrastructureProvider) GetWorkload

GetWorkload provides a mock function with given fields: in

type MockInfrastructureProvider_AddInstanceToWorkload_Call

type MockInfrastructureProvider_AddInstanceToWorkload_Call struct {
	*mock.Call
}

MockInfrastructureProvider_AddInstanceToWorkload_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddInstanceToWorkload'

func (*MockInfrastructureProvider_AddInstanceToWorkload_Call) Run

type MockInfrastructureProvider_CreateWorkload_Call

type MockInfrastructureProvider_CreateWorkload_Call struct {
	*mock.Call
}

MockInfrastructureProvider_CreateWorkload_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateWorkload'

func (*MockInfrastructureProvider_CreateWorkload_Call) Return

func (*MockInfrastructureProvider_CreateWorkload_Call) Run

type MockInfrastructureProvider_DeleteInstanceFromWorkload_Call

type MockInfrastructureProvider_DeleteInstanceFromWorkload_Call struct {
	*mock.Call
}

MockInfrastructureProvider_DeleteInstanceFromWorkload_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteInstanceFromWorkload'

type MockInfrastructureProvider_DeleteWorkload_Call

type MockInfrastructureProvider_DeleteWorkload_Call struct {
	*mock.Call
}

MockInfrastructureProvider_DeleteWorkload_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteWorkload'

func (*MockInfrastructureProvider_DeleteWorkload_Call) Return

func (*MockInfrastructureProvider_DeleteWorkload_Call) Run

type MockInfrastructureProvider_Expecter

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

func (*MockInfrastructureProvider_Expecter) AddInstanceToWorkload

AddInstanceToWorkload is a helper method to define mock.On call

  • in inventory.AddInstanceToWorkloadInput

func (*MockInfrastructureProvider_Expecter) CreateWorkload

CreateWorkload is a helper method to define mock.On call

  • in inventory.CreateWorkloadInput

func (*MockInfrastructureProvider_Expecter) DeleteInstanceFromWorkload

DeleteInstanceFromWorkload is a helper method to define mock.On call

  • in inventory.DeleteInstanceFromWorkloadInput

func (*MockInfrastructureProvider_Expecter) DeleteWorkload

DeleteWorkload is a helper method to define mock.On call

  • in inventory.DeleteWorkloadInput

func (*MockInfrastructureProvider_Expecter) GetInstanceByMachineId

GetInstanceByMachineId is a helper method to define mock.On call

  • in inventory.GetInstanceByMachineIdInput

func (*MockInfrastructureProvider_Expecter) GetWorkload

GetWorkload is a helper method to define mock.On call

  • in inventory.GetWorkloadInput

type MockInfrastructureProvider_GetInstanceByMachineId_Call

type MockInfrastructureProvider_GetInstanceByMachineId_Call struct {
	*mock.Call
}

MockInfrastructureProvider_GetInstanceByMachineId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetInstanceByMachineId'

func (*MockInfrastructureProvider_GetInstanceByMachineId_Call) Run

type MockInfrastructureProvider_GetWorkload_Call

type MockInfrastructureProvider_GetWorkload_Call struct {
	*mock.Call
}

MockInfrastructureProvider_GetWorkload_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetWorkload'

func (*MockInfrastructureProvider_GetWorkload_Call) Return

func (*MockInfrastructureProvider_GetWorkload_Call) Run

Jump to

Keyboard shortcuts

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