DVInfraPlan class final

The steps for one host, and what they were computed from.

Constructors

DVInfraPlan({required String host, required String desiredDigest, required List<DVInfraStep> steps, List<String> unsupported = const <String>[], List<String> notes = const <String>[]})

Properties

desiredDigest → String
final
destructive → List<DVInfraStep>
no setter
digest → String
Identifies this plan: the manifest rendering and every step. An apply proceeds only when the plan it computes has the digest that was approved, so what is applied is what was read.
no setter
hashCode → int
The hash code for this object.
no setterinherited
host → String
final
isEmpty → bool
no setter
notes → List<String>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
steps → List<DVInfraStep>
final
unsupported → List<String>
Non-empty refuses the apply.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJsonString() → String
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJsonString(String text) → DVInfraPlan
Reads a plan written by toJsonString, refusing one whose digest does not match its steps: an edited plan file is not the plan approved.