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 ( const (
MetaServiceTypeEnumUNKNOWN MetaServiceTypeEnum = iota + 1 MetaServiceTypeEnumUNKNOWN MetaServiceTypeEnum = iota + 1
MetaServiceTypeEnumNetwork MetaServiceTypeEnumNetwork
MetaServiceTypeEnumDirectory
MetaServiceTypeEnumMonitoring
MetaServiceTypeEnumDatabase MetaServiceTypeEnumDatabase
MetaServiceTypeEnumNoSQL MetaServiceTypeEnumNoSQL
MetaServiceTypeEnumMail MetaServiceTypeEnumMail
@ -28,25 +30,29 @@ const (
var ( var (
metaServiceTypeEnumID = map[MetaServiceTypeEnum]string{ metaServiceTypeEnumID = map[MetaServiceTypeEnum]string{
MetaServiceTypeEnumUNKNOWN: "UNKNOWN", MetaServiceTypeEnumUNKNOWN: "UNKNOWN",
MetaServiceTypeEnumNetwork: "NETWORK", MetaServiceTypeEnumNetwork: "NETWORK",
MetaServiceTypeEnumDatabase: "DATABASE", MetaServiceTypeEnumMonitoring: "MONITORING",
MetaServiceTypeEnumNoSQL: "NOSQL", MetaServiceTypeEnumDirectory: "DIRECTORY",
MetaServiceTypeEnumMail: "MAIL", MetaServiceTypeEnumDatabase: "DATABASE",
MetaServiceTypeEnumSearch: "SEARCH", MetaServiceTypeEnumNoSQL: "NOSQL",
MetaServiceTypeEnumWeb: "WEB", MetaServiceTypeEnumMail: "MAIL",
MetaServiceTypeEnumWAS: "WAS", MetaServiceTypeEnumSearch: "SEARCH",
MetaServiceTypeEnumWeb: "WEB",
MetaServiceTypeEnumWAS: "WAS",
} }
metaServiceTypeEnumKey = map[string]MetaServiceTypeEnum{ metaServiceTypeEnumKey = map[string]MetaServiceTypeEnum{
"UNKNOWN": MetaServiceTypeEnumUNKNOWN, "UNKNOWN": MetaServiceTypeEnumUNKNOWN,
"NETWORK": MetaServiceTypeEnumNetwork, "NETWORK": MetaServiceTypeEnumNetwork,
"DATABASE": MetaServiceTypeEnumDatabase, "MONITORING": MetaServiceTypeEnumMonitoring,
"NOSQL": MetaServiceTypeEnumNoSQL, "DIRECTORY": MetaServiceTypeEnumDirectory,
"MAIL": MetaServiceTypeEnumMail, "DATABASE": MetaServiceTypeEnumDatabase,
"SEARCH": MetaServiceTypeEnumSearch, "NOSQL": MetaServiceTypeEnumNoSQL,
"WEB": MetaServiceTypeEnumWeb, "MAIL": MetaServiceTypeEnumMail,
"WAS": MetaServiceTypeEnumWAS, "SEARCH": MetaServiceTypeEnumSearch,
"WEB": MetaServiceTypeEnumWeb,
"WAS": MetaServiceTypeEnumWAS,
} }
) )