Class: Superhosting::Controller::Admin
- Defined in:
- lib/superhosting/controller/admin.rb,
lib/superhosting/controller/admin/container.rb
Defined Under Namespace
Classes: Container
Instance Method Summary collapse
- #add(name:) ⇒ Object
- #container(name:, logger: @logger) ⇒ Object
- #delete(name:) ⇒ Object
- #passwd(name:, generate: nil) ⇒ Object
Methods inherited from Base
#command, #command!, #debug, #initialize
Methods included from Helpers
#create_conf, #erb, #instance_variables_to_hash, #remove_line_from_file, #write_if_not_exist
Constructor Details
This class inherits a constructor from Superhosting::Base
Instance Method Details
#add(name:) ⇒ Object
4 5 6 |
# File 'lib/superhosting/controller/admin.rb', line 4 def add(name:) end |
#container(name:, logger: @logger) ⇒ Object
16 17 18 |
# File 'lib/superhosting/controller/admin.rb', line 16 def container(name:, logger: @logger) Container.new(name: name, logger: logger) end |
#delete(name:) ⇒ Object
8 9 10 |
# File 'lib/superhosting/controller/admin.rb', line 8 def delete(name:) end |
#passwd(name:, generate: nil) ⇒ Object
12 13 14 |
# File 'lib/superhosting/controller/admin.rb', line 12 def passwd(name:, generate: nil) end |