2025-09-23 14:34:24 +03:00
|
|
|
package constants
|
|
|
|
|
|
|
|
|
|
const (
|
|
|
|
|
RESTMACHINE = "/restmachine"
|
2025-09-27 01:06:15 +03:00
|
|
|
)
|
2025-09-23 14:34:24 +03:00
|
|
|
|
2025-09-27 01:06:15 +03:00
|
|
|
const (
|
|
|
|
|
MIMEJSON = "application/json"
|
|
|
|
|
MIMEHTML = "text/html"
|
|
|
|
|
MIMEXML = "application/xml"
|
|
|
|
|
MIMEXML2 = "text/xml"
|
|
|
|
|
MIMEPlain = "text/plain"
|
|
|
|
|
MIMEPOSTForm = "application/x-www-form-urlencoded"
|
|
|
|
|
MIMEMultipartPOSTForm = "multipart/form-data"
|
|
|
|
|
MIMEPROTOBUF = "application/x-protobuf"
|
|
|
|
|
MIMEMSGPACK = "application/x-msgpack"
|
|
|
|
|
MIMEMSGPACK2 = "application/msgpack"
|
|
|
|
|
MIMEYAML = "application/x-yaml"
|
|
|
|
|
MIMEYAML2 = "application/yaml"
|
|
|
|
|
MIMETOML = "application/toml"
|
|
|
|
|
MIMESTREAM = "application/octet-stream"
|
2025-09-23 14:34:24 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
var FileName = map[string]string{
|
|
|
|
|
"OidcCertificate": "ca.crt",
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var K8sValues = []string{"labels", "taints", "annotations, additionalSANs"}
|
2025-09-26 19:17:30 +03:00
|
|
|
|
|
|
|
|
var VersionMap = map[string]string{
|
2025-12-08 16:30:08 +03:00
|
|
|
"4.5.0": "-",
|
2025-09-27 01:06:15 +03:00
|
|
|
"4.4.0": "-",
|
2025-10-01 11:33:51 +03:00
|
|
|
"4.3.0": "-",
|
|
|
|
|
"4.2.0": "-",
|
|
|
|
|
"4.1.1": "-",
|
|
|
|
|
"4.1.0": "-",
|
2025-09-26 19:17:30 +03:00
|
|
|
}
|