Versions in this module Expand all Collapse all v0 v0.4.0 Oct 26, 2015 Changes in this version + func ToContext(c Setter, r Remote) + type Refresher interface + Refresh func(*model.User) (bool, error) + type Remote interface + Activate func(u *model.User, r *model.Repo, k *model.Key, link string) error + Auth func(token, secret string) (string, error) + Deactivate func(u *model.User, r *model.Repo, link string) error + Hook func(r *http.Request) (*model.Repo, *model.Build, error) + Login func(w http.ResponseWriter, r *http.Request) (*model.User, bool, error) + Netrc func(u *model.User, r *model.Repo) (*model.Netrc, error) + Perm func(u *model.User, owner, repo string) (*model.Perm, error) + Repo func(u *model.User, owner, repo string) (*model.Repo, error) + Repos func(u *model.User) ([]*model.RepoLite, error) + Script func(u *model.User, r *model.Repo, b *model.Build) ([]byte, []byte, error) + Status func(u *model.User, r *model.Repo, b *model.Build, link string) error + func FromContext(c context.Context) Remote + func Load(env envconfig.Env) Remote + type Setter interface + Set func(string, interface{})