riveruipostgres

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2026 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package riveruipostgres implements River UI's database operations for PostgreSQL. It decorates an executor from any PostgreSQL River driver rather than owning a second pool.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver struct{}

func New

func New() *Driver

New returns a PostgreSQL River UI driver. Unlike River's primary database driver, it doesn't take a pool because River UI only adds queries on top of the executor already owned by the caller's River client.

func (*Driver) GetExecutor

func (*Driver) GetExecutor(riverExecutor riverdriver.Executor) riveruidriver.Executor

type Executor

type Executor struct {
	riverdriver.Executor
	// contains filtered or unexported fields
}

func (*Executor) JobCountByAllStatesCapped

func (e *Executor) JobCountByAllStatesCapped(ctx context.Context, params *riveruidriver.JobCountByAllStatesCappedParams) (map[rivertype.JobState]int, error)

func (*Executor) JobCountEstimate

func (*Executor) JobDeadLetterAutocomplete added in v0.22.0

func (e *Executor) JobDeadLetterAutocomplete(ctx context.Context, params *riveruidriver.JobDeadLetterAutocompleteParams) ([]string, error)

func (*Executor) JobDeadLetterList added in v0.22.0

Source Files

  • river_ui_postgres_driver.go

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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