CloudCliServiceProvider class

A service provider for the Serverpod Cloud CLI. initialize should be called before first use. shutdown should be called after last use.

Constructors

CloudCliServiceProvider({Client apiClientFactory(GlobalConfiguration globalCfg)?, FileUploaderFactory? fileUploaderFactory})

Properties

cloudApiClient → Client
Gets a Client for the Serverpod Cloud. Will contain the authentication if the user is authenticated.
no setter
fileUploaderFactory → FileUploaderFactory
no setter
hashCode → int
The hash code for this object.
no setterinherited
initialized → bool
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scloudSettings → ScloudSettings
no setter

Methods

initialize({required GlobalConfiguration globalConfiguration, required CommandLogger logger}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shutdown() → void
toString() → String
A string representation of this object.
inherited

Operators

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