Class: ActivePostgres::StandbyDeploymentFlow

Inherits:
DeploymentFlow show all
Defined in:
lib/active_postgres/standby_deployment_flow.rb

Instance Attribute Summary collapse

Attributes inherited from DeploymentFlow

#config, #logger, #rollback_manager, #secrets, #skip_validation, #ssh_executor

Instance Method Summary collapse

Methods inherited from DeploymentFlow

#execute

Methods included from ComponentResolver

#component_class_for

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_hostObject (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