hermes.commands.init.connect_gitlab

Attributes

Classes

Functions

is_url_gitlab(→ bool)

Module Contents

hermes.commands.init.connect_gitlab.default_scopes = 'api write_repository'
hermes.commands.init.connect_gitlab.device_code_addition = 'oauth/authorize_device'
hermes.commands.init.connect_gitlab.token_addition = 'oauth/token'
hermes.commands.init.connect_gitlab.site_specific_oauth_clients
hermes.commands.init.connect_gitlab.is_url_gitlab(url: str) bool
class hermes.commands.init.connect_gitlab.GitLabConnection(project_url: str)
project_url: str
base_url: str
api_url: str = 'api/v4/'
project_namespace_name: str
gitlab_instance_name: str = 'GitLab (Uninferable)'
client_id: str = ''
access_token: str = ''
project_id: str = ''
oauth_process() hermes.commands.init.oauth_process.OauthProcess
has_client() bool
authorize(token: str = '') bool
create_project_access_token(name: str, scopes: list[str] = None) str
create_variable(key: str, value, description: str = '') bool