ketchuptest

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2021 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 App added in v1.9.0

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

App mock app

func New added in v1.9.0

func New() *App

New creates raw mock

func (App) Create added in v1.9.0

func (a App) Create(_ context.Context, _ model.Ketchup) (model.Ketchup, error)

Create mocks

func (App) Delete added in v1.9.0

func (a App) Delete(_ context.Context, _ model.Ketchup) error

Delete mocks

func (App) List added in v1.9.0

func (a App) List(_ context.Context, _ uint, _ string) ([]model.Ketchup, uint64, error)

List mocks

func (App) ListForRepositories added in v1.9.0

func (a App) ListForRepositories(_ context.Context, _ []model.Repository, _ model.KetchupFrequency) ([]model.Ketchup, error)

ListForRepositories mocks

func (App) ListOutdatedByFrequency added in v1.12.0

func (a App) ListOutdatedByFrequency(_ context.Context, _ model.KetchupFrequency) ([]model.Ketchup, error)

ListOutdatedByFrequency mocks

func (*App) SetList added in v1.9.0

func (a *App) SetList(list []model.Ketchup, total uint64, err error) *App

SetList mocks

func (*App) SetListForRepositories added in v1.9.0

func (a *App) SetListForRepositories(list []model.Ketchup, err error) *App

SetListForRepositories mocks

func (*App) SetListOutdatedByFrequency added in v1.12.0

func (a *App) SetListOutdatedByFrequency(list []model.Ketchup, err error) *App

SetListOutdatedByFrequency mocks

func (App) Update added in v1.9.0

func (a App) Update(_ context.Context, _ model.Ketchup) (model.Ketchup, error)

Update mocks

Jump to

Keyboard shortcuts

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