Class: Kamal::Commands::Builder::Remote
- Inherits:
-
Base
- Object
- Kamal::Commands::Base
- Base
- Kamal::Commands::Builder::Remote
- Defined in:
- lib/kamal/commands/builder/remote.rb
Direct Known Subclasses
Constant Summary
Constants inherited from Base
Base::ENDPOINT_DOCKER_HOST_INSPECT
Constants inherited from Kamal::Commands::Base
Kamal::Commands::Base::DOCKER_HEALTH_STATUS_FORMAT
Instance Attribute Summary
Attributes inherited from Kamal::Commands::Base
Instance Method Summary collapse
Methods inherited from Base
#build_context, #build_options, #clean, #first_mirror, #pull, #push, #validate_image
Methods inherited from Kamal::Commands::Base
#container_id_for, #initialize, #make_directory, #make_directory_for, #remove_directory, #remove_file, #run_over_ssh
Constructor Details
This class inherits a constructor from Kamal::Commands::Base
Instance Method Details
#create ⇒ Object
2 3 4 5 6 |
# File 'lib/kamal/commands/builder/remote.rb', line 2 def create chain \ create_remote_context, create_buildx end |
#info ⇒ Object
14 15 16 17 18 |
# File 'lib/kamal/commands/builder/remote.rb', line 14 def info chain \ docker(:context, :ls), docker(:buildx, :ls) end |
#inspect_builder ⇒ Object
20 21 22 23 24 25 |
# File 'lib/kamal/commands/builder/remote.rb', line 20 def inspect_builder combine \ combine inspect_buildx, inspect_remote_context, [ "(echo no compatible builder && exit 1)" ], by: "||" end |
#remove ⇒ Object
8 9 10 11 12 |
# File 'lib/kamal/commands/builder/remote.rb', line 8 def remove chain \ remove_remote_context, remove_buildx end |