Class: Gjallarhorn::Proxy::TraefikManager
- Defined in:
- lib/gjallarhorn/proxy/traefik_manager.rb
Overview
Traefik proxy manager for zero-downtime deployments
This is a placeholder implementation for Traefik support. Full implementation will be added in a future release.
Instance Attribute Summary
Attributes inherited from Manager
Instance Method Summary collapse
-
#status ⇒ Hash
Get traefik proxy status.
-
#switch_traffic(service_name:, from_containers:, to_container:) ⇒ void
Switch traffic from old containers to new container.
Methods inherited from Manager
create, #healthy?, #initialize, #restart
Constructor Details
This class inherits a constructor from Gjallarhorn::Proxy::Manager
Instance Method Details
#status ⇒ Hash
Get traefik proxy status
27 28 29 30 31 32 33 |
# File 'lib/gjallarhorn/proxy/traefik_manager.rb', line 27 def status { type: "traefik", status: "not_implemented", upstreams: [] } end |
#switch_traffic(service_name:, from_containers:, to_container:) ⇒ void
This method returns an undefined value.
Switch traffic from old containers to new container
20 21 22 |
# File 'lib/gjallarhorn/proxy/traefik_manager.rb', line 20 def switch_traffic(service_name:, from_containers:, to_container:) raise NotImplementedError, "Traefik proxy support not yet implemented" end |