Class: Indocker::DeploymentPolicy
- Inherits:
-
Object
- Object
- Indocker::DeploymentPolicy
- Defined in:
- lib/indocker/deployment_policy.rb
Instance Attribute Summary collapse
-
#auto_confirm ⇒ Object
readonly
Returns the value of attribute auto_confirm.
-
#deploy_containers ⇒ Object
readonly
Returns the value of attribute deploy_containers.
-
#deploy_tags ⇒ Object
readonly
Returns the value of attribute deploy_tags.
-
#force_restart ⇒ Object
readonly
Returns the value of attribute force_restart.
-
#require_confirmation ⇒ Object
readonly
Returns the value of attribute require_confirmation.
-
#servers ⇒ Object
readonly
Returns the value of attribute servers.
-
#skip_build ⇒ Object
readonly
Returns the value of attribute skip_build.
-
#skip_containers ⇒ Object
readonly
Returns the value of attribute skip_containers.
-
#skip_dependent ⇒ Object
readonly
Returns the value of attribute skip_dependent.
-
#skip_deploy ⇒ Object
readonly
Returns the value of attribute skip_deploy.
-
#skip_force_restart ⇒ Object
readonly
Returns the value of attribute skip_force_restart.
-
#skip_tags ⇒ Object
readonly
Returns the value of attribute skip_tags.
Instance Method Summary collapse
-
#initialize(deploy_containers:, deploy_tags:, servers:, skip_dependent:, skip_tags:, skip_containers:, skip_build:, skip_deploy:, force_restart:, skip_force_restart:, auto_confirm:, require_confirmation:) ⇒ DeploymentPolicy
constructor
A new instance of DeploymentPolicy.
Constructor Details
#initialize(deploy_containers:, deploy_tags:, servers:, skip_dependent:, skip_tags:, skip_containers:, skip_build:, skip_deploy:, force_restart:, skip_force_restart:, auto_confirm:, require_confirmation:) ⇒ DeploymentPolicy
Returns a new instance of DeploymentPolicy.
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/indocker/deployment_policy.rb', line 6 def initialize(deploy_containers:, deploy_tags:, servers:, skip_dependent:, skip_tags:, skip_containers:, skip_build:, skip_deploy:, force_restart:, skip_force_restart:, auto_confirm:, require_confirmation:) @deploy_containers = deploy_containers @deploy_tags = @servers = servers @skip_dependent = skip_dependent @skip_tags = @skip_containers = skip_containers @skip_build = skip_build @skip_deploy = skip_deploy @force_restart = force_restart @skip_force_restart = skip_force_restart @auto_confirm = auto_confirm @require_confirmation = require_confirmation end |
Instance Attribute Details
#auto_confirm ⇒ Object (readonly)
Returns the value of attribute auto_confirm.
2 3 4 |
# File 'lib/indocker/deployment_policy.rb', line 2 def auto_confirm @auto_confirm end |
#deploy_containers ⇒ Object (readonly)
Returns the value of attribute deploy_containers.
2 3 4 |
# File 'lib/indocker/deployment_policy.rb', line 2 def deploy_containers @deploy_containers end |
#deploy_tags ⇒ Object (readonly)
Returns the value of attribute deploy_tags.
2 3 4 |
# File 'lib/indocker/deployment_policy.rb', line 2 def @deploy_tags end |
#force_restart ⇒ Object (readonly)
Returns the value of attribute force_restart.
2 3 4 |
# File 'lib/indocker/deployment_policy.rb', line 2 def force_restart @force_restart end |
#require_confirmation ⇒ Object (readonly)
Returns the value of attribute require_confirmation.
2 3 4 |
# File 'lib/indocker/deployment_policy.rb', line 2 def require_confirmation @require_confirmation end |
#servers ⇒ Object (readonly)
Returns the value of attribute servers.
2 3 4 |
# File 'lib/indocker/deployment_policy.rb', line 2 def servers @servers end |
#skip_build ⇒ Object (readonly)
Returns the value of attribute skip_build.
2 3 4 |
# File 'lib/indocker/deployment_policy.rb', line 2 def skip_build @skip_build end |
#skip_containers ⇒ Object (readonly)
Returns the value of attribute skip_containers.
2 3 4 |
# File 'lib/indocker/deployment_policy.rb', line 2 def skip_containers @skip_containers end |
#skip_dependent ⇒ Object (readonly)
Returns the value of attribute skip_dependent.
2 3 4 |
# File 'lib/indocker/deployment_policy.rb', line 2 def skip_dependent @skip_dependent end |
#skip_deploy ⇒ Object (readonly)
Returns the value of attribute skip_deploy.
2 3 4 |
# File 'lib/indocker/deployment_policy.rb', line 2 def skip_deploy @skip_deploy end |
#skip_force_restart ⇒ Object (readonly)
Returns the value of attribute skip_force_restart.
2 3 4 |
# File 'lib/indocker/deployment_policy.rb', line 2 def skip_force_restart @skip_force_restart end |
#skip_tags ⇒ Object (readonly)
Returns the value of attribute skip_tags.
2 3 4 |
# File 'lib/indocker/deployment_policy.rb', line 2 def @skip_tags end |