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 ¶ added in v1.0.6
type GHWSerialDiscovery struct{}
func (*GHWSerialDiscovery) Baseboard ¶ added in v1.0.6
func (g *GHWSerialDiscovery) Baseboard(opts ...*ghw.WithOption) (*ghw.BaseboardInfo, error)
func (*GHWSerialDiscovery) Product ¶ added in v1.0.6
func (g *GHWSerialDiscovery) Product(opts ...*ghw.WithOption) (*ghw.ProductInfo, error)
type MockSerialDiscovery ¶ added in v1.0.6
MockSerialDiscovery is an autogenerated mock type for the SerialDiscovery type
func (*MockSerialDiscovery) Baseboard ¶ added in v1.0.6
func (_m *MockSerialDiscovery) Baseboard(opts ...*ghw.WithOption) (*ghw.BaseboardInfo, error)
Baseboard provides a mock function with given fields: opts
func (*MockSerialDiscovery) Product ¶ added in v1.0.6
func (_m *MockSerialDiscovery) Product(opts ...*ghw.WithOption) (*ghw.ProductInfo, error)
Product provides a mock function with given fields: opts
type SerialDiscovery ¶ added in v1.0.6
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.