Documentation
¶
Index ¶
- func ConvertHitsToCSV(hits []reader.Hit, columns []string, columnsLabel []string, ...) ([]byte, error)
- func CreatePasswordProtectedZipFile(zipFileName string, contents []byte) ([]byte, error)
- func ExportFactHits(ti time.Time, f engine.Fact, placeholders map[string]string, nhit int, ...) ([]reader.Hit, error)
- func ExportFactHitsFull(f engine.Fact) ([]reader.Hit, error)
- func ExportFactHitsFullV6(f engine.Fact) ([]reader.Hit, error)
- func ExportFactHitsFullV8(f engine.Fact) ([]reader.Hit, error)
- func ExportFactHitsV6(ti time.Time, f engine.Fact, placeholders map[string]string, nhit int, ...) ([]reader.Hit, error)
- func ExportFactHitsV8(ti time.Time, f engine.Fact, placeholders map[string]string, nhit int, ...) ([]reader.Hit, error)
- type StreamedExport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertHitsToCSV ¶
func CreatePasswordProtectedZipFile ¶ added in v5.0.6
func ExportFactHits ¶
func ExportFactHitsFullV6 ¶ added in v5.2.2
func ExportFactHitsFullV8 ¶ added in v5.2.2
func ExportFactHitsV6 ¶ added in v5.2.2
Types ¶
type StreamedExport ¶ added in v5.2.10
func NewStreamedExport ¶ added in v5.2.10
func NewStreamedExport() *StreamedExport
NewStreamedExport returns a pointer to a new StreamedExport instance One instance per StreamedExport since the channel Data will be closed after export is finished
func (StreamedExport) DrainChannel ¶ added in v5.2.10
func (export StreamedExport) DrainChannel()
DrainChannel Drains the Data channel without processing the remaining values
func (StreamedExport) StreamedExportFactHitsFull ¶ added in v5.2.10
func (StreamedExport) StreamedExportFactHitsFullV8 ¶ added in v5.2.10
func (export StreamedExport) StreamedExportFactHitsFullV8(ctx context.Context, f engine.Fact, limit int64) error
StreamedExportFactHitsFullV8 export data from ElasticSearch to a channel Please note that the channel is not closed when this function is executed
Click to show internal directories.
Click to hide internal directories.