Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CENTOS_7 = "centos7" UBUNTU = "ubuntu" HardwareFunctionsSet = []string{"gpu", "nvram", "qat", "fpga"} )
Functions ¶
This section is empty.
Types ¶
type FPGASensorFake ¶
type FPGASensorFake struct { }
func (*FPGASensorFake) Desc ¶
func (fs *FPGASensorFake) Desc() (string, error)
func (*FPGASensorFake) Detail ¶
func (fs *FPGASensorFake) Detail() (string, error)
func (*FPGASensorFake) IsSupported ¶
func (fs *FPGASensorFake) IsSupported() (bool, error)
type FPGASensorLinux ¶
type FPGASensorLinux struct { }
func (*FPGASensorLinux) Desc ¶
func (fs *FPGASensorLinux) Desc() (string, error)
func (*FPGASensorLinux) Detail ¶
func (fs *FPGASensorLinux) Detail() (string, error)
func (*FPGASensorLinux) IsSupported ¶
func (fs *FPGASensorLinux) IsSupported() (bool, error)
type GpuSensorCentOS7 ¶
type GpuSensorCentOS7 struct { }
func (*GpuSensorCentOS7) Desc ¶
func (gs *GpuSensorCentOS7) Desc() (string, error)
func (*GpuSensorCentOS7) Detail ¶
func (gs *GpuSensorCentOS7) Detail() (string, error)
func (*GpuSensorCentOS7) IsSupported ¶
func (gs *GpuSensorCentOS7) IsSupported() (bool, error)
type GpuSensorFake ¶
type GpuSensorFake struct { }
func (*GpuSensorFake) Desc ¶
func (gs *GpuSensorFake) Desc() (string, error)
func (*GpuSensorFake) Detail ¶
func (gs *GpuSensorFake) Detail() (string, error)
func (*GpuSensorFake) IsSupported ¶
func (gs *GpuSensorFake) IsSupported() (bool, error)
type GpuSensorUbuntu ¶
type GpuSensorUbuntu struct { }
func (*GpuSensorUbuntu) Desc ¶
func (gs *GpuSensorUbuntu) Desc() (string, error)
func (*GpuSensorUbuntu) Detail ¶
func (gs *GpuSensorUbuntu) Detail() (string, error)
func (*GpuSensorUbuntu) IsSupported ¶
func (gs *GpuSensorUbuntu) IsSupported() (bool, error)
type NICBandwidthSensorCentOS7 ¶
type NICBandwidthSensorCentOS7 struct { }
func (*NICBandwidthSensorCentOS7) Desc ¶
func (gs *NICBandwidthSensorCentOS7) Desc() (string, error)
func (*NICBandwidthSensorCentOS7) Detail ¶
func (gs *NICBandwidthSensorCentOS7) Detail() (string, error)
func (*NICBandwidthSensorCentOS7) IsSupported ¶
func (gs *NICBandwidthSensorCentOS7) IsSupported() (bool, error)
type NICBandwidthSensorFake ¶
type NICBandwidthSensorFake struct { }
func (*NICBandwidthSensorFake) Desc ¶
func (gs *NICBandwidthSensorFake) Desc() (string, error)
func (*NICBandwidthSensorFake) Detail ¶
func (gs *NICBandwidthSensorFake) Detail() (string, error)
func (*NICBandwidthSensorFake) IsSupported ¶
func (gs *NICBandwidthSensorFake) IsSupported() (bool, error)
type NVRAMSensorCentOS7 ¶
type NVRAMSensorCentOS7 struct { }
func (*NVRAMSensorCentOS7) Desc ¶
func (ns *NVRAMSensorCentOS7) Desc() (string, error)
func (*NVRAMSensorCentOS7) Detail ¶
func (ns *NVRAMSensorCentOS7) Detail() (string, error)
func (*NVRAMSensorCentOS7) IsSupported ¶
func (ns *NVRAMSensorCentOS7) IsSupported() (bool, error)
type NVRAMSensorFake ¶
type NVRAMSensorFake struct { }
func (*NVRAMSensorFake) Desc ¶
func (ns *NVRAMSensorFake) Desc() (string, error)
func (*NVRAMSensorFake) Detail ¶
func (ns *NVRAMSensorFake) Detail() (string, error)
func (*NVRAMSensorFake) IsSupported ¶
func (ns *NVRAMSensorFake) IsSupported() (bool, error)
type QATSensorCentOS7 ¶
type QATSensorCentOS7 struct { }
func (*QATSensorCentOS7) Desc ¶
func (qs *QATSensorCentOS7) Desc() (string, error)
func (*QATSensorCentOS7) Detail ¶
func (qs *QATSensorCentOS7) Detail() (string, error)
func (*QATSensorCentOS7) IsSupported ¶
func (qs *QATSensorCentOS7) IsSupported() (bool, error)
type QATSensorFake ¶
type QATSensorFake struct { }
func (*QATSensorFake) Desc ¶
func (qs *QATSensorFake) Desc() (string, error)
func (*QATSensorFake) Detail ¶
func (qs *QATSensorFake) Detail() (string, error)
func (*QATSensorFake) IsSupported ¶
func (qs *QATSensorFake) IsSupported() (bool, error)
type Sensor ¶
type Sensor interface { IsSupported() (bool, error) Desc() (string, error) Detail() (string, error) }
func NewFPGASensor ¶
func NewFPGASensor() Sensor
func NewGpuSensor ¶
func NewGpuSensor() Sensor
func NewNICBandwidthSensor ¶
func NewNICBandwidthSensor() Sensor
func NewNVRAMSensor ¶
func NewNVRAMSensor() Sensor
func NewQATSensor ¶
func NewQATSensor() Sensor
Click to show internal directories.
Click to hide internal directories.