DVPreviewIdentity class final

The names of one branch's preview and its resources.

Constructors

DVPreviewIdentity.forBranch({required String app, required String branch})
factory
DVPreviewIdentity.fromJson(Map<String, Object?> json)
Reads back what toJson wrote. The names are taken as recorded rather than derived again, so a record written before a naming change still names the resources that actually exist -- which are the ones a teardown has to reach.
factory

Properties

branch → String
The branch as it was typed.
final
bucket → String
The storage bucket, valid under S3's naming rules.
final
database → String
The database, as a SQL identifier. At most 63 characters, the Postgres limit past which a name is silently truncated -- into another preview's.
final
hashCode → int
The hash code for this object.
no setterinherited
hostLabel → String
The DNS label the preview is served under. At most 63 characters.
final
name → String
The preview's own name: a slug of the branch and its digest.
final
queueNamespace → String
The prefix every queue of this preview lives under.
final
resourceNames → Set<String>
The names of every resource, for comparing against production's.
no setter
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
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

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