processors

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CsvPreprocessor

type CsvPreprocessor struct {
	// contains filtered or unexported fields
}

func (*CsvPreprocessor) Configure

func (p *CsvPreprocessor) Configure(opts *options.Options) error

func (*CsvPreprocessor) ParseContent

func (p *CsvPreprocessor) ParseContent(df string, file io.Writer, prepend string, opts *options.Options) error

func (*CsvPreprocessor) ParseFilename

func (p *CsvPreprocessor) ParseFilename(filename string) (string, error)

func (*CsvPreprocessor) WriteTitle

func (p *CsvPreprocessor) WriteTitle(f io.Writer, opts *options.Options)

type DataAnlyticsPreprocessor

type DataAnlyticsPreprocessor struct {
	// contains filtered or unexported fields
}

func (*DataAnlyticsPreprocessor) Configure

func (p *DataAnlyticsPreprocessor) Configure(opts *options.Options) error

func (*DataAnlyticsPreprocessor) ParseContent

func (p *DataAnlyticsPreprocessor) ParseContent(df string, file io.Writer, prepend string, opts *options.Options) error

func (*DataAnlyticsPreprocessor) ParseFilename

func (p *DataAnlyticsPreprocessor) ParseFilename(filename string) (string, error)

ParseFilename

func (*DataAnlyticsPreprocessor) WriteTitle

func (p *DataAnlyticsPreprocessor) WriteTitle(f io.Writer, opts *options.Options)

type NanologPreprocessor

type NanologPreprocessor struct {
	// contains filtered or unexported fields
}

func (*NanologPreprocessor) Configure

func (p *NanologPreprocessor) Configure(opts *options.Options) error

func (*NanologPreprocessor) ParseContent

func (p *NanologPreprocessor) ParseContent(df string, file io.Writer, prepend string, opts *options.Options) error

func (*NanologPreprocessor) ParseFilename

func (p *NanologPreprocessor) ParseFilename(filename string) (string, error)

func (*NanologPreprocessor) WriteTitle

func (p *NanologPreprocessor) WriteTitle(f io.Writer, opts *options.Options)

type Preprocessor

type Preprocessor interface {
	// Configure configures the preprocessor with options.
	Configure(opts *options.Options) error

	// WriteTitle writes the title of the output file.
	WriteTitle(f io.Writer, opts *options.Options)

	// ParseFilename parse filename and returns a string that conctains values common separated.
	ParseFilename(filename string) (string, error)

	ParseContent(df string, file io.Writer, prepend string, opts *options.Options) error
}

func LoadProcessor

func LoadProcessor(name string) (Preprocessor, bool)

type RecoveryPreprocessor

type RecoveryPreprocessor struct {
	// contains filtered or unexported fields
}

func (*RecoveryPreprocessor) Configure

func (p *RecoveryPreprocessor) Configure(opts *options.Options) error

Configure

func (*RecoveryPreprocessor) ParseContent

func (p *RecoveryPreprocessor) ParseContent(df string, file io.Writer, prepend string, opts *options.Options) error

func (*RecoveryPreprocessor) ParseFilename

func (p *RecoveryPreprocessor) ParseFilename(filename string) (string, error)

func (*RecoveryPreprocessor) WriteTitle

func (p *RecoveryPreprocessor) WriteTitle(f io.Writer, opts *options.Options)

type WorkloadPreprocessor

type WorkloadPreprocessor struct {
	RecoveryPreprocessor
	// contains filtered or unexported fields
}

func (*WorkloadPreprocessor) Configure

func (p *WorkloadPreprocessor) Configure(opts *options.Options) error

func (*WorkloadPreprocessor) ParseFilename

func (p *WorkloadPreprocessor) ParseFilename(filename string) (string, error)

ParseFilename

func (*WorkloadPreprocessor) WriteTitle

func (p *WorkloadPreprocessor) WriteTitle(f io.Writer, opts *options.Options)

type YCSBSummaryPreprocessor

type YCSBSummaryPreprocessor struct {
	// contains filtered or unexported fields
}

func (*YCSBSummaryPreprocessor) Configure

func (p *YCSBSummaryPreprocessor) Configure(opts *options.Options) error

Configure configures the preprocessor.

func (*YCSBSummaryPreprocessor) ParseContent

func (p *YCSBSummaryPreprocessor) ParseContent(df string, file io.Writer, prepend string, opts *options.Options) error

ParseContent parses the content of the file and writes the result to the file.

func (*YCSBSummaryPreprocessor) ParseFilename

func (p *YCSBSummaryPreprocessor) ParseFilename(filename string) (string, error)

ParseFilename parse filename and returns a string that conctains values common separated.

func (*YCSBSummaryPreprocessor) WriteTitle

func (p *YCSBSummaryPreprocessor) WriteTitle(file io.Writer, opts *options.Options)

Jump to

Keyboard shortcuts

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