mocks

package
v0.0.0-...-1b53eb7 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2020 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 StorageManager

type StorageManager struct {
	mock.Mock
}

StorageManager is an autogenerated mock type for the StorageManager type

func (*StorageManager) GetArticle

func (_m *StorageManager) GetArticle(ctx context.Context, slug string) (*models.Article, error)

GetArticle provides a mock function with given fields: ctx, slug

func (*StorageManager) GetArticleCount

func (_m *StorageManager) GetArticleCount(ctx context.Context) (int, error)

GetArticleCount provides a mock function with given fields: ctx

func (*StorageManager) GetArticles

func (_m *StorageManager) GetArticles(ctx context.Context, page int) ([]models.Article, error)

GetArticles provides a mock function with given fields: ctx, page

func (*StorageManager) GetSimplePage

func (_m *StorageManager) GetSimplePage(ctx context.Context, slug string) (*models.SimplePage, error)

GetSimplePage provides a mock function with given fields: ctx, slug

func (*StorageManager) GetTalk

func (_m *StorageManager) GetTalk(ctx context.Context, slug string) (*models.Talk, error)

GetTalk provides a mock function with given fields: ctx, slug

func (*StorageManager) GetTalkCount

func (_m *StorageManager) GetTalkCount(ctx context.Context) (int, error)

GetTalkCount provides a mock function with given fields: ctx

func (*StorageManager) GetTalks

func (_m *StorageManager) GetTalks(ctx context.Context, page int) ([]models.Talk, error)

GetTalks provides a mock function with given fields: ctx, page

Jump to

Keyboard shortcuts

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