-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvar.go
34 lines (31 loc) · 1.01 KB
/
var.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package controller
const (
AppImageName = "jkaninda/goma-gateway"
ConfigPath = "/etc/goma"
CertsPath = "/etc/goma/certs"
BelongsTo = "goma-gateway"
GatewayConfigVersion = "2"
FinalizerName = "gomaproj.github.io/resources.finalizer"
ConfigName = "goma.yml"
TLSCertFile = "/etc/goma/certs/tls.crt"
TLSKeyFile = "/etc/goma/certs/tls.key"
)
// Middlewares type
const (
AccessMiddleware = "access" // access middlewares
BasicAuth = "basic" // basic authentication middlewares
JWTAuth = "jwt" // JWT authentication middlewares
OAuth = "oauth" // OAuth authentication middlewares
accessPolicy = "accessPolicy"
addPrefix = "addPrefix"
RateLimit = "rateLimit"
redirectRegex = "redirectRegex"
rewriteRegex = "rewriteRegex"
forwardAuth = "forwardAuth"
httpCache = "httpCache"
redirectScheme = "redirectScheme"
bodyLimit = "bodyLimit"
)
var (
ReplicaCount int32 = 1
)