Class: ActivePostgres::StandbyDeploymentFlow
- Inherits:
-
DeploymentFlow
- Object
- DeploymentFlow
- ActivePostgres::StandbyDeploymentFlow
- Defined in:
- lib/active_postgres/standby_deployment_flow.rb
Instance Attribute Summary collapse
-
#standby_host ⇒ Object
readonly
Returns the value of attribute standby_host.
Attributes inherited from DeploymentFlow
#config, #logger, #rollback_manager, #secrets, #skip_validation, #ssh_executor
Instance Method Summary collapse
-
#initialize(config, standby_host:) ⇒ StandbyDeploymentFlow
constructor
A new instance of StandbyDeploymentFlow.
Methods inherited from DeploymentFlow
Methods included from ComponentResolver
Constructor Details
#initialize(config, standby_host:) ⇒ StandbyDeploymentFlow
Returns a new instance of StandbyDeploymentFlow.
5 6 7 8 |
# File 'lib/active_postgres/standby_deployment_flow.rb', line 5 def initialize(config, standby_host:, **) super(config, **) @standby_host = standby_host end |
Instance Attribute Details
#standby_host ⇒ Object (readonly)
Returns the value of attribute standby_host.
3 4 5 |
# File 'lib/active_postgres/standby_deployment_flow.rb', line 3 def standby_host @standby_host end |