Versions in this module Expand all Collapse all v1 v1.19.0 Nov 6, 2024 Changes in this version + const GroupName + const Version + var AddToScheme = localSchemeBuilder.AddToScheme + var SchemeBuilder runtime.SchemeBuilder + var SchemeGroupVersion = schema.GroupVersion + func AddDeviceCrds(scheme *runtime.Scheme) error + func Resource(resource string) schema.GroupResource + type CustomizedValue struct + Data map[string]interface{} + func (in *CustomizedValue) DeepCopy() *CustomizedValue + func (in *CustomizedValue) DeepCopyInto(out *CustomizedValue) + func (in *CustomizedValue) MarshalJSON() ([]byte, error) + func (in *CustomizedValue) UnmarshalJSON(data []byte) error + type DBMethodConfig struct + Influxdb2 *DBMethodInfluxdb2 + Mysql *DBMethodMySQL + Redis *DBMethodRedis + TDEngine *DBMethodTDEngine + func (in *DBMethodConfig) DeepCopy() *DBMethodConfig + func (in *DBMethodConfig) DeepCopyInto(out *DBMethodConfig) + type DBMethodInfluxdb2 struct + Influxdb2ClientConfig *Influxdb2ClientConfig + Influxdb2DataConfig *Influxdb2DataConfig + func (in *DBMethodInfluxdb2) DeepCopy() *DBMethodInfluxdb2 + func (in *DBMethodInfluxdb2) DeepCopyInto(out *DBMethodInfluxdb2) + type DBMethodMySQL struct + MySQLClientConfig *MySQLClientConfig + func (in *DBMethodMySQL) DeepCopy() *DBMethodMySQL + func (in *DBMethodMySQL) DeepCopyInto(out *DBMethodMySQL) + type DBMethodRedis struct + RedisClientConfig *RedisClientConfig + func (in *DBMethodRedis) DeepCopy() *DBMethodRedis + func (in *DBMethodRedis) DeepCopyInto(out *DBMethodRedis) + type DBMethodTDEngine struct + TDEngineClientConfig *TDEngineClientConfig + func (in *DBMethodTDEngine) DeepCopy() *DBMethodTDEngine + func (in *DBMethodTDEngine) DeepCopyInto(out *DBMethodTDEngine) + type Device struct + Spec DeviceSpec + Status DeviceStatus + func (in *Device) DeepCopy() *Device + func (in *Device) DeepCopyInto(out *Device) + func (in *Device) DeepCopyObject() runtime.Object + type DeviceList struct + Items []Device + func (in *DeviceList) DeepCopy() *DeviceList + func (in *DeviceList) DeepCopyInto(out *DeviceList) + func (in *DeviceList) DeepCopyObject() runtime.Object + type DeviceMethod struct + Description string + Name string + PropertyNames []string + func (in *DeviceMethod) DeepCopy() *DeviceMethod + func (in *DeviceMethod) DeepCopyInto(out *DeviceMethod) + type DeviceModel struct + Spec DeviceModelSpec + func (in *DeviceModel) DeepCopy() *DeviceModel + func (in *DeviceModel) DeepCopyInto(out *DeviceModel) + func (in *DeviceModel) DeepCopyObject() runtime.Object + type DeviceModelList struct + Items []DeviceModel + func (in *DeviceModelList) DeepCopy() *DeviceModelList + func (in *DeviceModelList) DeepCopyInto(out *DeviceModelList) + func (in *DeviceModelList) DeepCopyObject() runtime.Object + type DeviceModelSpec struct + Properties []ModelProperty + Protocol string + func (in *DeviceModelSpec) DeepCopy() *DeviceModelSpec + func (in *DeviceModelSpec) DeepCopyInto(out *DeviceModelSpec) + type DeviceProperty struct + CollectCycle int64 + Desired TwinProperty + Name string + PushMethod *PushMethod + ReportCycle int64 + ReportToCloud bool + Visitors VisitorConfig + func (in *DeviceProperty) DeepCopy() *DeviceProperty + func (in *DeviceProperty) DeepCopyInto(out *DeviceProperty) + type DeviceSpec struct + DeviceModelRef *v1.LocalObjectReference + Methods []DeviceMethod + NodeName string + Properties []DeviceProperty + Protocol ProtocolConfig + func (in *DeviceSpec) DeepCopy() *DeviceSpec + func (in *DeviceSpec) DeepCopyInto(out *DeviceSpec) + type DeviceStatus struct + LastOnlineTime string + ReportCycle int64 + ReportToCloud bool + State string + Twins []Twin + func (in *DeviceStatus) DeepCopy() *DeviceStatus + func (in *DeviceStatus) DeepCopyInto(out *DeviceStatus) + type Influxdb2ClientConfig struct + Bucket string + Org string + URL string + func (in *Influxdb2ClientConfig) DeepCopy() *Influxdb2ClientConfig + func (in *Influxdb2ClientConfig) DeepCopyInto(out *Influxdb2ClientConfig) + type Influxdb2DataConfig struct + FieldKey string + Measurement string + Tag map[string]string + func (in *Influxdb2DataConfig) DeepCopy() *Influxdb2DataConfig + func (in *Influxdb2DataConfig) DeepCopyInto(out *Influxdb2DataConfig) + type ModelProperty struct + AccessMode PropertyAccessMode + Description string + Maximum string + Minimum string + Name string + Type PropertyType + Unit string + func (in *ModelProperty) DeepCopy() *ModelProperty + func (in *ModelProperty) DeepCopyInto(out *ModelProperty) + type MySQLClientConfig struct + Addr string + Database string + UserName string + func (in *MySQLClientConfig) DeepCopy() *MySQLClientConfig + func (in *MySQLClientConfig) DeepCopyInto(out *MySQLClientConfig) + type PropertyAccessMode string + const ReadOnly + const ReadWrite + type PropertyType string + const BOOLEAN + const BYTES + const DOUBLE + const FLOAT + const INT + const STREAM + const STRING + type ProtocolConfig struct + ConfigData *CustomizedValue + ProtocolName string + func (in *ProtocolConfig) DeepCopy() *ProtocolConfig + func (in *ProtocolConfig) DeepCopyInto(out *ProtocolConfig) + type PushMethod struct + DBMethod *DBMethodConfig + HTTP *PushMethodHTTP + MQTT *PushMethodMQTT + OTEL *PushMethodOTEL + func (in *PushMethod) DeepCopy() *PushMethod + func (in *PushMethod) DeepCopyInto(out *PushMethod) + type PushMethodHTTP struct + HostName string + Port int64 + RequestPath string + Timeout int64 + func (in *PushMethodHTTP) DeepCopy() *PushMethodHTTP + func (in *PushMethodHTTP) DeepCopyInto(out *PushMethodHTTP) + type PushMethodMQTT struct + Address string + QoS int32 + Retained bool + Topic string + func (in *PushMethodMQTT) DeepCopy() *PushMethodMQTT + func (in *PushMethodMQTT) DeepCopyInto(out *PushMethodMQTT) + type PushMethodOTEL struct + EndpointURL string + func (in *PushMethodOTEL) DeepCopy() *PushMethodOTEL + func (in *PushMethodOTEL) DeepCopyInto(out *PushMethodOTEL) + type RedisClientConfig struct + Addr string + DB int + MinIdleConns int + Poolsize int + func (in *RedisClientConfig) DeepCopy() *RedisClientConfig + func (in *RedisClientConfig) DeepCopyInto(out *RedisClientConfig) + type TDEngineClientConfig struct + Addr string + DBName string + func (in *TDEngineClientConfig) DeepCopy() *TDEngineClientConfig + func (in *TDEngineClientConfig) DeepCopyInto(out *TDEngineClientConfig) + type Twin struct + ObservedDesired TwinProperty + PropertyName string + Reported TwinProperty + func (in *Twin) DeepCopy() *Twin + func (in *Twin) DeepCopyInto(out *Twin) + type TwinProperty struct + Metadata map[string]string + Value string + func (in *TwinProperty) DeepCopy() *TwinProperty + func (in *TwinProperty) DeepCopyInto(out *TwinProperty) + type VisitorConfig struct + ConfigData *CustomizedValue + ProtocolName string + func (in *VisitorConfig) DeepCopy() *VisitorConfig + func (in *VisitorConfig) DeepCopyInto(out *VisitorConfig)