MCPcopy Create free account
hub / github.com/nhost/nhost / authPatchPre022

Function authPatchPre022

cli/dockercompose/auth.go:16–28  ·  view source on GitHub ↗
(svc Service, useTLS bool)

Source from the content-addressed store, hash-verified

14}
15
16func authPatchPre022(svc Service, useTLS bool) *Service {
17 svc.Labels = Ingresses{
18 {
19 Name: "auth",
20 TLS: useTLS,
21 Rule: traefikHostMatch("auth"),
22 Port: authPort,
23 Rewrite: nil,
24 },
25 }.Labels()
26
27 return &svc
28}
29
30func auth( //nolint:funlen
31 cfg *model.ConfigConfig,

Callers 1

authFunction · 0.85

Calls 2

traefikHostMatchFunction · 0.85
LabelsMethod · 0.45

Tested by

no test coverage detected