pipeline

package
v0.0.0-...-e3a8e75 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommitPipeline

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

CommitPipeline is responsible for fetching commits concurrently and saving them to the database.

func Commits

func Commits(db db.Database) CommitPipeline

Commits creates and returns a CommitPipeline type.

func (*CommitPipeline) Run

func (c *CommitPipeline) Run()

Run ...

func (*CommitPipeline) WithOptions

func (c *CommitPipeline) WithOptions(options github.CommitSearchOptions) CommitPipeline

WithOptions ...

func (*CommitPipeline) WithRandomSearchTerms

func (c *CommitPipeline) WithRandomSearchTerms() CommitPipeline

WithRandomSearchTerms adds random terms to the pipeline.

func (*CommitPipeline) WithSearchTerms

func (c *CommitPipeline) WithSearchTerms(terms ...string) CommitPipeline

WithSearchTerms adds the provided terms to the pipeline.

Jump to

Keyboard shortcuts

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