ing
This commit is contained in:
parent
fac45a284d
commit
ad004e327e
|
@ -5,25 +5,36 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
const (
|
||||||
|
ContainerGeneralBinFileName = "general.jar"
|
||||||
|
ContainerGeneralLoggingConfigFileName = "general.logging.json"
|
||||||
|
|
||||||
|
ContainerNetworkBinFileName = "network"
|
||||||
|
ContainerNetworkLoggingConfigFileName = "network.logging.json"
|
||||||
|
|
||||||
|
ContainerDiscoveryBinFileName = "discovery"
|
||||||
|
ContainerDiscoveryLoggingConfigFileName = "discovery.logging.json"
|
||||||
|
)
|
||||||
|
|
||||||
type ContainerType int
|
type ContainerType int
|
||||||
|
|
||||||
const (
|
const (
|
||||||
DISCOVERY ContainerType = iota
|
ContainerDiscovery ContainerType = iota
|
||||||
NETWORK
|
ContainerNetwork
|
||||||
GENERNAL
|
ContainerGenernal
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
containerTypeID = map[ContainerType]string{
|
containerTypeID = map[ContainerType]string{
|
||||||
DISCOVERY: "DISCOVERY",
|
ContainerDiscovery: "DISCOVERY",
|
||||||
NETWORK: "NETWORK",
|
ContainerNetwork: "NETWORK",
|
||||||
GENERNAL: "GENERNAL",
|
ContainerGenernal: "GENERNAL",
|
||||||
}
|
}
|
||||||
|
|
||||||
containerTypeName = map[string]ContainerType{
|
containerTypeName = map[string]ContainerType{
|
||||||
"DISCOVERY": DISCOVERY,
|
"DISCOVERY": ContainerDiscovery,
|
||||||
"NETWORK": NETWORK,
|
"NETWORK": ContainerNetwork,
|
||||||
"GENERNAL": GENERNAL,
|
"GENERNAL": ContainerGenernal,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -9,16 +9,4 @@ const (
|
||||||
PathConfig = "config"
|
PathConfig = "config"
|
||||||
PathJRE = "jre"
|
PathJRE = "jre"
|
||||||
PathLogs = "logs"
|
PathLogs = "logs"
|
||||||
|
|
||||||
ContainerGeneralName = "general"
|
|
||||||
ContainerGeneralFileName = "general.jar"
|
|
||||||
ContainerGeneralLogConfigFileName = "general.logging.json"
|
|
||||||
|
|
||||||
ContainerNetworkName = "network"
|
|
||||||
ContainerNetworkFileName = "network"
|
|
||||||
ContainerNetworkLogConfigFileName = "network.logging.json"
|
|
||||||
|
|
||||||
ContainerDiscoveryName = "discovery"
|
|
||||||
ContainerDiscoveryFileName = "discovery"
|
|
||||||
ContainerDiscoveryLogConfigFileName = "discovery.logging.json"
|
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user