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)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
action
clone
Sourcecopy_with(target _target = @target, action _action = @action, path _path = @path, source _source = @source, destination _destination = @destination)
Sourcedestination
path
source
target