class

Cl8r::Model::HaproxyConfig

Inherits YAML::Serializable < Reference < Object

Models high-availability load balancing parameters for HAProxy and Keepalived VIP management.

Constructors

new(enable_stats : Bool = true, stats_port : Int32 = 1936, vips : Hash(String, Int32) = {} of String => Int32)

Initializes an HaproxyConfig with monitoring stats settings and port bindings.

Source
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Source

Instance methods

enable_stats=(enable_stats : Bool)
Source
enable_stats?
Source
stats_port
Source
stats_port=(stats_port : Int32)
Source
vips
Source
vips=(vips : Hash(String, Int32))
Source