Documentation
¶
Overview ¶
Package outputs provides output modules for Gmail data.
Index ¶
- type CSVOutput
- func (o *CSVOutput) ConfigSchema() []core.ConfigOption
- func (o *CSVOutput) Description() string
- func (o *CSVOutput) Export(ctx context.Context, item core.ProcessedItem) error
- func (o *CSVOutput) ExportBatch(ctx context.Context, items []core.ProcessedItem, progress core.ProgressFunc) error
- func (o *CSVOutput) Finalize(ctx context.Context) error
- func (o *CSVOutput) ID() string
- func (o *CSVOutput) Initialize(ctx context.Context, cfg core.OutputConfig) error
- func (o *CSVOutput) Name() string
- func (o *CSVOutput) SupportedItemTypes() []string
- type EMLOutput
- func (o *EMLOutput) ConfigSchema() []core.ConfigOption
- func (o *EMLOutput) Description() string
- func (o *EMLOutput) Export(ctx context.Context, item core.ProcessedItem) error
- func (o *EMLOutput) ExportBatch(ctx context.Context, items []core.ProcessedItem, progress core.ProgressFunc) error
- func (o *EMLOutput) Finalize(ctx context.Context) error
- func (o *EMLOutput) ID() string
- func (o *EMLOutput) Initialize(ctx context.Context, cfg core.OutputConfig) error
- func (o *EMLOutput) Name() string
- func (o *EMLOutput) SupportedItemTypes() []string
- type JSONOutput
- func (o *JSONOutput) ConfigSchema() []core.ConfigOption
- func (o *JSONOutput) Description() string
- func (o *JSONOutput) Export(ctx context.Context, item core.ProcessedItem) error
- func (o *JSONOutput) ExportBatch(ctx context.Context, items []core.ProcessedItem, progress core.ProgressFunc) error
- func (o *JSONOutput) Finalize(ctx context.Context) error
- func (o *JSONOutput) ID() string
- func (o *JSONOutput) Initialize(ctx context.Context, cfg core.OutputConfig) error
- func (o *JSONOutput) Name() string
- func (o *JSONOutput) SupportedItemTypes() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CSVOutput ¶
type CSVOutput struct {
// contains filtered or unexported fields
}
CSVOutput exports Gmail messages to CSV format.
func (*CSVOutput) ConfigSchema ¶
func (o *CSVOutput) ConfigSchema() []core.ConfigOption
func (*CSVOutput) Description ¶
func (*CSVOutput) ExportBatch ¶
func (o *CSVOutput) ExportBatch(ctx context.Context, items []core.ProcessedItem, progress core.ProgressFunc) error
func (*CSVOutput) Initialize ¶
func (*CSVOutput) SupportedItemTypes ¶
type EMLOutput ¶
type EMLOutput struct {
// contains filtered or unexported fields
}
EMLOutput exports Gmail messages as individual .eml files.
func (*EMLOutput) ConfigSchema ¶
func (o *EMLOutput) ConfigSchema() []core.ConfigOption
func (*EMLOutput) Description ¶
func (*EMLOutput) ExportBatch ¶
func (o *EMLOutput) ExportBatch(ctx context.Context, items []core.ProcessedItem, progress core.ProgressFunc) error
func (*EMLOutput) Initialize ¶
func (*EMLOutput) SupportedItemTypes ¶
type JSONOutput ¶
type JSONOutput struct {
// contains filtered or unexported fields
}
JSONOutput exports Gmail messages to JSON files.
func (*JSONOutput) ConfigSchema ¶
func (o *JSONOutput) ConfigSchema() []core.ConfigOption
func (*JSONOutput) Description ¶
func (o *JSONOutput) Description() string
func (*JSONOutput) Export ¶
func (o *JSONOutput) Export(ctx context.Context, item core.ProcessedItem) error
func (*JSONOutput) ExportBatch ¶
func (o *JSONOutput) ExportBatch(ctx context.Context, items []core.ProcessedItem, progress core.ProgressFunc) error
func (*JSONOutput) ID ¶
func (o *JSONOutput) ID() string
func (*JSONOutput) Initialize ¶
func (o *JSONOutput) Initialize(ctx context.Context, cfg core.OutputConfig) error
func (*JSONOutput) Name ¶
func (o *JSONOutput) Name() string
func (*JSONOutput) SupportedItemTypes ¶
func (o *JSONOutput) SupportedItemTypes() []string
Click to show internal directories.
Click to hide internal directories.