EndpointAdminProjectsMock class
Methods
-
getDeployAttempts({required String cloudCapsuleId, int? limit})
→ Future<List<DeployAttempt>>
-
Gets deploy attempts of the specified capsule.
Gets the recent-most attempts, up till
limit if specified.
inherited
-
listProjects({bool? includeArchived})
→ Future<List<Project>>
-
Fetches the list of all projects.
The result includes the owners for each project.
inherited
-
listProjectsInfo({bool? includeArchived, bool? includeLatestDeployAttemptTime})
→ Future<List<ProjectInfo>>
-
Fetches the list of all projects.
The result includes the owners for each project
and the latest deploy attempt time (or null if undeployed).
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
redeployCapsule(String cloudProjectId)
→ Future<void>
-
Redeploys a capsule using its current image.
Triggers a deploymentUpdated event to redeploy the infrastructure.
inherited
-
resetStream()
→ void
-
Resets web socket stream, so it's possible to re-listen to endpoint
streams.
inherited
-
sendStreamMessage(SerializableModel message)
→ Future<void>
-
Sends a message to the endpoint's stream.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited