Versions in this module Expand all Collapse all v0 v0.8.1 Sep 16, 2021 Changes in this version + var AddressFromString = pciaddr.FromString + type Address pciaddr.Address + type Device struct + Address string + Class *pcidb.Class + Driver string + Node *topology.Node + Product *pcidb.Product + ProgrammingInterface *pcidb.ProgrammingInterface + Revision string + Subclass *pcidb.Subclass + Subsystem *pcidb.Product + Vendor *pcidb.Vendor + func (d *Device) MarshalJSON() ([]byte, error) + func (d *Device) String() string + type Info struct + Classes map[string]*pcidb.Class + Devices []*Device + Products map[string]*pcidb.Product + Vendors map[string]*pcidb.Vendor + func New(opts ...*option.Option) (*Info, error) + func NewWithContext(ctx *context.Context) (*Info, error) + func (i *Info) JSONString(indent bool) string + func (i *Info) String() string + func (i *Info) YAMLString() string + func (info *Info) GetDevice(address string) *Device + func (info *Info) ListDevices() []*Device + func (info *Info) ParseDevice(address, modalias string) *Device