Runners
runners
Methods
CheckAuthenticationForHost asks a runner if the user is authenticated against a particular host, e.g. an SCM system. If not, this function will return a URL that the user should visit to authenticate, or indicate that Personal Access Tokens are supported.
CreateRunner creates a new runner with the server. Registrations are very short-lived and must be renewed every 30 seconds. Runners can be registered for an entire organisation or a single user.
CreateRunnerToken returns a token that can be used to authenticate as the runner. Use this call to renew an outdated token - this does not expire any previouly issued tokens.
DeleteRunner deletes an environment runner.
ListRunners returns all runners registered in the scope.
ParseContextURL asks a runner to parse a context URL, and return the parsed result.
This call returns
- FAILED_PRECONDITION if the user requires authentication on the runner to access the context URL
- PERMISSION_DENIED if the user is not allowed to access the context URL using the credentials they have
- INVALID_ARGUMENT if the context URL is invalid
- NOT_FOUND if the repository or branch indicated by the context URL does not exist
GetRunner returns a single runner.
Example: Authorization: Bearer My Bearer Token
UpdateRunner updates an environment runner.
Configurations
runners.configurations
Methods
ValidateRunnerConfiguration validates a runner configuration (e.g. environment class, SCM integration) with the runner.
runners.configurations.environment_classes
Methods
CreateEnvironmentClass creates a new environment class on a runner.
ListEnvironmentClasses returns all environment classes configured for a runner. buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
GetEnvironmentClass returns a single environment class configured for a runner.
UpdateEnvironmentClass updates an existing environment class on a runner.
runners.configurations.host_authentication_tokens
Methods
CreateHostAuthenticationToken
DeleteHostAuthenticationToken
ListHostAuthenticationTokens
GetHostAuthenticationToken
UpdateHostAuthenticationToken
runners.configurations.schema
Methods
GetRunnerConfigurationSchema retrieves the latest Runner configuration schema
runners.configurations.scm_integrations
Methods
CreateSCMIntegration creates a new SCM integration on a runner.
DeleteSCMIntegration deletes an existing SCM integration on a runner.
ListSCMIntegrations returns all SCM integrations configured for a runner.
GetSCMIntegration returns a single SCM integration configured for a runner.
UpdateSCMIntegration updates an existing SCM integration on a runner.
Policies
runners.policies
Methods
CreateRunnerPolicy creates a new runner policy.
DeleteRunnerPolicy deletes a runner policy.
ListRunnerPolicies lists runner policies.
UpdateRunnerPolicy an existing runner policy.