Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Index ¶
type Index struct {
// contains filtered or unexported fields
}
Index represents Index for Bleve.Index type
func NewSearchIndex ¶
NewSearchIndex return new Index object
func (*Index) SearchTriggers ¶
func (index *Index) SearchTriggers(filterTags []string, searchString string, onlyErrors bool, page int64, size int64) (searchResults []*moira.SearchResult, total int64, err error)
SearchTriggers search for triggers in index and returns slice of trigger IDs
type TriggerIndex ¶
type TriggerIndex interface {
Search(filterTags []string, searchString string, onlyErrors bool, page int64, size int64) (searchResults []*moira.SearchResult, total int64, err error)
Write(checks []*moira.TriggerCheck) error
Delete(triggerIDs []string) error
GetCount() (int64, error)
}
TriggerIndex is index for moira.TriggerChecks type
Source Files
¶
Click to show internal directories.
Click to hide internal directories.