Documentation ¶
Index ¶
- type Controller
- func NewAdapterTrimming(ctx context.Context, dockerCli *client.Client, config *config_parser.Config) Controller
- func NewDecontamination(ctx context.Context, dockerCli *client.Client, config *config_parser.Config, ...) Controller
- func NewErrorCorrection(ctx context.Context, dockerCli *client.Client, config *config_parser.Config, ...) Controller
- func NewQualityController(c *config_parser.Config) Controller
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller interface { // Process performs the work defined by a specific controller implementation. Since processes occurs on // sequence files, the paths to the newly generated quality controlled files is returned, along with // and error, in case there is one Process() (string, error) }
Controller represents the interface of the quality control process
func NewAdapterTrimming ¶
func NewAdapterTrimming(ctx context.Context, dockerCli *client.Client, config *config_parser.Config) Controller
NewAdapterTrimming function creates a adapterTrimming instance containing necessary config for adapter trimming job
func NewDecontamination ¶
func NewDecontamination(ctx context.Context, dockerCli *client.Client, config *config_parser.Config, fileToDecontaminate string) Controller
NewDecontamination constructs and returns a new decontamination struct, which implements the Controller interface
func NewErrorCorrection ¶
func NewErrorCorrection(ctx context.Context, dockerCli *client.Client, config *config_parser.Config, fileToCorrect string) Controller
NewErrorCorrection constructs and returns an errorCorrection struct, which implements the Controller interface
func NewQualityController ¶
func NewQualityController(c *config_parser.Config) Controller
NewQualityController constructs a new qualityController instances that implements the Controller interface
Click to show internal directories.
Click to hide internal directories.