Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JobsetMapper ¶
type JobsetMapper interface { // Get returns the int64 mapping, or an error if no mapping can be determined Get(ctx context.Context, queue string, jobset string) (int64, error) }
JobsetMapper Allows us to map between external jobset identifiers (i.e (queue, jobset)) and our internal int64 representation
type PostgresJobsetMapper ¶
type PostgresJobsetMapper struct {
// contains filtered or unexported fields
}
PostgresJobsetMapper uses Postgres to store mappings. New Mappings will be created automatically and stored in a local LRU cache for fast access
func NewJobsetMapper ¶
type StaticJobsetMapper ¶
StaticJobsetMapper has a set of jobsets backed by a simple map. It's mainly intended for test purposes
Click to show internal directories.
Click to hide internal directories.