mock

package
v0.0.0-...-e115b17 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2016 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 Remote

type Remote struct {
	mock.Mock
}

Remote is an autogenerated mock type for the Remote type

func (*Remote) DelHook

func (_m *Remote) DelHook(_a0 *model.User, _a1 *model.Repo, _a2 string) error

DelHook provides a mock function with given fields: _a0, _a1, _a2

func (*Remote) GetComments

func (_m *Remote) GetComments(_a0 *model.User, _a1 *model.Repo, _a2 int) ([]*model.Comment, error)

GetComments provides a mock function with given fields: _a0, _a1, _a2

func (*Remote) GetContents

func (_m *Remote) GetContents(_a0 *model.User, _a1 *model.Repo, _a2 string) ([]byte, error)

GetContents provides a mock function with given fields: _a0, _a1, _a2

func (*Remote) GetHook

func (_m *Remote) GetHook(r *http.Request) (*model.Hook, error)

GetHook provides a mock function with given fields: r

func (*Remote) GetMembers

func (_m *Remote) GetMembers(_a0 *model.User, _a1 string) ([]*model.Member, error)

GetMembers provides a mock function with given fields: _a0, _a1

func (*Remote) GetPerm

func (_m *Remote) GetPerm(_a0 *model.User, _a1 string, _a2 string) (*model.Perm, error)

GetPerm provides a mock function with given fields: _a0, _a1, _a2

func (*Remote) GetRepo

func (_m *Remote) GetRepo(_a0 *model.User, _a1 string, _a2 string) (*model.Repo, error)

GetRepo provides a mock function with given fields: _a0, _a1, _a2

func (*Remote) GetRepos

func (_m *Remote) GetRepos(_a0 *model.User) ([]*model.Repo, error)

GetRepos provides a mock function with given fields: _a0

func (*Remote) GetTeams

func (_m *Remote) GetTeams(_a0 *model.User) ([]*model.Team, error)

GetTeams provides a mock function with given fields: _a0

func (*Remote) GetUser

func (_m *Remote) GetUser(_a0 http.ResponseWriter, _a1 *http.Request) (*model.User, error)

GetUser provides a mock function with given fields: _a0, _a1

func (*Remote) GetUserToken

func (_m *Remote) GetUserToken(_a0 string) (string, error)

GetUserToken provides a mock function with given fields: _a0

func (*Remote) SetHook

func (_m *Remote) SetHook(_a0 *model.User, _a1 *model.Repo, _a2 string) error

SetHook provides a mock function with given fields: _a0, _a1, _a2

func (*Remote) SetStatus

func (_m *Remote) SetStatus(_a0 *model.User, _a1 *model.Repo, _a2 int, _a3 int, _a4 int) error

SetStatus provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4

Jump to

Keyboard shortcuts

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