Documentation
¶
Index ¶
- type Remote
- func (_m *Remote) DelHook(_a0 *model.User, _a1 *model.Repo, _a2 string) error
- func (_m *Remote) GetComments(_a0 *model.User, _a1 *model.Repo, _a2 int) ([]*model.Comment, error)
- func (_m *Remote) GetContents(_a0 *model.User, _a1 *model.Repo, _a2 string) ([]byte, error)
- func (_m *Remote) GetHook(r *http.Request) (*model.Hook, error)
- func (_m *Remote) GetMembers(_a0 *model.User, _a1 string) ([]*model.Member, error)
- func (_m *Remote) GetPerm(_a0 *model.User, _a1 string, _a2 string) (*model.Perm, error)
- func (_m *Remote) GetRepo(_a0 *model.User, _a1 string, _a2 string) (*model.Repo, error)
- func (_m *Remote) GetRepos(_a0 *model.User) ([]*model.Repo, error)
- func (_m *Remote) GetTeams(_a0 *model.User) ([]*model.Team, error)
- func (_m *Remote) GetUser(_a0 http.ResponseWriter, _a1 *http.Request) (*model.User, error)
- func (_m *Remote) GetUserToken(_a0 string) (string, error)
- func (_m *Remote) SetHook(_a0 *model.User, _a1 *model.Repo, _a2 string) error
- func (_m *Remote) SetStatus(_a0 *model.User, _a1 *model.Repo, _a2 int, _a3 int, _a4 int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Remote ¶
Remote is an autogenerated mock type for the Remote type
func (*Remote) GetComments ¶
GetComments provides a mock function with given fields: _a0, _a1, _a2
func (*Remote) GetContents ¶
GetContents provides a mock function with given fields: _a0, _a1, _a2
func (*Remote) GetMembers ¶
GetMembers provides a mock function with given fields: _a0, _a1
func (*Remote) GetUserToken ¶
GetUserToken provides a mock function with given fields: _a0
Click to show internal directories.
Click to hide internal directories.