Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Location string `yaml:"location"` SampleConfigs []ConfigSample `yaml:"sampleConfigs"` }
type ConfigSample ¶
type ConfigSample struct { // default jarvis config for sample EntityType contractsv1.EntityType `yaml:"entityType"` EntityName string `yaml:"entityName"` SampleType contractsv1.SampleType `yaml:"sampleType"` SampleName string `yaml:"sampleName"` MetricType contractsv1.MetricType `yaml:"metricType"` // modbus specific config for sample ValueMultiplier float64 `yaml:"valueMultiplier"` Prefix string `yaml:"prefix"` ValueStartIndex int `yaml:"valueStartIndex"` ValueLength int `yaml:"valueLength"` }
Click to show internal directories.
Click to hide internal directories.