2024-03-14 14:52:56 +03:00
|
|
|
package constants
|
|
|
|
|
|
2024-04-16 14:26:06 +03:00
|
|
|
const (
|
|
|
|
|
RESTMACHINE = "/restmachine"
|
2025-08-29 12:51:25 +03:00
|
|
|
)
|
2024-04-16 14:26:06 +03:00
|
|
|
|
2025-08-29 12:51:25 +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"
|
2024-04-16 14:26:06 +03:00
|
|
|
)
|
2024-03-14 14:52:56 +03:00
|
|
|
|
|
|
|
|
var FileName = map[string]string{
|
|
|
|
|
"OidcCertificate": "ca.crt",
|
|
|
|
|
}
|
2024-05-31 13:35:39 +03:00
|
|
|
|
|
|
|
|
var K8sValues = []string{"labels", "taints", "annotations, additionalSANs"}
|
2025-06-26 13:21:52 +03:00
|
|
|
|
|
|
|
|
var VersionMap = map[string]string{
|
2025-12-08 16:16:35 +03:00
|
|
|
"4.5.0": "-",
|
2025-10-02 12:36:47 +03:00
|
|
|
"4.4.0": "-",
|
2025-06-26 13:21:52 +03:00
|
|
|
"4.3.0": "-",
|
2025-10-02 12:36:47 +03:00
|
|
|
"4.2.0": "-",
|
|
|
|
|
"4.1.1": "-",
|
|
|
|
|
"4.1.0": "-",
|
2025-06-26 13:21:52 +03:00
|
|
|
}
|