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 Assets

type Assets struct {
	mock.Mock
}

Assets is an autogenerated mock type for the Assets type

func NewAssets

func NewAssets(t mockConstructorTestingTNewAssets) *Assets

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

func (*Assets) Create

func (_m *Assets) Create(ctx context.Context, source string, public bool) (model.Asset, error)

Create provides a mock function with given fields: ctx, source, public

func (*Assets) GetByID

func (_m *Assets) GetByID(ctx context.Context, id string) (model.Asset, error)

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

type Videos

type Videos struct {
	mock.Mock
}

Videos is an autogenerated mock type for the Videos type

func NewVideos

func NewVideos(t mockConstructorTestingTNewVideos) *Videos

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

func (*Videos) Create

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

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

func (*Videos) GetByID

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

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

Jump to

Keyboard shortcuts

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