TopOperations class abstract

Constructors

TopOperations()

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

fetchSnapshot(Client cloudApiClient, {required String projectId, required int deploymentLimit, required int logLimit}) → Future<TopSnapshot>
Fetches the status, deployments, metrics and recent logs of projectId.
watchSnapshots(Client cloudApiClient, {required TopSnapshot initial, required String projectId, required Duration interval, required Duration metricsInterval, required int deploymentLimit, required int logLimit}) → Stream<TopSnapshot>
Keeps initial up to date and emits a snapshot on every change, until the listener cancels.

Constants

metricsWindow → const Duration
The length of the window that the metrics series cover.