Class: Capistrano::NetStorage::Transport::Base Abstract
- Inherits:
-
Object
- Object
- Capistrano::NetStorage::Transport::Base
- Defined in:
- lib/capistrano/net_storage/transport/base.rb
Overview
This class is abstract.
Abstract class to transport archive from/to remote storage
Instance Method Summary collapse
-
#check ⇒ Object
abstract
Check prerequisites for transport.
-
#download ⇒ Object
abstract
Download archive from remote storage to servers.
-
#find_uploaded ⇒ Object
abstract
Find uploaded archive to be deployed and set
:net_storage_uploaded_archive
its address. -
#upload ⇒ Object
abstract
Upload archive onto remote storage.
Instance Method Details
#check ⇒ Object
This method is abstract.
Check prerequisites for transport
9 10 11 |
# File 'lib/capistrano/net_storage/transport/base.rb', line 9 def check raise NotImplementedError end |
#download ⇒ Object
This method is abstract.
Download archive from remote storage to servers. Archive file should be placed at config.archive_path
28 29 30 |
# File 'lib/capistrano/net_storage/transport/base.rb', line 28 def download raise NotImplementedError end |
#find_uploaded ⇒ Object
This method is abstract.
Find uploaded archive to be deployed and set :net_storage_uploaded_archive
its address
15 16 17 |
# File 'lib/capistrano/net_storage/transport/base.rb', line 15 def find_uploaded raise NotImplementedError end |
#upload ⇒ Object
This method is abstract.
Upload archive onto remote storage
21 22 23 |
# File 'lib/capistrano/net_storage/transport/base.rb', line 21 def upload raise NotImplementedError end |