Enums§
- Assign
Ghes Installation Error - struct for typed errors of method
assign_ghes_installation - Delete
From Workspace Error - struct for typed errors of method
delete_from_workspace - Discover
Ghes Installations Error - struct for typed errors of method
discover_ghes_installations - Export
Installation Error - struct for typed errors of method
export_installation - GetCredential
Origin Error - struct for typed errors of method
get_credential_origin - GetGhes
Config Error - struct for typed errors of method
get_ghes_config - GetGlobal
Connected Repositories Error - struct for typed errors of method
get_global_connected_repositories - Ghes
Installation Callback Error - struct for typed errors of method
ghes_installation_callback - Import
Installation Error - struct for typed errors of method
import_installation - Install
From Workspace Error - struct for typed errors of method
install_from_workspace - List
Gitlab Projects Error - struct for typed errors of method
list_gitlab_projects - SetGit
Credential Error - struct for typed errors of method
set_git_credential - Unassign
Ghes Installation Error - struct for typed errors of method
unassign_ghes_installation
Functions§
- assign_
ghes_ installation - Assigns a discovered GHES App installation to a workspace. The resulting installation is marked as admin-provisioned, so workspace admins cannot remove it. Super-admin only.
- delete_
from_ workspace - Removes a GitHub installation from the specified workspace. Requires admin privileges.
- discover_
ghes_ installations - Lists every installation the configured self-managed GitHub App can see, annotated with the workspaces in this Windmill instance the installation is currently assigned to. Super-admin only.
- export_
installation - Exports the JWT token for a specific GitHub installation in the workspace
- get_
credential_ origin - Whether Windmill holds this repository’s access token, and which host it talks to.
heldmeans this workspace stores it,borrowedmeans an ancestor does and it is not this workspace’s to replace. Both absent means the repository authenticates with whatever its URL carries. Returns no secret. Requires workspace admin. - get_
ghes_ config - Returns the GitHub Enterprise Server app configuration (without private key) for constructing the installation URL
- get_
global_ connected_ repositories - ghes_
installation_ callback - Register a self-managed GitHub App installation from GitHub Enterprise Server
- import_
installation - Imports a GitHub installation from a JWT token exported from another instance
- install_
from_ workspace - list_
gitlab_ projects - Lists the projects the supplied GitLab token can push to, so a git repository resource can be filled in without hand-writing a project path. The token is used for this call only and is never stored. Requires workspace admin.
- set_
git_ credential - Stores the access token a git repository authenticates with, so it does not have to be written into the repository URL or a workspace variable. The token is write-only: it is served only to a git-sync job that presents its own job token, and a fork of this workspace reads this copy instead of holding one of its own. Requires workspace admin.
- unassign_
ghes_ installation - Removes an installation (admin-provisioned or otherwise) from a workspace. Super-admin only. Does not affect the installation on the GitHub side.