Class: Kamal::Commands::Builder::Cloud
- Inherits:
-
Base
- Object
- Kamal::Commands::Base
- Base
- Kamal::Commands::Builder::Cloud
- Defined in:
- lib/kamal/commands/builder/cloud.rb
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
-
#create ⇒ Object
Expects ‘driver` to be of format “cloud docker-org-name/builder-name”.
- #remove ⇒ Object
Methods inherited from Base
#build_context, #build_options, #clean, #first_mirror, #info, #inspect_builder, #pull, #push, #validate_image
Methods inherited from Kamal::Commands::Base
#container_id_for, #ensure_docker_installed, #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
Expects ‘driver` to be of format “cloud docker-org-name/builder-name”
4 5 6 |
# File 'lib/kamal/commands/builder/cloud.rb', line 4 def create docker :buildx, :create, "--driver", driver end |
#remove ⇒ Object
8 9 10 |
# File 'lib/kamal/commands/builder/cloud.rb', line 8 def remove docker :buildx, :rm, builder_name end |