Creates a function that can be used to issue requests to the specified
gitlab API instance with the specified user private token and (for project_connection)
only to a specified project.
URL to the gitlab instance (e.g. https://gitlab.myserver.com)
login
name of user to login; either this or email or private token must be specified
email
email of user to login; either this or login or private token must be specified
password
password of user to login; if no private token but login or email is given, this must be specified
private_token
private_token with which to identify; either this or login/email + passsword must be specified to init connection
api_location
location of the gitlab API under the gitlab_url, usually and by default "/api/v3/"
project
id or name of project to issue requests to
Details
The returned function should serve as the primary way to access the gitlab
API in the following. It can take vector/character arguments in the same way
as the function gitlab does, as well as the convenience functions
provided by this package or written by the user. If it is passed such that
function it calls it with the arguments provided in ... and the gitlab
URL, api location and private_token provided when creating it via gitlab_connection.
Value
A function to access a specific gitlab API as a specific user, see details