This commit is contained in:
crusader 2018-09-12 13:26:56 +09:00
parent bb07118097
commit 364679d149

View File

@ -18,6 +18,8 @@ type MetaServiceTypeEnum int
const (
MetaServiceTypeEnumUNKNOWN MetaServiceTypeEnum = iota + 1
MetaServiceTypeEnumNetwork
MetaServiceTypeEnumDirectory
MetaServiceTypeEnumMonitoring
MetaServiceTypeEnumDatabase
MetaServiceTypeEnumNoSQL
MetaServiceTypeEnumMail
@ -28,25 +30,29 @@ const (
var (
metaServiceTypeEnumID = map[MetaServiceTypeEnum]string{
MetaServiceTypeEnumUNKNOWN: "UNKNOWN",
MetaServiceTypeEnumNetwork: "NETWORK",
MetaServiceTypeEnumDatabase: "DATABASE",
MetaServiceTypeEnumNoSQL: "NOSQL",
MetaServiceTypeEnumMail: "MAIL",
MetaServiceTypeEnumSearch: "SEARCH",
MetaServiceTypeEnumWeb: "WEB",
MetaServiceTypeEnumWAS: "WAS",
MetaServiceTypeEnumUNKNOWN: "UNKNOWN",
MetaServiceTypeEnumNetwork: "NETWORK",
MetaServiceTypeEnumMonitoring: "MONITORING",
MetaServiceTypeEnumDirectory: "DIRECTORY",
MetaServiceTypeEnumDatabase: "DATABASE",
MetaServiceTypeEnumNoSQL: "NOSQL",
MetaServiceTypeEnumMail: "MAIL",
MetaServiceTypeEnumSearch: "SEARCH",
MetaServiceTypeEnumWeb: "WEB",
MetaServiceTypeEnumWAS: "WAS",
}
metaServiceTypeEnumKey = map[string]MetaServiceTypeEnum{
"UNKNOWN": MetaServiceTypeEnumUNKNOWN,
"NETWORK": MetaServiceTypeEnumNetwork,
"DATABASE": MetaServiceTypeEnumDatabase,
"NOSQL": MetaServiceTypeEnumNoSQL,
"MAIL": MetaServiceTypeEnumMail,
"SEARCH": MetaServiceTypeEnumSearch,
"WEB": MetaServiceTypeEnumWeb,
"WAS": MetaServiceTypeEnumWAS,
"UNKNOWN": MetaServiceTypeEnumUNKNOWN,
"NETWORK": MetaServiceTypeEnumNetwork,
"MONITORING": MetaServiceTypeEnumMonitoring,
"DIRECTORY": MetaServiceTypeEnumDirectory,
"DATABASE": MetaServiceTypeEnumDatabase,
"NOSQL": MetaServiceTypeEnumNoSQL,
"MAIL": MetaServiceTypeEnumMail,
"SEARCH": MetaServiceTypeEnumSearch,
"WEB": MetaServiceTypeEnumWeb,
"WAS": MetaServiceTypeEnumWAS,
}
)