Hwaro::Services::Deployer::DeployResult
Inherits JSON::Serializable / Struct / Value / Object
Per-target summary emitted by #deploy_structured for
hwaro deploy --json (non dry-run). Shape is part of the stable
JSON schema per issue #374 — agents/CI consume these fields.
error is nil when status == "ok". When set, it mirrors the
classified HwaroError payload (code, category, message,
hint) so the shape lines up with top-level error payloads.
Constructors
new(name : String, status : String, created : Int32, updated : Int32, deleted : Int32, duration_ms : Float64, error : Hash(String, String | Nil) | Nil = nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
clone
Sourcecopy_with(name _name = @name, status _status = @status, created _created = @created, updated _updated = @updated, deleted _deleted = @deleted, duration_ms _duration_ms = @duration_ms, error _error = @error)
Sourcecreated
deleted
duration_ms
error
name
status
updated