repository

package
v0.0.0-...-44f477e Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	mock.Mock
}

Manager is an autogenerated mock type for the Manager type

func (*Manager) AddPullCount

func (_m *Manager) AddPullCount(ctx context.Context, id int64) error

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

func (*Manager) Count

func (_m *Manager) Count(ctx context.Context, query *q.Query) (int64, error)

Count provides a mock function with given fields: ctx, query

func (*Manager) Create

func (_m *Manager) Create(ctx context.Context, _a1 *model.RepoRecord) (int64, error)

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

func (*Manager) Delete

func (_m *Manager) Delete(ctx context.Context, id int64) error

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

func (*Manager) Get

func (_m *Manager) Get(ctx context.Context, id int64) (*model.RepoRecord, error)

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

func (*Manager) GetByName

func (_m *Manager) GetByName(ctx context.Context, name string) (*model.RepoRecord, error)

GetByName provides a mock function with given fields: ctx, name

func (*Manager) List

func (_m *Manager) List(ctx context.Context, query *q.Query) ([]*model.RepoRecord, error)

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

func (*Manager) NonEmptyRepos

func (_m *Manager) NonEmptyRepos(ctx context.Context) ([]*model.RepoRecord, error)

NonEmptyRepos provides a mock function with given fields: ctx

func (*Manager) Update

func (_m *Manager) Update(ctx context.Context, _a1 *model.RepoRecord, props ...string) error

Update provides a mock function with given fields: ctx, _a1, props

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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