Documentation ¶
Index ¶
- func DeleteRange(fromKey string, endKey string) (deleted int64, err error)
- func EventPrefix() string
- func List(resType string, resName string, limit int64, sortTarget clientv3.SortTarget, ...) (list map[string]*event.Event, err error)
- func NodePrefix() string
- func PipelinePrefix() string
- func ScrollList(key string, n int64, sortTarget clientv3.SortTarget, ...) (list map[string]*event.Event, err error)
- func Update(e *event.Event) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteRange ¶
DeleteRange deletes events
func List ¶
func List(resType string, resName string, limit int64, sortTarget clientv3.SortTarget, sortOrder clientv3.SortOrder) (list map[string]*event.Event, err error)
List returns event list by resource type and resource name
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.