queueconfig

package
v0.3.0-20261113212007-... Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2026 License: Apache-2.0 Imports: 3 Imported by: ? 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 — identifies a single submit queue (just its name); the registry of valid queue names. Behavioral/VCS config lives in the extension factory implementations, not here.

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.

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package yaml provides a YAML-file-backed implementation of queueconfig.Store.
Package yaml provides a YAML-file-backed implementation of queueconfig.Store.

Jump to

Keyboard shortcuts

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