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 ¶
func (m *FakeReadModel) EXPECT() *FakeReadModelMockRecorder
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 ¶
ListFilter ...
type ListHandler ¶
type ListHandler interface {
Handle(ctx context.Context, query *ListQuery) ([]*ExtraPriority, error)
}
ListHandler ...
type ReadModel ¶
type ReadModel interface {
List(ctx context.Context, filter *ListFilter) ([]*ExtraPriority, error)
}
ReadModel ...