DVPreviewDeployment class final
What the adapter deploys.
Constructors
-
DVPreviewDeployment({required DVPreviewIdentity identity, required DVPreviewVisibility visibility, required Map<
String, String> secrets, String? linkDigest, String? productionOrigin, String? productionDatabase, Set<String> schedules = const <String>{}}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- identity → DVPreviewIdentity
-
final
- linkDigest → String?
-
SHA-256 of the link token, for
visibility: link. The token itself is never part of a deployment: platform environment variables are readable by everybody who can read the deployment's settings.final - productionDatabase → String?
-
Production's database name -- a name, not a credential -- so the
running preview can refuse to start on it.
final
- productionOrigin → String?
-
Where the canonical link of every preview page points.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
schedules
→ Set<
String> -
final
-
secrets
→ Map<
String, String> -
Preview values only. See dvPlanPreviewSecrets.
final
-
variables
→ Map<
String, String> -
The process environment the preview runs with. The Dartvel names are
written after the secrets, so a secret declared under one of them cannot
move the preview onto production's environment.
no setter
- visibility → DVPreviewVisibility
-
final
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