Lightning.VersionControl.GithubClient (Lightning v2.15.16)

View Source

Tesla github http client we use this to make any network requests to github from Lightning

Summary

Functions

build_basic_auth_client(username, password)

build_bearer_client(token)

build_installation_client(installation_id)

build_oauth_client()

create_blob(client, repo, body)

create_commit(client, repo, body)

create_ref(client, repo, body)

create_repo_dispatch_event(client, repo_name, body)

create_repo_secret(client, repo, secret_name, body)

create_tree(client, repo, body)

create_workflow_dispatch_event(client, repo_name, workflow_id, body)

delete_app_grant(client, app_client_id, token)

delete_ref(client, repo, ref)

delete_repo_content(client, repo, path, body)

delete_repo_secret(client, repo, secret_name)

get_commit(client, repo, ref)

get_installation_repos(client, query \\ [page: 1, per_page: 100])

get_installations(client)

get_repo(client, repo_name)

get_repo_branches(client, repo_name)

get_repo_content(client, repo, path, ref)

get_repo_public_key(client, repo)

get_repo_secret(client, repo, secret_name)

update_ref(client, repo, ref, body)