Class: Mrsk::Commands::Registry
- Inherits:
-
Base
- Object
- Base
- Mrsk::Commands::Registry
show all
- Defined in:
- lib/mrsk/commands/registry.rb
Constant Summary
Constants inherited
from Base
Base::MAX_LOG_SIZE
Instance Attribute Summary
Attributes inherited from Base
#config
Instance Method Summary
collapse
Methods inherited from Base
#initialize, #run_over_ssh
Instance Method Details
#login ⇒ Object
4
5
6
|
# File 'lib/mrsk/commands/registry.rb', line 4
def login
docker :login, registry["server"], "-u", redact(registry["username"]), "-p", redact(registry["password"])
end
|
#logout ⇒ Object
8
9
10
|
# File 'lib/mrsk/commands/registry.rb', line 8
def logout
docker :logout, registry["server"]
end
|