openci_shared library
Classes
- BuildJob
- BuildJobPlan
- BuildStep
- ChangedFilesResult
- Changed repository paths for the webhook's base and head commits.
- CicdCommitGroup
- CicdJobGroup
- CicdWorkflowGroup
- ClaimJobRequest
- DateTimeConverter
- GitHubConnectionCandidate
- GitHubConnectionCandidatesResult
- GitHubConnectionConfirmationResult
- GitHubConnectionSession
- GitHubConnectionSessionResult
- JsonToTypeConverter
- LokiApiService
- OpenCIApiService
- OpenCIFile
- StepEvent
- StepLog
- Team
- TokenAuthInterceptor
- UserDevice
- WebhookTask
Enums
Extensions
- BuildJobPatterns on BuildJob
- Adds pattern-matching-related methods to BuildJob.
- BuildJobPlanPatterns on BuildJobPlan
- Adds pattern-matching-related methods to BuildJobPlan.
- BuildStepPatterns on BuildStep
- Adds pattern-matching-related methods to BuildStep.
- ChangedFilesResultPatterns on ChangedFilesResult
- Adds pattern-matching-related methods to ChangedFilesResult.
- CicdCommitGroupPatterns on CicdCommitGroup
- Adds pattern-matching-related methods to CicdCommitGroup.
- CicdJobGroupPatterns on CicdJobGroup
- Adds pattern-matching-related methods to CicdJobGroup.
- CicdWorkflowGroupPatterns on CicdWorkflowGroup
- Adds pattern-matching-related methods to CicdWorkflowGroup.
- ClaimJobRequestPatterns on ClaimJobRequest
- Adds pattern-matching-related methods to ClaimJobRequest.
- GitHubConnectionCandidatePatterns on GitHubConnectionCandidate
- Adds pattern-matching-related methods to GitHubConnectionCandidate.
- GitHubConnectionCandidatesResultPatterns on GitHubConnectionCandidatesResult
- Adds pattern-matching-related methods to GitHubConnectionCandidatesResult.
- GitHubConnectionConfirmationResultPatterns on GitHubConnectionConfirmationResult
- Adds pattern-matching-related methods to GitHubConnectionConfirmationResult.
- GitHubConnectionSessionPatterns on GitHubConnectionSession
- Adds pattern-matching-related methods to GitHubConnectionSession.
- GitHubConnectionSessionResultPatterns on GitHubConnectionSessionResult
- Adds pattern-matching-related methods to GitHubConnectionSessionResult.
- OpenCIFilePatterns on OpenCIFile
- Adds pattern-matching-related methods to OpenCIFile.
- StepEventPatterns on StepEvent
- Adds pattern-matching-related methods to StepEvent.
- StepLogPatterns on StepLog
- Adds pattern-matching-related methods to StepLog.
- TeamPatterns on Team
- Adds pattern-matching-related methods to Team.
- UserDevicePatterns on UserDevice
- Adds pattern-matching-related methods to UserDevice.
- WebhookTaskPatterns on WebhookTask
- Adds pattern-matching-related methods to WebhookTask.
Functions
-
buildWebSocketUri(
String baseUrl, String path, {Map< String, String> ? queryParameters}) → Uri -
constantTimeCompare(
List< int> a, List<int> b) → bool - Performs a constant-time comparison of two lists of integers (e.g., cryptographic signatures) to prevent timing attacks.
-
constantTimeCompareString(
String a, String b) → bool - Performs a constant-time comparison of two strings (e.g., API keys) to prevent timing attacks.
-
createOpenCIChopperClient(
{required String baseUrl, required FutureOr< String?> tokenProvider(), List<ChopperService> services = const []}) → ChopperClient -
getRequiredEnv(
String key, {Map< String, String> ? environment}) → String -
openCIRunZonedGuarded(
Future< void> body(), {void exitProcess(int) = exit}) → Future<void>