package
0.0.0-20250303191223-d8329aeac5c7
Repository: https://github.com/mongodb/amboy.git
Documentation: pkg.go.dev
# Functions
AddCheckType registers a callback function used in the production of some dependencies.
AddDependencyType registers a new dependency.Manager factories.
AddJobType adds a job type to the amboy package's internal registry of job types.
GetCheckFactory returns a callback function factory for use in dependencies.
GetDependencyFactory returns a dependency.Manager factory function from the registry based on the name produced.
GetJobFactory produces Job objects of specific implementations based on the type name, used in RegisterJobType and in the JobType.Name field.
JobTypeNames returns an iterator of all registered Job types.
MakeJobInterchange changes a Job interface into a JobInterchange structure, for easier serialization.
# Structs
DependencyInterchange objects are a standard form for dependency.Manager objects.
JobInterchange provides a consistent way to describe and reliably serialize Job objects between different queue instances.
# Type aliases
JobFactory is an alias for a function that returns a Job interface.