mock

package
v0.0.0-...-2836d86 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2016 License: Apache-2.0 Imports: 2 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
}

func (*Store) CreateRepo

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

func (*Store) CreateUser

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

func (*Store) DeleteRepo

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

func (*Store) DeleteUser

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

func (*Store) GetRepo

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

func (*Store) GetRepoMulti

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

func (*Store) GetRepoOwner

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

func (*Store) GetRepoSlug

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

func (*Store) GetUser

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

func (*Store) GetUserLogin

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

func (*Store) UpdateRepo

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

func (*Store) UpdateUser

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

Jump to

Keyboard shortcuts

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