Documentation ¶
Index ¶
- type Remote
- func (_m *Remote) Activate(u *model.User, r *model.Repo, link string) error
- func (_m *Remote) Auth(token string, secret string) (string, error)
- func (_m *Remote) Deactivate(u *model.User, r *model.Repo, link string) error
- func (_m *Remote) File(u *model.User, r *model.Repo, b *model.Build, f string) ([]byte, error)
- func (_m *Remote) FileRef(u *model.User, r *model.Repo, ref string, f string) ([]byte, error)
- func (_m *Remote) Hook(r *http.Request) (*model.Repo, *model.Build, error)
- func (_m *Remote) Login(w http.ResponseWriter, r *http.Request) (*model.User, error)
- func (_m *Remote) Netrc(u *model.User, r *model.Repo) (*model.Netrc, error)
- func (_m *Remote) Perm(u *model.User, owner string, repo string) (*model.Perm, error)
- func (_m *Remote) Repo(u *model.User, owner string, repo string) (*model.Repo, error)
- func (_m *Remote) Repos(u *model.User) ([]*model.RepoLite, error)
- func (_m *Remote) Status(u *model.User, r *model.Repo, b *model.Build, link string) error
- func (_m *Remote) TeamPerm(u *model.User, org string) (*model.Perm, error)
- func (_m *Remote) Teams(u *model.User) ([]*model.Team, 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) Deactivate ¶
Deactivate provides a mock function with given fields: u, r, link
func (*Remote) FileRef ¶ added in v0.6.0
FileRef provides a mock function with given fields: u, r, ref, f
Click to show internal directories.
Click to hide internal directories.