scanners

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

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

type MockSerialDiscovery struct {
	mock.Mock
}

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)
}

Jump to

Keyboard shortcuts

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