StatusCommands class abstract

Status subcommand implementations

Constructors

StatusCommands()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fetchDeployAttemptStatus(Client cloudApiClient, {required String cloudCapsuleId, required UuidValue attemptId}) Future<({List<DeployAttemptStage> stages, DateTime? startedAt})>
fetchRuntimeStatus(Client cloudApiClient, {required String projectId}) Future<CapsuleRuntimeStatus>
stageElapsed(DeployAttemptStage? stage, {DateTime? now}) Duration?
The time a stage has taken according to its server-side timestamps.
statusLine(DeployAttemptStage stage) String
tailDeploymentStatus(Client cloudApiClient, {required CommandLogger logger, required String baseCommand, required String cloudCapsuleId, required UuidValue attemptId, CommandNames commandNames = CommandNames.public, bool skipUploadStage = false, Stream<void>? processSignalStreamOverride, int maxReconnectRetries = 3, Duration reconnectDelay = const Duration(seconds: 2)}) Future<void>
watchRuntimeStatus(Client cloudApiClient, {required String projectId, required Duration interval, required Stream<void> stop}) Stream<CapsuleRuntimeStatus>
Polls the runtime status of projectId every interval until stop emits, then closes.

Constants

progressMessagePadLength → const int