/ˈTræfɪk/
{{range $keyProviders, $valueProviders := .Configurations}} {{range $keyFrontends, $valueFrontends := $valueProviders.Frontends}}
{{$keyFrontends}} - ({{$keyProviders}})
{{$valueFrontends.Backend}}
Route
Rule
Value
{{range $keyRoutes, $valueRoutes := $valueFrontends.Routes}}
{{$keyRoutes}}
{{$valueRoutes.Rule}}
{{$valueRoutes.Value}}
{{end}}
{{end}} {{end}}
{{range $keyProviders, $valueProviders := .Configurations}} {{range $keyBackends, $valueBackends := $valueProviders.Backends}}
{{$keyBackends}}({{$keyProviders}})
{{with $valueBackends.LoadBalancer}}
Load Balancer: {{.Method}}
{{end}} {{with $valueBackends.CircuitBreaker}}
Circuit Breaker: {{.Expression}}
{{end}}
Server
URL
Weight
{{range $keyServers, $valueServers := $valueBackends.Servers}}
{{$keyServers}}
{{$valueServers.URL}}
{{$valueServers.Weight}}
{{end}}
{{end}} {{end}}