Documentation ¶
Index ¶
- func ReadFileContents(fileID, mimeType, name string, size int64) string
- type Indexer
- func NewFilesIndexer(client *elastic.Client, session *r.Session) *Indexer
- func NewMultiFileIndexer(client *elastic.Client, session *r.Session, fileIDs ...interface{}) *Indexer
- func NewMultiProcessIndexer(client *elastic.Client, session *r.Session, processIDs ...interface{}) *Indexer
- func NewMultiProjectIndexer(client *elastic.Client, session *r.Session, projectIDs ...interface{}) *Indexer
- func NewMultiSampleIndexer(client *elastic.Client, session *r.Session, sampleIDs ...interface{}) *Indexer
- func NewMultiUserIndexer(client *elastic.Client, session *r.Session, userIDs ...interface{}) *Indexer
- func NewProcessesIndexer(client *elastic.Client, session *r.Session) *Indexer
- func NewProjectsIndexer(client *elastic.Client, session *r.Session) *Indexer
- func NewSamplesIndexer(client *elastic.Client, session *r.Session) *Indexer
- func NewUsersIndexer(client *elastic.Client, session *r.Session) *Indexer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadFileContents ¶
Types ¶
type Indexer ¶
type Indexer struct { RQL r.Term GetID func(item interface{}) string Apply func(item interface{}) Client *elastic.Client Session *r.Session MaxCount int }
func NewFilesIndexer ¶
func NewMultiFileIndexer ¶
func NewMultiProcessIndexer ¶
func NewMultiProjectIndexer ¶
func NewMultiSampleIndexer ¶
func NewMultiUserIndexer ¶
func NewProcessesIndexer ¶
func NewProjectsIndexer ¶
func NewSamplesIndexer ¶
func NewUsersIndexer ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.