From 2ff8a4453655f32f03bbade575de49504935413d Mon Sep 17 00:00:00 2001 From: crusader Date: Wed, 18 Apr 2018 16:07:32 +0900 Subject: [PATCH] ing --- probe/config/probe.go | 4 ---- probe/constants/path.go | 24 ++++++++++++++++++++++++ 2 files changed, 24 insertions(+), 4 deletions(-) create mode 100644 probe/constants/path.go diff --git a/probe/config/probe.go b/probe/config/probe.go index ac42efa..a0a5d35 100644 --- a/probe/config/probe.go +++ b/probe/config/probe.go @@ -1,9 +1,5 @@ package config -const ( - ConfigFileName = "config.json" -) - type ProbeStateType int const ( diff --git a/probe/constants/path.go b/probe/constants/path.go new file mode 100644 index 0000000..2788443 --- /dev/null +++ b/probe/constants/path.go @@ -0,0 +1,24 @@ +package constants + +const ( + ConfigFileName = "config.json" + LoggingConfigFileName = "logging.json" + + PathBin = "bin" + PathPID = "pid" + PathConfig = "config" + PathJRE = "jre" + 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" +)