Versions in this module Expand all Collapse all v4 v4.0.0 Nov 21, 2024 Changes in this version + const Acknowledged + const Critical + const DebugLog + const Down + const Email + const ErrorLog + const Escalated + const EscalatedContentNotice + const EscalationPrefix + const EscalationSubscriptionName + const Failed + const Halt + const InfoLog + const Locked + const Minor + const Missed + const New + const Normal + const Processed + const RESENDING + const Rest + const Sent + const Succeeded + const TraceLog + const Unknown + const Unlocked + const Up + const WarnLog + type Address interface + GetBaseAddress func() BaseAddress + type AdminState string + func AssignAdminState(dtoAdminState string) AdminState + type AutoEvent struct + Interval string + OnChange bool + OnChangeThreshold float64 + SourceName string + type BaseAddress struct + Host string + Port int + Scheme string + Type string + type BaseReading struct + DeviceName string + Id string + Origin int64 + ProfileName string + ResourceName string + Tags map[string]any + Units string + ValueType string + type BaseScheduleAction struct + ContentType string + Id string + Payload []byte + Type ScheduleActionType + type BaseScheduleDef struct + EndTimestamp int64 + StartTimestamp int64 + Type ScheduleDefType + type BinaryReading struct + BinaryValue []byte + MediaType string + func (b BinaryReading) GetBaseReading() BaseReading + type ChannelType string + type CronScheduleDef struct + Crontab string + func (c CronScheduleDef) GetBaseScheduleDef() BaseScheduleDef + type DBTimestamp struct + Created int64 + Modified int64 + type Device struct + AdminState AdminState + AutoEvents []AutoEvent + Description string + Id string + Labels []string + Location interface{} + Name string + OperatingState OperatingState + Parent string + ProfileName string + Properties map[string]any + Protocols map[string]ProtocolProperties + ServiceName string + Tags map[string]any + type DeviceCommand struct + IsHidden bool + Name string + ReadWrite string + ResourceOperations []ResourceOperation + Tags map[string]any + type DeviceControlAction struct + DeviceName string + SourceName string + func (d DeviceControlAction) GetBaseScheduleAction() BaseScheduleAction + func (d DeviceControlAction) WithEmptyPayloadAndId() ScheduleAction + func (d DeviceControlAction) WithId(id string) ScheduleAction + type DeviceProfile struct + ApiVersion string + Description string + DeviceCommands []DeviceCommand + DeviceResources []DeviceResource + Id string + Labels []string + Manufacturer string + Model string + Name string + type DeviceResource struct + Attributes map[string]interface{} + Description string + IsHidden bool + Name string + Properties ResourceProperties + Tags map[string]any + type DeviceService struct + AdminState AdminState + BaseAddress string + Description string + Id string + Labels []string + Name string + Properties map[string]any + type DiscoveredDevice struct + AdminState AdminState + AutoEvents []AutoEvent + ProfileName string + Properties map[string]any + type EdgeXMessageBusAction struct + Topic string + func (m EdgeXMessageBusAction) GetBaseScheduleAction() BaseScheduleAction + func (m EdgeXMessageBusAction) WithEmptyPayloadAndId() ScheduleAction + func (m EdgeXMessageBusAction) WithId(id string) ScheduleAction + type EmailAddress struct + Recipients []string + func (a EmailAddress) GetBaseAddress() BaseAddress + type Event struct + DeviceName string + Id string + Origin int64 + ProfileName string + Readings []Reading + SourceName string + Tags map[string]interface{} + type HealthCheck struct + Interval string + Path string + Type string + type IntervalScheduleDef struct + Interval string + func (d IntervalScheduleDef) GetBaseScheduleDef() BaseScheduleDef + type KVResponse interface + SetKey func(string) + type KVS struct + Key string + func (kv *KVS) SetKey(newKey string) + type KeyOnly string + func (key *KeyOnly) SetKey(newKey string) + type LogEntry struct + Args []interface{} + Created int64 + Level string + Message string + OriginService string + func (le *LogEntry) UnmarshalJSON(data []byte) error + func (le LogEntry) Validate() (bool, errors.EdgeX) + type MQTTPubAddress struct + AutoReconnect bool + ConnectTimeout int + KeepAlive int + Publisher string + QoS int + Retained bool + func (a MQTTPubAddress) GetBaseAddress() BaseAddress + type MessageBus struct + Topic string + type Notification struct + Acknowledged bool + Category string + Content string + ContentType string + Description string + Id string + Labels []string + Sender string + Severity NotificationSeverity + Status NotificationStatus + type NotificationSeverity string + type NotificationStatus string + type NullReading struct + Value any + func NewNullReading(b BaseReading) NullReading + func (n NullReading) GetBaseReading() BaseReading + type ObjectReading struct + ObjectValue any + func (o ObjectReading) GetBaseReading() BaseReading + type OperatingState string + type ProtocolProperties map[string]any + type ProvisionWatcher struct + AdminState AdminState + BlockingIdentifiers map[string][]string + DiscoveredDevice DiscoveredDevice + Id string + Identifiers map[string]string + Labels []string + Name string + ServiceName string + type RESTAction struct + Address string + InjectEdgeXAuth bool + Method string + func (r RESTAction) GetBaseScheduleAction() BaseScheduleAction + func (r RESTAction) WithEmptyPayloadAndId() ScheduleAction + func (r RESTAction) WithId(id string) ScheduleAction + type RESTAddress struct + HTTPMethod string + InjectEdgeXAuth bool + Path string + func (a RESTAddress) GetBaseAddress() BaseAddress + type Reading interface + GetBaseReading func() BaseReading + type Registration struct + HealthCheck HealthCheck + Host string + Port int + ServiceId string + Status string + type ResourceOperation struct + DefaultValue string + DeviceResource string + Mappings map[string]string + type ResourceProperties struct + Assertion string + Base *float64 + DefaultValue string + Mask *uint64 + Maximum *float64 + MediaType string + Minimum *float64 + Offset *float64 + Optional map[string]any + ReadWrite string + Scale *float64 + Shift *int64 + Units string + ValueType string + type ScheduleAction interface + GetBaseScheduleAction func() BaseScheduleAction + WithEmptyPayloadAndId func() ScheduleAction + WithId func(id string) ScheduleAction + func UnmarshalScheduleAction(b []byte) (action ScheduleAction, err error) + type ScheduleActionRecord struct + Action ScheduleAction + Created int64 + Id string + JobName string + ScheduledAt int64 + Status ScheduleActionRecordStatus + func (scheduleActionRecord *ScheduleActionRecord) UnmarshalJSON(b []byte) error + type ScheduleActionRecordStatus string + type ScheduleActionType string + type ScheduleDef interface + GetBaseScheduleDef func() BaseScheduleDef + type ScheduleDefType string + type ScheduleJob struct + Actions []ScheduleAction + AdminState AdminState + AutoTriggerMissedRecords bool + Definition ScheduleDef + Id string + Labels []string + Name string + Properties map[string]any + func (scheduleJob *ScheduleJob) UnmarshalJSON(b []byte) error + type Security struct + AuthMode string + SecretPath string + SkipCertVerify bool + type SimpleReading struct + Value string + func (s SimpleReading) GetBaseReading() BaseReading + type StoredData struct + Value interface{} + type Subscription struct + AdminState AdminState + Categories []string + Channels []Address + Description string + Id string + Labels []string + Name string + Receiver string + ResendInterval string + ResendLimit int + func (subscription *Subscription) UnmarshalJSON(b []byte) error + type Transmission struct + Channel Address + Created int64 + Id string + NotificationId string + Records []TransmissionRecord + ResendCount int + Status TransmissionStatus + SubscriptionName string + func NewTransmission(subscriptionName string, channel Address, notificationId string) Transmission + func (trans *Transmission) UnmarshalJSON(b []byte) error + type TransmissionRecord struct + Response string + Sent int64 + Status TransmissionStatus + type TransmissionStatus string + type ZeroMQAddress struct + func (a ZeroMQAddress) GetBaseAddress() BaseAddress v4.0.0-1 Dec 19, 2024 Other modules containing this package git.buildlinx.io/buildlinx/edgelinx/go-libs/go-mod-core-contracts/v3