|
|
@ -364,37 +364,30 @@ func combine(value string, combineWith []string) string {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: use HostProcWithContext instead
|
|
|
|
|
|
|
|
func HostProc(combineWith ...string) string {
|
|
|
|
func HostProc(combineWith ...string) string {
|
|
|
|
return GetEnv("HOST_PROC", "/proc", combineWith...)
|
|
|
|
return GetEnv("HOST_PROC", "/proc", combineWith...)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: use HostSysWithContext instead
|
|
|
|
|
|
|
|
func HostSys(combineWith ...string) string {
|
|
|
|
func HostSys(combineWith ...string) string {
|
|
|
|
return GetEnv("HOST_SYS", "/sys", combineWith...)
|
|
|
|
return GetEnv("HOST_SYS", "/sys", combineWith...)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: use HostEtcWithContext instead
|
|
|
|
|
|
|
|
func HostEtc(combineWith ...string) string {
|
|
|
|
func HostEtc(combineWith ...string) string {
|
|
|
|
return GetEnv("HOST_ETC", "/etc", combineWith...)
|
|
|
|
return GetEnv("HOST_ETC", "/etc", combineWith...)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: use HostVarWithContext instead
|
|
|
|
|
|
|
|
func HostVar(combineWith ...string) string {
|
|
|
|
func HostVar(combineWith ...string) string {
|
|
|
|
return GetEnv("HOST_VAR", "/var", combineWith...)
|
|
|
|
return GetEnv("HOST_VAR", "/var", combineWith...)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: use HostRunWithContext instead
|
|
|
|
|
|
|
|
func HostRun(combineWith ...string) string {
|
|
|
|
func HostRun(combineWith ...string) string {
|
|
|
|
return GetEnv("HOST_RUN", "/run", combineWith...)
|
|
|
|
return GetEnv("HOST_RUN", "/run", combineWith...)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: use HostDevWithContext instead
|
|
|
|
|
|
|
|
func HostDev(combineWith ...string) string {
|
|
|
|
func HostDev(combineWith ...string) string {
|
|
|
|
return GetEnv("HOST_DEV", "/dev", combineWith...)
|
|
|
|
return GetEnv("HOST_DEV", "/dev", combineWith...)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: use HostRootWithContext instead
|
|
|
|
|
|
|
|
func HostRoot(combineWith ...string) string {
|
|
|
|
func HostRoot(combineWith ...string) string {
|
|
|
|
return GetEnv("HOST_ROOT", "/", combineWith...)
|
|
|
|
return GetEnv("HOST_ROOT", "/", combineWith...)
|
|
|
|
}
|
|
|
|
}
|
|
|
|