Class: DokkuClient::Plugins::Memcached
- Inherits:
-
Base
- Object
- Base
- DokkuClient::Plugins::Memcached
show all
- Defined in:
- lib/dokku_client/plugins/memcached.rb
Constant Summary
Constants inherited
from Base
Base::GIT_DIR, Base::KEYS_AND_QUESTIONS
Instance Attribute Summary
Attributes inherited from Base
#options
Instance Method Summary
collapse
Methods inherited from Base
#common_description, #dokku, #git_directory_present?, #initialize, #plugin_enabled, #reconfig
Instance Method Details
#commands(opts) ⇒ Object
28
29
30
|
# File 'lib/dokku_client/plugins/memcached.rb', line 28
def commands opts
common_description('memcached', opts)
end
|
#create_memcached ⇒ Object
8
9
10
|
# File 'lib/dokku_client/plugins/memcached.rb', line 8
def create_memcached
dokku "memcached:create #{@options["project-name"]}"
end
|
#delete_memcached ⇒ Object
12
13
14
|
# File 'lib/dokku_client/plugins/memcached.rb', line 12
def delete_memcached
dokku "memcached:delete #{@options["project-name"]}"
end
|
#info_memcached ⇒ Object
16
17
18
|
# File 'lib/dokku_client/plugins/memcached.rb', line 16
def info_memcached
dokku "memcached:info #{@options["project-name"]}"
end
|
#link_memcached(container) ⇒ Object
24
25
26
|
# File 'lib/dokku_client/plugins/memcached.rb', line 24
def link_memcached container
dokku "memcached:link #{@options["project-name"]} #{container}"
end
|
#logs_memcached ⇒ Object
20
21
22
|
# File 'lib/dokku_client/plugins/memcached.rb', line 20
def logs_memcached
dokku "memcached:logs #{@options["project-name"]}"
end
|
#run ⇒ Object
5
6
|
# File 'lib/dokku_client/plugins/memcached.rb', line 5
def run
end
|