Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudEventFilter ¶
type CloudEventFilter struct {
ID *string `json:"id,omitempty"`
Type *string `json:"type,omitempty"`
// List of event types to match (OR semantics). Combined with `type` if both are set.
Types []string `json:"types,omitempty"`
Dataversion *string `json:"dataversion,omitempty"`
Source *string `json:"source,omitempty"`
Producer *string `json:"producer,omitempty"`
Before *time.Time `json:"before,omitempty"`
After *time.Time `json:"after,omitempty"`
}
Filter for cloud event queries.
type CloudEventIndex ¶
type CloudEventIndex struct {
Header *cloudevent.CloudEventHeader `json:"header"`
IndexKey string `json:"indexKey"`
}
Cloud event index entry: typed header + storage key.
type CloudEventTypeSummary ¶ added in v0.1.3
type CloudEventTypeSummary struct {
// Cloud event type string (e.g. "dimo.status").
Type string `json:"type"`
// Number of cloud events of this type.
Count int `json:"count"`
// Earliest event timestamp.
FirstSeen time.Time `json:"firstSeen"`
// Latest event timestamp.
LastSeen time.Time `json:"lastSeen"`
}
Summary of a single cloud event type for a subject.
Click to show internal directories.
Click to hide internal directories.