Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IComputerStorage ¶
IComputerStorage is an autogenerated mock type for the IComputerStorage type
func NewIComputerStorage ¶
func NewIComputerStorage(t interface { mock.TestingT Cleanup(func()) }) *IComputerStorage
NewIComputerStorage creates a new instance of IComputerStorage. 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 (*IComputerStorage) GetDiskData ¶
func (_m *IComputerStorage) GetDiskData() ([]entity.StorageDisk, error)
GetDiskData provides a mock function with given fields:
func (*IComputerStorage) SaveDiskData ¶
func (_m *IComputerStorage) SaveDiskData(diskInfo []entity.Disk) error
SaveDiskData provides a mock function with given fields: diskInfo
type IComputerUsecase ¶
IComputerUsecase is an autogenerated mock type for the IComputerUsecase type
func NewIComputerUsecase ¶
func NewIComputerUsecase(t interface { mock.TestingT Cleanup(func()) }) *IComputerUsecase
NewIComputerUsecase creates a new instance of IComputerUsecase. 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 (*IComputerUsecase) GetComputerInfo ¶
func (_m *IComputerUsecase) GetComputerInfo() (*entity.Computer, error)
GetComputerInfo provides a mock function with given fields:
func (*IComputerUsecase) GetDiskDataHistory ¶
func (_m *IComputerUsecase) GetDiskDataHistory() ([]entity.StorageDisk, error)
GetDiskDataHistory provides a mock function with given fields:
func (*IComputerUsecase) SaveDiskDataHistory ¶
func (_m *IComputerUsecase) SaveDiskDataHistory() error
SaveDiskDataHistory provides a mock function with given fields:
type IHostStorage ¶
IHostStorage is an autogenerated mock type for the IHostStorage type
func NewIHostStorage ¶
func NewIHostStorage(t interface { mock.TestingT Cleanup(func()) }) *IHostStorage
NewIHostStorage creates a new instance of IHostStorage. 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.