GitOpsDeploy class
Constructors
- GitOpsDeploy({bool? automated, String? deployedAt, int? id, String? revision, String? startedAt})
- Returns a new GitOpsDeploy instance.
Properties
- automated ↔ bool?
-
Automated is whether CD started this deploy itself, from its own polling of the tracked git ref (initiatedBy.automated), rather than someone asking for it.
getter/setter pair
- deployedAt ↔ String?
-
DeployedAt is when the apply finished, RFC 3339. Absent when CD recorded none.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- id ↔ int?
-
ID is CD's own sequence number for this deploy (status.history[].id). It increases with every applied revision, so the largest id in
historyis the most recent deploy — which is the first entry, since the list is reversed.getter/setter pair - revision ↔ String?
-
Revision is the git commit this deploy applied, as CD recorded it.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startedAt ↔ String?
-
StartedAt is when CD began applying the revision (deployStartedAt), RFC 3339. Absent when CD recorded none.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic value) → GitOpsDeploy? -
Returns a new GitOpsDeploy instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< GitOpsDeploy> -
mapFromJson(
dynamic json) → Map< String, GitOpsDeploy> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< GitOpsDeploy> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.