Documentation
¶
Index ¶
- Constants
- Variables
- func NewSensor(ctx context.Context, deps resource.Dependencies, conf resource.Config, ...) (sensor.Sensor, error)
- type ComponentConfig
- type Config
- func (c *Config) Close(ctx context.Context) error
- func (c *Config) Readings(ctx context.Context, extra map[string]interface{}) (map[string]interface{}, error)
- func (c *Config) Ready(ctx context.Context, extra map[string]interface{}) (bool, error)
- func (c *Config) Reconfigure(ctx context.Context, _ resource.Dependencies, conf resource.Config) error
Constants ¶
View Source
const ( Undervolt = "undervolt" ArmFrequencyCapped = "armFrequencyCapped" CurrentlyThrottled = "currentlyThrottled" SoftTempLimitActive = "softTempLimitActive" UnderVoltOccurred = "undervoltOccurred" ArmFrequencyCapOccurred = "armFrequencyCapOccurred" ThrottlingOccurred = "throttlingOccurred" SoftTempLimitOccurred = "softTempLimitOccurred" )
Variables ¶
Functions ¶
Types ¶
type ComponentConfig ¶
type ComponentConfig struct { }
Click to show internal directories.
Click to hide internal directories.