Class: OsCtld::Commands::Container::MoveState
Instance Method Summary
collapse
#after_state_snapshot, #execute, #prepare_state!
#build_dataset_map, #cleanup_target_container!, #clear_failed_state_snapshot, #complete_target!, #destroy_local_transfer_snapshots, #ensure_target_staged_or_complete!, #find, #force_writeout, #require_local_transfer_log!, #snapshot_datasets, #snapshot_name, #start_target!, #target_ct, #target_pool, #transfer_dataset, #validate_dataset_layout!
Methods inherited from Logged
#base_execute, #find
Instance Method Details
#after_target_complete(log, running) ⇒ Object
17
18
19
|
# File 'lib/osctld/commands/container/move_state.rb', line 17
def after_target_complete(log, running)
start_target!(log) if running && opts.fetch(:start, true)
end
|
#operation ⇒ Object
9
10
11
|
# File 'lib/osctld/commands/container/move_state.rb', line 9
def operation
:move
end
|
#stop_source_for_state?(running) ⇒ Boolean
13
14
15
|
# File 'lib/osctld/commands/container/move_state.rb', line 13
def stop_source_for_state?(running)
running
end
|