hardware

package
v0.0.0-...-73e0568 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package hardware is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMutableHardwareInfoDelta

func GetMutableHardwareInfoDelta(hardwareMutableInfoPrevious models.HardwareInfo, hardwareMutableInfoNew models.HardwareInfo) *models.HardwareInfo

Types

type Hardware

type Hardware interface {
	GetHardwareInformation() (*models.HardwareInfo, error)
	GetHardwareImmutableInformation(hardwareInfo *models.HardwareInfo) error
	CreateHardwareMutableInformation() (*models.HardwareInfo, error)
	GetMutableHardwareInfoDelta(hardwareMutableInfoPrevious models.HardwareInfo, hardwareMutableInfoNew models.HardwareInfo) *models.HardwareInfo
}

type HardwareInfo

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

func (*HardwareInfo) CreateHardwareMutableInformation

func (s *HardwareInfo) CreateHardwareMutableInformation() (*models.HardwareInfo, error)

func (*HardwareInfo) GetHardwareImmutableInformation

func (s *HardwareInfo) GetHardwareImmutableInformation(hardwareInfo *models.HardwareInfo) error

func (*HardwareInfo) GetHardwareInformation

func (s *HardwareInfo) GetHardwareInformation() (*models.HardwareInfo, error)

func (*HardwareInfo) GetMutableHardwareInfoDelta

func (s *HardwareInfo) GetMutableHardwareInfoDelta(hardwareMutableInfoPrevious models.HardwareInfo, hardwareMutableInfoNew models.HardwareInfo) *models.HardwareInfo

func (*HardwareInfo) Init

func (s *HardwareInfo) Init(dep util.IDependencies)

type MockHardware

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

MockHardware is a mock of Hardware interface.

func NewMockHardware

func NewMockHardware(ctrl *gomock.Controller) *MockHardware

NewMockHardware creates a new mock instance.

func (*MockHardware) CreateHardwareMutableInformation

func (m *MockHardware) CreateHardwareMutableInformation() (*models.HardwareInfo, error)

CreateHardwareMutableInformation mocks base method.

func (*MockHardware) EXPECT

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

func (*MockHardware) GetHardwareImmutableInformation

func (m *MockHardware) GetHardwareImmutableInformation(arg0 *models.HardwareInfo) error

GetHardwareImmutableInformation mocks base method.

func (*MockHardware) GetHardwareInformation

func (m *MockHardware) GetHardwareInformation() (*models.HardwareInfo, error)

GetHardwareInformation mocks base method.

func (*MockHardware) GetMutableHardwareInfoDelta

func (m *MockHardware) GetMutableHardwareInfoDelta(arg0, arg1 models.HardwareInfo) *models.HardwareInfo

GetMutableHardwareInfoDelta mocks base method.

type MockHardwareMockRecorder

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

MockHardwareMockRecorder is the mock recorder for MockHardware.

func (*MockHardwareMockRecorder) CreateHardwareMutableInformation

func (mr *MockHardwareMockRecorder) CreateHardwareMutableInformation() *gomock.Call

CreateHardwareMutableInformation indicates an expected call of CreateHardwareMutableInformation.

func (*MockHardwareMockRecorder) GetHardwareImmutableInformation

func (mr *MockHardwareMockRecorder) GetHardwareImmutableInformation(arg0 interface{}) *gomock.Call

GetHardwareImmutableInformation indicates an expected call of GetHardwareImmutableInformation.

func (*MockHardwareMockRecorder) GetHardwareInformation

func (mr *MockHardwareMockRecorder) GetHardwareInformation() *gomock.Call

GetHardwareInformation indicates an expected call of GetHardwareInformation.

func (*MockHardwareMockRecorder) GetMutableHardwareInfoDelta

func (mr *MockHardwareMockRecorder) GetMutableHardwareInfoDelta(arg0, arg1 interface{}) *gomock.Call

GetMutableHardwareInfoDelta indicates an expected call of GetMutableHardwareInfoDelta.

Jump to

Keyboard shortcuts

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