package
0.1.0
Repository: https://github.com/src-d/gitcollector.git
Documentation: pkg.go.dev

# Functions

GetOrgFromEndpoint retrieve the organization from an endpoint.
NewDownloadJobScheduleFn builds a new gitcollector.ScheduleFn that only schedules download jobs.
NewJobScheduleFn builds a new gitcollector.ScheduleFn that schedules download and update jobs in different queues.
NewRepositoryID builds a borges.RepositoryID from the given endpoint.
NewUpdateJobScheduleFn builds a new gitcollector.SchedulerFn that only schedules update jobs.

# Constants

JobDownload represents a Download Job.
JobUpdate represents an Update Job.

# Variables

ErrJobFnNotFound is returned when theres is no function to process a job.
ErrNotSivaLibrary is returned when a borges.Library is not a siva.Library.
ErrNotSivaLocation is returned when a borges.Library is no a siva.Location.

# Structs

Job represents a gitcollector.Job to perform a task on a borges.Library.

# Type aliases

AuthTokenFn retrieve and authentication token if any for the given endpoint.
JobFn represents the task to be performed by a Job.
JobType represents the type of the Job.