project_operations library
Declared operations and owned server sessions for any project stack.
Classes
- ProjectBrowserSession
- A browser session over a declared project target.
- ProjectBrowserSessionOutcome
- The result of one attach or detach.
- ProjectCommand
- A declared command: exact argv, explicit working directory, explicit environment.
- ProjectDirectory
- A declared working directory for a command.
- ProjectEndpoint
- A declared endpoint a serve operation exposes.
- ProjectOperation
- One declared operation of a profile.
- ProjectOperationController
- Runs the declared operations of one profile against one project.
- ProjectOperationOutcome
- The captured result of one declared operation run.
- ProjectOperationProfile
- The commands one project kind publishes.
- ProjectOperationProfileCodec
- Reads and writes the declaration file of a project.
- ProjectReadiness
- A declared readiness probe for a serve operation.
Enums
- ProjectDirectoryKind
- Where a declared command runs.
- ProjectOperationKind
- What a declared operation does.
- ProjectReadinessKind
- How a declared readiness is probed.
- ProjectSessionOwnership
- Who owns the process behind a browser target.
Constants
- dartFlutterProfile → const ProjectOperationProfile
- A Dart or Flutter project.
-
projectOperationProfiles
→ const List<
ProjectOperationProfile> - The shipped fixture profiles.
- reactNpmProfile → const ProjectOperationProfile
- A Node/npm project.
Functions
-
projectOperationProfileById(
String id) → ProjectOperationProfile? -
The shipped profile whose id is
id, or null when no such profile ships.
Typedefs
-
ProjectProcessRunner
= Future<
BoundedRunResult> Function(String executable, List<String> arguments, {ProcessRunCancellation? cancellation, Map<String, String> ? environment, required Duration timeout, String? workingDirectory}) - Runs a bounded process for a declared project command.
Exceptions / Errors
- ProjectOperationProfileFormatException
- A refused declaration.