struct

Hwaro::Services::Deployer::PlannedOp

Inherits JSON::Serializable / Struct / Value / Object

A single planned deployment operation produced by #plan. Used by hwaro deploy --dry-run --json so agents/CI can parse the list of files that would be copied, updated, or deleted for each target.

Constructors

new(target : String, action : String, path : String, source : String | Nil, destination : String | Nil)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

action
clone
Source
copy_with(target _target = @target, action _action = @action, path _path = @path, source _source = @source, destination _destination = @destination)
Source
destination
path
source
target