ticket

package
v0.0.0-...-3eec7cb Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: repository.go

Generated by this command:

mockgen -source=repository.go -destination=../mock/ticket/mock.go -package=ticket -typed

Package ticket is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRepository

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

MockRepository is a mock of Repository interface.

func NewMockRepository

func NewMockRepository(ctrl *gomock.Controller) *MockRepository

NewMockRepository creates a new mock instance.

func (*MockRepository) BalancesForAccount

func (m *MockRepository) BalancesForAccount(ctx context.Context, accountId int64, req ticket.BalanceRequest) ([]ticket.Balance, error)

BalancesForAccount mocks base method.

func (*MockRepository) EXPECT

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

func (*MockRepository) List

func (m *MockRepository) List(ctx context.Context, ticketer string, limit, offset int64) ([]ticket.Ticket, error)

List mocks base method.

func (*MockRepository) Updates

Updates mocks base method.

func (*MockRepository) UpdatesForOperation

func (m *MockRepository) UpdatesForOperation(ctx context.Context, operationId int64) ([]ticket.TicketUpdate, error)

UpdatesForOperation mocks base method.

type MockRepositoryMockRecorder

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

MockRepositoryMockRecorder is the mock recorder for MockRepository.

func (*MockRepositoryMockRecorder) BalancesForAccount

func (mr *MockRepositoryMockRecorder) BalancesForAccount(ctx, accountId, req any) *RepositoryBalancesForAccountCall

BalancesForAccount indicates an expected call of BalancesForAccount.

func (*MockRepositoryMockRecorder) List

func (mr *MockRepositoryMockRecorder) List(ctx, ticketer, limit, offset any) *RepositoryListCall

List indicates an expected call of List.

func (*MockRepositoryMockRecorder) Updates

func (mr *MockRepositoryMockRecorder) Updates(ctx, req any) *RepositoryUpdatesCall

Updates indicates an expected call of Updates.

func (*MockRepositoryMockRecorder) UpdatesForOperation

func (mr *MockRepositoryMockRecorder) UpdatesForOperation(ctx, operationId any) *RepositoryUpdatesForOperationCall

UpdatesForOperation indicates an expected call of UpdatesForOperation.

type RepositoryBalancesForAccountCall

type RepositoryBalancesForAccountCall struct {
	*gomock.Call
}

RepositoryBalancesForAccountCall wrap *gomock.Call

func (*RepositoryBalancesForAccountCall) Do

Do rewrite *gomock.Call.Do

func (*RepositoryBalancesForAccountCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*RepositoryBalancesForAccountCall) Return

Return rewrite *gomock.Call.Return

type RepositoryListCall

type RepositoryListCall struct {
	*gomock.Call
}

RepositoryListCall wrap *gomock.Call

func (*RepositoryListCall) Do

Do rewrite *gomock.Call.Do

func (*RepositoryListCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*RepositoryListCall) Return

func (c *RepositoryListCall) Return(arg0 []ticket.Ticket, arg1 error) *RepositoryListCall

Return rewrite *gomock.Call.Return

type RepositoryUpdatesCall

type RepositoryUpdatesCall struct {
	*gomock.Call
}

RepositoryUpdatesCall wrap *gomock.Call

func (*RepositoryUpdatesCall) Do

Do rewrite *gomock.Call.Do

func (*RepositoryUpdatesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*RepositoryUpdatesCall) Return

Return rewrite *gomock.Call.Return

type RepositoryUpdatesForOperationCall

type RepositoryUpdatesForOperationCall struct {
	*gomock.Call
}

RepositoryUpdatesForOperationCall wrap *gomock.Call

func (*RepositoryUpdatesForOperationCall) Do

Do rewrite *gomock.Call.Do

func (*RepositoryUpdatesForOperationCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*RepositoryUpdatesForOperationCall) Return

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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