Class: SwarmClusterCliOpe::Kubernetes::SyncConfigs::Rsync
- Inherits:
-
SyncConfigs::Base
- Object
- Thor::Shell::Basic
- SyncConfigs::Base
- SwarmClusterCliOpe::Kubernetes::SyncConfigs::Rsync
- Includes:
- BaseDecorator
- Defined in:
- lib/swarm_cluster_cli_ope/kubernetes/sync_configs/rsync.rb
Instance Attribute Summary
Attributes inherited from SyncConfigs::Base
Instance Method Summary collapse
- #local_folder ⇒ String
- #pull ⇒ SwarmClusterCliOpe::ShellCommandResponse
- #push ⇒ SwarmClusterCliOpe::ShellCommandResponse
- #remote_folder ⇒ String
Methods inherited from SyncConfigs::Base
Methods included from LoggerConcern
Constructor Details
This class inherits a constructor from SwarmClusterCliOpe::SyncConfigs::Base
Instance Method Details
#local_folder ⇒ String
12 13 14 |
# File 'lib/swarm_cluster_cli_ope/kubernetes/sync_configs/rsync.rb', line 12 def local_folder @configs[:configs][:local] end |
#pull ⇒ SwarmClusterCliOpe::ShellCommandResponse
27 28 29 |
# File 'lib/swarm_cluster_cli_ope/kubernetes/sync_configs/rsync.rb', line 27 def pull execute(direction: :down) end |
#push ⇒ SwarmClusterCliOpe::ShellCommandResponse
22 23 24 |
# File 'lib/swarm_cluster_cli_ope/kubernetes/sync_configs/rsync.rb', line 22 def push execute(direction: :up) end |
#remote_folder ⇒ String
17 18 19 |
# File 'lib/swarm_cluster_cli_ope/kubernetes/sync_configs/rsync.rb', line 17 def remote_folder @configs[:configs][:remote] end |