Documentation
¶
Overview ¶
Package hardware is a generated GoMock package.
Index ¶
- func GetMutableHardwareInfoDelta(hardwareMutableInfoPrevious models.HardwareInfo, ...) *models.HardwareInfo
- type Hardware
- type HardwareInfo
- func (s *HardwareInfo) CreateHardwareMutableInformation() (*models.HardwareInfo, error)
- func (s *HardwareInfo) GetHardwareImmutableInformation(hardwareInfo *models.HardwareInfo) error
- func (s *HardwareInfo) GetHardwareInformation() (*models.HardwareInfo, error)
- func (s *HardwareInfo) GetMutableHardwareInfoDelta(hardwareMutableInfoPrevious models.HardwareInfo, ...) *models.HardwareInfo
- func (s *HardwareInfo) Init(dep util.IDependencies)
- type MockHardware
- func (m *MockHardware) CreateHardwareMutableInformation() (*models.HardwareInfo, error)
- func (m *MockHardware) EXPECT() *MockHardwareMockRecorder
- func (m *MockHardware) GetHardwareImmutableInformation(arg0 *models.HardwareInfo) error
- func (m *MockHardware) GetHardwareInformation() (*models.HardwareInfo, error)
- func (m *MockHardware) GetMutableHardwareInfoDelta(arg0, arg1 models.HardwareInfo) *models.HardwareInfo
- type MockHardwareMockRecorder
- func (mr *MockHardwareMockRecorder) CreateHardwareMutableInformation() *gomock.Call
- func (mr *MockHardwareMockRecorder) GetHardwareImmutableInformation(arg0 interface{}) *gomock.Call
- func (mr *MockHardwareMockRecorder) GetHardwareInformation() *gomock.Call
- func (mr *MockHardwareMockRecorder) GetMutableHardwareInfoDelta(arg0, arg1 interface{}) *gomock.Call
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 ¶
func (m *MockHardware) EXPECT() *MockHardwareMockRecorder
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.