SkiaPerfDestination class
A MetricDestination that conforms to Skia Perf's protocols.
- Inheritance
-
- Object
- MetricDestination
- SkiaPerfDestination
Constructors
- SkiaPerfDestination(SkiaPerfGcsAdaptor _gcs, GcsLock? _lock)
- Creates a new SkiaPerfDestination.
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
-
update(
List< MetricPoint> points, DateTime commitTime, String taskName) → Future<void> -
Insert new data points or modify old ones with matching id.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
make(
AuthClient client, String projectId, {bool isTesting = false}) → Future< SkiaPerfDestination> -
Create from an
AuthClient
and a GCP project id. -
makeFromAccessToken(
String token, String projectId, {bool isTesting = false}) → Future< SkiaPerfDestination> - Create from an access token and its project id.
-
makeFromGcpCredentials(
Map< String, dynamic> credentialsJson, {bool isTesting = false}) → Future<SkiaPerfDestination> - Create from a full credentials json (of a service account).