krystal/go-katapult

View on GitHub
core/testdata/TestLoadBalancerRule_JSONMarshalling/full.golden

Summary

Maintainability
Test Coverage
{
  "id": "arbitrary string",
  "algorithm": "sticky",
  "destination_port": 1024,
  "listen_port": 1337,
  "protocol": "HTTP",
  "proxy_protocol": true,
  "certificates": [
    {
      "id": "another abitrary string",
      "name": "cluster-42"
    }
  ],
  "backend_ssl": true,
  "passthrough_ssl": true,
  "check_enabled": true,
  "check_fall": 3,
  "check_interval": 50,
  "check_path": "/healthz",
  "check_protocol": "HTTP",
  "check_rise": 12,
  "check_timeout": 3,
  "check_http_statuses": "2",
  "load_balancer": {
    "id": "yet another abitrary string"
  }
}