ProjectCommands class abstract

Constructors

ProjectCommands()

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

checkPlanAvailability(Client cloudApiClient, {required CommandLogger logger, required PlanProfile? plan}) Future<void>
Subcommand to check if the user is subscribed to a given plan, and if not whether the plan can be procured.
createDatabase(Client cloudApiClient, {required String projectId}) Future<Map<String, Object?>>
Requests database creation for an existing project.
createPlan(Client cloudApiClient, {required PlanProfile? plan}) Future<CreatedPlan>
Resolves or procures the subscription the new project will be created under.
createProject(Client cloudApiClient, {required String projectId, required UuidValue subscriptionId, required PlanProfile? plan}) Future<Map<String, Object?>>
Registers a new tenant project under subscriptionId.
deleteProject(Client cloudApiClient, {required String projectId}) Future<Map<String, Object?>>
linkProject(Client cloudApiClient, {required String projectId, required String projectDirectory, required String configFilePath, String? dartVersionOverride, List<String> preDeployScripts = const []}) Future<Map<String, Object?>>
listProjectsOperation(Client cloudApiClient, {bool showArchived = false}) Future<List<ProjectInfo>>
readPlanType(Client cloudApiClient, {required String projectId}) Future<PlanType?>
The plan type of projectId, or null if it could not be determined.
readSubscription(Client cloudApiClient, {required String projectId}) Future<SubscriptionInfo?>
Reads the subscription the project is billed under, or null if the project has no subscription.
showProjectOperation(Client cloudApiClient, {required String projectId}) Future<Map<String, Object?>>
Collects the profile of a project: when it was created, where it runs, its plan, and its compute and database capacity.

Constants

defaultPlan → const String