# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
Activate activates a repository by creating the post-commit hook and adding the SSH deploy key, if applicable.
Auth authenticates the session and returns the remote user login for the given token and secret.
Deactivate removes a repository by removing all the post-commit hooks which are equal to link and removing the SSH deploy key.
File fetches a file from the remote repository and returns in string format.
FileBackoff fetches the file using an exponential backoff.
FromContext returns the Remote associated with this context.
Hook parses the post-commit hook from the Request body and returns the required data in a standard format.
Login authenticates the session and returns the remote user details.
Netrc returns a .netrc file that can be used to clone private repositories from a remote system.
Perm fetches the named repository permissions from the remote system for the specified user.
Refresh refreshes an oauth token and expiration for the given user.
Repo fetches the named repository from the remote system.
Repos fetches a list of repos from the remote system.
Status sends the commit status to the remote system.
Teams fetches a list of team memberships from the remote system.
ToContext adds the Remote to this context if it supports the Setter interface.