mocks

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	mock.Mock
}

Store is an autogenerated mock type for the Store type

func (*Store) CreateRepo

func (_m *Store) CreateRepo(_a0 *model.Repo) error

CreateRepo provides a mock function with given fields: _a0

func (*Store) CreateUser

func (_m *Store) CreateUser(_a0 *model.User) error

CreateUser provides a mock function with given fields: _a0

func (*Store) DeleteRepo

func (_m *Store) DeleteRepo(_a0 *model.Repo) error

DeleteRepo provides a mock function with given fields: _a0

func (*Store) DeleteUser

func (_m *Store) DeleteUser(_a0 *model.User) error

DeleteUser provides a mock function with given fields: _a0

func (*Store) GetRepo

func (_m *Store) GetRepo(_a0 int64) (*model.Repo, error)

GetRepo provides a mock function with given fields: _a0

func (*Store) GetRepoMulti

func (_m *Store) GetRepoMulti(_a0 ...string) ([]*model.Repo, error)

GetRepoMulti provides a mock function with given fields: _a0

func (*Store) GetRepoOwner

func (_m *Store) GetRepoOwner(_a0 string) ([]*model.Repo, error)

GetRepoOwner provides a mock function with given fields: _a0

func (*Store) GetRepoSlug

func (_m *Store) GetRepoSlug(_a0 string) (*model.Repo, error)

GetRepoSlug provides a mock function with given fields: _a0

func (*Store) GetUser

func (_m *Store) GetUser(_a0 int64) (*model.User, error)

GetUser provides a mock function with given fields: _a0

func (*Store) GetUserLogin

func (_m *Store) GetUserLogin(_a0 string) (*model.User, error)

GetUserLogin provides a mock function with given fields: _a0

func (*Store) UpdateRepo

func (_m *Store) UpdateRepo(_a0 *model.Repo) error

UpdateRepo provides a mock function with given fields: _a0

func (*Store) UpdateUser

func (_m *Store) UpdateUser(_a0 *model.User) error

UpdateUser provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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