Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultUUID = "00000000-0000-0000-0000-000000000000" VmwareDefaultSerial = "None" )
Variables ¶
This section is empty.
Functions ¶
func ReadId ¶
func ReadId(d SerialDiscovery) *strfmt.UUID
Types ¶
type GHWSerialDiscovery ¶
type GHWSerialDiscovery struct{}
func NewGHWSerialDiscovery ¶
func NewGHWSerialDiscovery() *GHWSerialDiscovery
func (*GHWSerialDiscovery) Baseboard ¶
func (g *GHWSerialDiscovery) Baseboard(opts ...*ghw.WithOption) (*ghw.BaseboardInfo, error)
func (*GHWSerialDiscovery) Product ¶
func (g *GHWSerialDiscovery) Product(opts ...*ghw.WithOption) (*ghw.ProductInfo, error)
type MockSerialDiscovery ¶
MockSerialDiscovery is an autogenerated mock type for the SerialDiscovery type
func (*MockSerialDiscovery) Baseboard ¶
func (_m *MockSerialDiscovery) Baseboard(opts ...*ghw.WithOption) (*ghw.BaseboardInfo, error)
Baseboard provides a mock function with given fields: opts
func (*MockSerialDiscovery) Product ¶
func (_m *MockSerialDiscovery) Product(opts ...*ghw.WithOption) (*ghw.ProductInfo, error)
Product provides a mock function with given fields: opts
type SerialDiscovery ¶
type SerialDiscovery interface { Product(opts ...*ghw.WithOption) (*ghw.ProductInfo, error) Baseboard(opts ...*ghw.WithOption) (*ghw.BaseboardInfo, error) }
Click to show internal directories.
Click to hide internal directories.