query

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2025 License: Apache-2.0 Imports: 4 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.

Documentation

Overview

Package query is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExtraPriority

type ExtraPriority struct {
	AccountID          string
	UserID             string
	SubmissionID       string
	RunID              string
	ExtraPriorityValue int
}

ExtraPriority ...

type FakeReadModel

type FakeReadModel struct {
	// contains filtered or unexported fields
}

FakeReadModel is a mock of ReadModel interface.

func NewFakeReadModel

func NewFakeReadModel(ctrl *gomock.Controller) *FakeReadModel

NewFakeReadModel creates a new mock instance.

func (*FakeReadModel) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*FakeReadModel) List

func (m *FakeReadModel) List(ctx context.Context, filter *ListFilter) ([]*ExtraPriority, error)

List mocks base method.

type FakeReadModelMockRecorder

type FakeReadModelMockRecorder struct {
	// contains filtered or unexported fields
}

FakeReadModelMockRecorder is the mock recorder for FakeReadModel.

func (*FakeReadModelMockRecorder) List

func (mr *FakeReadModelMockRecorder) List(ctx, filter interface{}) *gomock.Call

List indicates an expected call of List.

type ListFilter

type ListFilter struct {
	AccountID    string
	SubmissionID string
	RunID        string
}

ListFilter ...

type ListHandler

type ListHandler interface {
	Handle(ctx context.Context, query *ListQuery) ([]*ExtraPriority, error)
}

ListHandler ...

func NewListHandler

func NewListHandler(readModel ReadModel) ListHandler

NewListHandler ...

type ListQuery

type ListQuery struct {
	Filter *ListFilter
}

ListQuery ...

type Queries

type Queries struct {
	List ListHandler
}

Queries ...

func NewQueries

func NewQueries(readModel ReadModel) *Queries

NewQueries ...

type ReadModel

type ReadModel interface {
	List(ctx context.Context, filter *ListFilter) ([]*ExtraPriority, error)
}

ReadModel ...

Jump to

Keyboard shortcuts

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