Versions in this module Expand all Collapse all v0 v0.8.4 Oct 11, 2022 Changes in this version + func CreateConsumer(URL string, ConsumerKey string, PrivateKey *rsa.PrivateKey) *oauth.Consumer + func New(opts Opts) (remote.Remote, error) + type Config struct + Consumer *oauth.Consumer + Password string + SkipVerify bool + URL string + Username string + func (*Config) Auth(token, secret string) (string, error) + func (*Config) TeamPerm(u *model.User, org string) (*model.Perm, error) + func (*Config) Teams(u *model.User) ([]*model.Team, error) + func (c *Config) Activate(u *model.User, r *model.Repo, link string) error + func (c *Config) Deactivate(u *model.User, r *model.Repo, link string) error + func (c *Config) File(u *model.User, r *model.Repo, b *model.Build, f string) ([]byte, error) + func (c *Config) FileRef(u *model.User, r *model.Repo, ref, f string) ([]byte, error) + func (c *Config) Hook(r *http.Request) (*model.Repo, *model.Build, error) + func (c *Config) Login(res http.ResponseWriter, req *http.Request) (*model.User, error) + func (c *Config) Netrc(user *model.User, r *model.Repo) (*model.Netrc, error) + func (c *Config) Perm(u *model.User, owner, repo string) (*model.Perm, error) + func (c *Config) Repo(u *model.User, owner, name string) (*model.Repo, error) + func (c *Config) Repos(u *model.User) ([]*model.Repo, error) + func (c *Config) Status(u *model.User, r *model.Repo, b *model.Build, link string) error + type Opts struct + ConsumerKey string + ConsumerRSA string + ConsumerRSAString string + Password string + SkipVerify bool + URL string + Username string