public class Pulse extends TaskClusterRequestHandler
The taskcluster-pulse service, typically available at pulse.taskcluster.net manages pulse credentials for taskcluster users.
A service to manage Pulse credentials for anything using Taskcluster credentials. This allows us self-service and greater control within the Taskcluster project.
| Modifier and Type | Field and Description |
|---|---|
protected static String |
defaultBaseURL |
| Constructor and Description |
|---|
Pulse() |
Pulse(Credentials credentials) |
Pulse(Credentials credentials,
String baseURL) |
Pulse(String baseURL) |
Pulse(String clientId,
String accessToken) |
Pulse(String clientId,
String accessToken,
String certificate) |
| Modifier and Type | Method and Description |
|---|---|
CallSummary<NamespaceCreationRequest,NamespaceCreationResponse> |
createNamespace(String namespace,
NamespaceCreationRequest payload)
Creates a namespace, given the taskcluster credentials with scopes.
|
CallSummary<EmptyPayload,Exchange[]> |
exchanges()
A list of exchanges in the rabbit cluster
|
CallSummary<EmptyPayload,EmptyPayload> |
namespace(String namespace)
Gets a namespace, given the taskcluster credentials with scopes.
|
CallSummary<EmptyPayload,RabbitOverviewResponse> |
overview()
An overview of the Rabbit cluster
|
CallSummary<EmptyPayload,EmptyPayload> |
ping()
Respond without doing anything.
|
apiCall, setBaseURL, uriEncodeprotected static final String defaultBaseURL
public Pulse(Credentials credentials)
public Pulse(Credentials credentials, String baseURL)
public Pulse(String baseURL)
public Pulse()
public CallSummary<EmptyPayload,RabbitOverviewResponse> overview() throws APICallFailure
An overview of the Rabbit cluster
APICallFailurepublic CallSummary<EmptyPayload,Exchange[]> exchanges() throws APICallFailure
A list of exchanges in the rabbit cluster
APICallFailurepublic CallSummary<NamespaceCreationRequest,NamespaceCreationResponse> createNamespace(String namespace, NamespaceCreationRequest payload) throws APICallFailure
Creates a namespace, given the taskcluster credentials with scopes.
Required scopes:
pulse:namespace:<namespace>APICallFailurepublic CallSummary<EmptyPayload,EmptyPayload> namespace(String namespace) throws APICallFailure
Gets a namespace, given the taskcluster credentials with scopes.
Required scopes:
pulse:namespace:<namespace>APICallFailurepublic CallSummary<EmptyPayload,EmptyPayload> ping() throws APICallFailure
Respond without doing anything. This endpoint is used to check that the service is up.
APICallFailureCopyright © 2014–2017 Mozilla. All rights reserved.