ing
This commit is contained in:
parent
38f12b4fbe
commit
9d56a49b7d
|
@ -14,12 +14,12 @@ var (
|
||||||
ContainerBinFileName = map[ContainerType]string{
|
ContainerBinFileName = map[ContainerType]string{
|
||||||
ContainerDiscovery: "container_discovery",
|
ContainerDiscovery: "container_discovery",
|
||||||
ContainerNetwork: "container_network",
|
ContainerNetwork: "container_network",
|
||||||
ContainerGenernal: "container_general.jar",
|
ContainerGeneral: "container_general.jar",
|
||||||
}
|
}
|
||||||
ContainerLoggingConfigFileName = map[ContainerType]string{
|
ContainerLoggingConfigFileName = map[ContainerType]string{
|
||||||
ContainerDiscovery: "discovery.logging.json",
|
ContainerDiscovery: "discovery.logging.json",
|
||||||
ContainerNetwork: "network.logging.json",
|
ContainerNetwork: "network.logging.json",
|
||||||
ContainerGenernal: "general.logging.xml",
|
ContainerGeneral: "general.logging.xml",
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -28,20 +28,20 @@ type ContainerType int
|
||||||
const (
|
const (
|
||||||
ContainerDiscovery ContainerType = iota
|
ContainerDiscovery ContainerType = iota
|
||||||
ContainerNetwork
|
ContainerNetwork
|
||||||
ContainerGenernal
|
ContainerGeneral
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
containerTypeID = map[ContainerType]string{
|
containerTypeID = map[ContainerType]string{
|
||||||
ContainerDiscovery: "DISCOVERY",
|
ContainerDiscovery: "DISCOVERY",
|
||||||
ContainerNetwork: "NETWORK",
|
ContainerNetwork: "NETWORK",
|
||||||
ContainerGenernal: "GENERNAL",
|
ContainerGeneral: "GENERAL",
|
||||||
}
|
}
|
||||||
|
|
||||||
containerTypeName = map[string]ContainerType{
|
containerTypeName = map[string]ContainerType{
|
||||||
"DISCOVERY": ContainerDiscovery,
|
"DISCOVERY": ContainerDiscovery,
|
||||||
"NETWORK": ContainerNetwork,
|
"NETWORK": ContainerNetwork,
|
||||||
"GENERNAL": ContainerGenernal,
|
"GENERAL": ContainerGeneral,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user