OpenCIApiService class abstract
- Annotations
-
- @ChopperApi.new()
Constructors
Properties
- client ↔ ChopperClient
-
getter/setter pairinherited
- definitionType → Type
-
Used internally to retrieve the service from
ChopperClient.no setterinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
claimNextJob(
Map< String, dynamic> body) → Future<Response< Map< >String, dynamic> > -
claimNextWebhookTask(
) → Future< Response< Map< >String, dynamic> > -
completeJob(
String id, Map< String, dynamic> body) → Future<Response< void> > -
completeWebhookTask(
String id, Map< String, dynamic> body) → Future<Response< Map< >String, dynamic> > -
confirmGitHubConnection(
String teamId, String reference, int installationId) → Future< Response< GitHubConnectionConfirmationResult> > -
createBillingCheckout(
String teamId, String planId) → Future< Response< Map< >String, dynamic> > -
createBillingPortal(
String teamId) → Future< Response< Map< >String, dynamic> > -
createBuildJob(
Map< String, dynamic> body) → Future<Response< Map< >String, dynamic> > -
createRun(
String buildJobId, Map< String, dynamic> body) → Future<Response< void> > -
createTeam(
Map< String, dynamic> body) → Future<Response< Map< >String, dynamic> > -
deleteSecret(
String teamId, String name) → Future< Response< void> > -
deleteTeam(
String id) → Future< Response< void> > -
failWebhookTask(
String id, Map< String, dynamic> body) → Future<Response< Map< >String, dynamic> > -
fetchOpenCIFiles(
String teamId, String repo, String ref, {required String owner, required int installationId}) → Future< Response< List< >Map< >String, dynamic> > -
generateCertificateKey(
String teamId) → Future< Response< void> > -
getAllBuildRunLogs(
String buildJobId, String runId) → Future< Response< List< >String> > -
getBillingStatus(
String teamId) → Future< Response< Map< >String, dynamic> > -
getBuildJob(
String id) → Future< Response< Map< >String, dynamic> > -
getBuildStepLogs(
String buildJobId, String runId, String stepId) → Future< Response< List< >String> > -
getBuildSteps(
String buildJobId, String runId) → Future< Response< List< >BuildStep> > -
getCommitGroups(
String teamId, int? limit) → Future< Response< List< >CicdCommitGroup> > -
getDevices(
) → Future< Response< List< >UserDevice> > -
getGitHubConnectionCandidates(
String teamId, String reference) → Future< Response< GitHubConnectionCandidatesResult> > -
getGitHubConnectionSession(
String teamId, String reference) → Future< Response< GitHubConnectionSessionResult> > -
getJobEventPayload(
String buildJobId) → Future< Response< Map< >String, dynamic> > -
getJobSecrets(
String buildJobId) → Future< Response< Map< >String, dynamic> > -
getSecrets(
String teamId) → Future< Response< Map< >String, dynamic> > -
getSecretValue(
String teamId, String name) → Future< Response< Map< >String, dynamic> > -
getTeamByInstallationId(
int installationId) → Future< Response< Team> > -
getTeamMembers(
String id) → Future< Response< Map< >String, dynamic> > -
getTeams(
) → Future< Response< List< >Team> > -
getWebhookTaskChangedFiles(
String id) → Future< Response< ChangedFilesResult> > -
handleBuildJobStatusChange(
String buildJobId, Map< String, dynamic> body) → Future<Response< void> > -
inviteMember(
String id, Map< String, dynamic> body) → Future<Response< void> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reportBillingExecution(
Map< String, dynamic> body) → Future<Response< Map< >String, dynamic> > -
resolveInstallationToken(
String buildJobId) → Future< Response< Map< >String, dynamic> > -
saveSecret(
String teamId, Map< String, dynamic> body) → Future<Response< void> > -
seedLocalData(
Map< String, dynamic> body) → Future<Response< Map< >String, dynamic> > -
startBillingExecution(
Map< String, dynamic> body) → Future<Response< Map< >String, dynamic> > -
startGitHubConnection(
String teamId) → Future< Response< Map< >String, dynamic> > -
toString(
) → String -
A string representation of this object.
inherited
-
updateCheckRun(
String buildJobId, Map< String, dynamic> body) → Future<Response< void> > -
updateRunStatus(
String buildJobId, String runId, Map< String, dynamic> body) → Future<Response< void> > -
updateTeam(
String id, Map< String, dynamic> body) → Future<Response< void> >
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
create(
[ChopperClient? client]) → OpenCIApiService