class SwarmClusterCliOpe::SyncConfigs::Copy
Public Instance Methods
local_folder()
click to toggle source
@return [String]
# File lib/swarm_cluster_cli_ope/sync_configs/copy.rb, line 6 def local_folder @configs[:configs][:local] end
pull()
click to toggle source
@return [TrueClass, FalseClass]
# File lib/swarm_cluster_cli_ope/sync_configs/copy.rb, line 21 def pull say "#{remote_folder} -->> #{local_folder}" if container.copy_out(remote_folder,local_folder) end
push()
click to toggle source
@return [TrueClass, FalseClass]
# File lib/swarm_cluster_cli_ope/sync_configs/copy.rb, line 16 def push say "#{local_folder} -->> #{remote_folder}" if container.copy_in(local_folder,remote_folder) end
remote_folder()
click to toggle source
@return [String]
# File lib/swarm_cluster_cli_ope/sync_configs/copy.rb, line 11 def remote_folder @configs[:configs][:remote] end