export

package
v1.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exporter

type Exporter interface {
	ExportAuditLogsCSV(logs []auditlog.AuditLogRecord) (io.Reader, error) // Converts logs to CSV and returns a reader
	ExportEventLogsCSV(logs []dto.EventLog) (io.Reader, error)            // Converts logs to CSV and returns a reader
}

type FileExporter

type FileExporter struct{}

func NewFileExporter

func NewFileExporter() *FileExporter

func (*FileExporter) ExportAuditLogsCSV

func (e *FileExporter) ExportAuditLogsCSV(logs []auditlog.AuditLogRecord) (io.Reader, error)

func (*FileExporter) ExportEventLogsCSV

func (e *FileExporter) ExportEventLogsCSV(logs []dto.EventLog) (io.Reader, error)

ExportEventLogsCSV converts event logs to CSV and returns a reader.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL