mocks

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Delivery

type Delivery struct {
	mock.Mock
}

Delivery is an autogenerated mock type for the Delivery type

func NewDelivery

func NewDelivery(t mockConstructorTestingTNewDelivery) *Delivery

NewDelivery creates a new instance of Delivery. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Delivery) GetByID

func (_m *Delivery) GetByID(ctx context.Context, id string) (model.Video, error)

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

type Ingestion

type Ingestion struct {
	mock.Mock
}

Ingestion is an autogenerated mock type for the Ingestion type

func NewIngestion

func NewIngestion(t mockConstructorTestingTNewIngestion) *Ingestion

NewIngestion creates a new instance of Ingestion. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Ingestion) Create

func (_m *Ingestion) Create(ctx context.Context, anyVideo model.Video) (model.Video, error)

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

Jump to

Keyboard shortcuts

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