set_gitlab_connection function

Get/set a GitLab connection for all calls