mocks

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeliveryAttemptRepository

type DeliveryAttemptRepository struct {
	mock.Mock
}

DeliveryAttemptRepository is an autogenerated mock type for the DeliveryAttemptRepository type

func (*DeliveryAttemptRepository) Create

func (_m *DeliveryAttemptRepository) Create(ctx context.Context, deliveryAttempt *postmand.DeliveryAttempt) error

Create provides a mock function with given fields: ctx, deliveryAttempt

func (*DeliveryAttemptRepository) Get

Get provides a mock function with given fields: ctx, getOptions

func (*DeliveryAttemptRepository) List

List provides a mock function with given fields: ctx, listOptions

type DeliveryAttemptService

type DeliveryAttemptService struct {
	mock.Mock
}

DeliveryAttemptService is an autogenerated mock type for the DeliveryAttemptService type

func (*DeliveryAttemptService) Get

Get provides a mock function with given fields: ctx, getOptions

func (*DeliveryAttemptService) List

List provides a mock function with given fields: ctx, listOptions

type DeliveryRepository

type DeliveryRepository struct {
	mock.Mock
}

DeliveryRepository is an autogenerated mock type for the DeliveryRepository type

func (*DeliveryRepository) Create

func (_m *DeliveryRepository) Create(ctx context.Context, delivery *postmand.Delivery) error

Create provides a mock function with given fields: ctx, delivery

func (*DeliveryRepository) Delete

func (_m *DeliveryRepository) Delete(ctx context.Context, id uuid.UUID) error

Delete provides a mock function with given fields: ctx, id

func (*DeliveryRepository) Dispatch

Dispatch provides a mock function with given fields: ctx

func (*DeliveryRepository) Get

Get provides a mock function with given fields: ctx, getOptions

func (*DeliveryRepository) List

List provides a mock function with given fields: ctx, listOptions

func (*DeliveryRepository) Update

func (_m *DeliveryRepository) Update(ctx context.Context, delivery *postmand.Delivery) error

Update provides a mock function with given fields: ctx, delivery

type DeliveryService

type DeliveryService struct {
	mock.Mock
}

DeliveryService is an autogenerated mock type for the DeliveryService type

func (*DeliveryService) Create

func (_m *DeliveryService) Create(ctx context.Context, delivery *postmand.Delivery) error

Create provides a mock function with given fields: ctx, delivery

func (*DeliveryService) Delete

func (_m *DeliveryService) Delete(ctx context.Context, id uuid.UUID) error

Delete provides a mock function with given fields: ctx, id

func (*DeliveryService) Get

Get provides a mock function with given fields: ctx, getOptions

func (*DeliveryService) List

List provides a mock function with given fields: ctx, listOptions

func (*DeliveryService) Update

func (_m *DeliveryService) Update(ctx context.Context, delivery *postmand.Delivery) error

Update provides a mock function with given fields: ctx, delivery

type MigrationRepository

type MigrationRepository struct {
	mock.Mock
}

MigrationRepository is an autogenerated mock type for the MigrationRepository type

func (*MigrationRepository) Run

Run provides a mock function with given fields: ctx

type MigrationService

type MigrationService struct {
	mock.Mock
}

MigrationService is an autogenerated mock type for the MigrationService type

func (*MigrationService) Run

func (_m *MigrationService) Run(ctx context.Context) error

Run provides a mock function with given fields: ctx

type PingRepository

type PingRepository struct {
	mock.Mock
}

PingRepository is an autogenerated mock type for the PingRepository type

func (*PingRepository) Run

func (_m *PingRepository) Run(ctx context.Context) error

Run provides a mock function with given fields: ctx

type PingService

type PingService struct {
	mock.Mock
}

PingService is an autogenerated mock type for the PingService type

func (*PingService) Run

func (_m *PingService) Run(ctx context.Context) error

Run provides a mock function with given fields: ctx

type WebhookRepository

type WebhookRepository struct {
	mock.Mock
}

WebhookRepository is an autogenerated mock type for the WebhookRepository type

func (*WebhookRepository) Create

func (_m *WebhookRepository) Create(ctx context.Context, webhook *postmand.Webhook) error

Create provides a mock function with given fields: ctx, webhook

func (*WebhookRepository) Delete

func (_m *WebhookRepository) Delete(ctx context.Context, id uuid.UUID) error

Delete provides a mock function with given fields: ctx, id

func (*WebhookRepository) Get

Get provides a mock function with given fields: ctx, getOptions

func (*WebhookRepository) List

List provides a mock function with given fields: ctx, listOptions

func (*WebhookRepository) Update

func (_m *WebhookRepository) Update(ctx context.Context, webhook *postmand.Webhook) error

Update provides a mock function with given fields: ctx, webhook

type WebhookService

type WebhookService struct {
	mock.Mock
}

WebhookService is an autogenerated mock type for the WebhookService type

func (*WebhookService) Create

func (_m *WebhookService) Create(ctx context.Context, webhook *postmand.Webhook) error

Create provides a mock function with given fields: ctx, webhook

func (*WebhookService) Delete

func (_m *WebhookService) Delete(ctx context.Context, id uuid.UUID) error

Delete provides a mock function with given fields: ctx, id

func (*WebhookService) Get

Get provides a mock function with given fields: ctx, getOptions

func (*WebhookService) List

List provides a mock function with given fields: ctx, listOptions

func (*WebhookService) Update

func (_m *WebhookService) Update(ctx context.Context, webhook *postmand.Webhook) error

Update provides a mock function with given fields: ctx, webhook

type WorkerService

type WorkerService struct {
	mock.Mock
}

WorkerService is an autogenerated mock type for the WorkerService type

func (*WorkerService) Run

func (_m *WorkerService) Run(ctx context.Context)

Run provides a mock function with given fields: ctx

func (*WorkerService) Shutdown

func (_m *WorkerService) Shutdown(ctx context.Context)

Shutdown provides a mock function with given fields: ctx

Jump to

Keyboard shortcuts

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