queueconfig

package
v0.1.0-dev2 Latest Latest
Warning

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

Go to latest
Published: May 21, 2026 License: Apache-2.0 Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Queue Config Extension

Vendor-agnostic interface for providing queue configurations.

Interfaces

Store

Provides queue configurations by name.

type Store interface {
    Get(ctx context.Context, name string) (entity.QueueConfig, error)
    List(ctx context.Context) ([]entity.QueueConfig, error)
}

Entities

Queue configuration entity lives in entity/queue_config.go:

  • QueueConfig — configuration for a single submit queue (name, VCS type, VCS repo, target)

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("queue config not found")

ErrNotFound is returned when the requested queue configuration does not exist.

Functions

This section is empty.

Types

type Store

type Store interface {
	// Get returns the configuration for a named queue.
	// Returns ErrNotFound if no configuration exists for the given name.
	Get(ctx context.Context, name string) (entity.QueueConfig, error)

	// List returns all configured queues.
	List(ctx context.Context) ([]entity.QueueConfig, error)
}

Store loads and provides queue configurations. Implementations may read from YAML files, databases, remote services, etc.

Jump to

Keyboard shortcuts

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