Documentation ¶
Index ¶
- type Feeds
- func (f *Feeds) GetActionLine(filters []string, startDate string, endDate string, timezone string, ...) (*util.ActionLine, error)
- func (f *Feeds) GetFeed(req *automate_feed.FeedRequest) ([]*util.FeedEntry, int64, error)
- func (f *Feeds) GetFeedSummary(countCategory string, filters []string, start time.Time, end time.Time) (*util.FeedSummary, error)
- func (f *Feeds) HandleEvent(req *api.EventMsg) (*api.EventResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Feeds ¶
type Feeds struct {
// contains filtered or unexported fields
}
func NewFeeds ¶
func NewFeeds(conn *relaxting.ES2Backend) *Feeds
func (*Feeds) GetActionLine ¶
func (f *Feeds) GetActionLine(filters []string, startDate string, endDate string, timezone string, interval int, action string) (*util.ActionLine, error)
interval = time span for which to collect activity entries in hours
func (*Feeds) GetFeed ¶
func (f *Feeds) GetFeed(req *automate_feed.FeedRequest) ([]*util.FeedEntry, int64, error)
func (*Feeds) GetFeedSummary ¶
func (*Feeds) HandleEvent ¶
Going forward, we'll need to maintain a map of event types to feed type(s). Since the only events we support currently map to the "event" feed type, we're hard-coding the feed type below.
Click to show internal directories.
Click to hide internal directories.