- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 53 for envMap (0.12 sec)
-
src/test/java/org/codelibs/fess/helper/SystemHelperTest.java
try { envMap.put("COMPUTERNAME", "xxx"); assertEquals("xxx", systemHelper.getHostname()); } finally { envMap.remove("COMPUTERNAME"); } try { envMap.put("HOSTNAME", "yyy"); assertEquals("yyy", systemHelper.getHostname()); } finally { envMap.remove("HOSTNAME"); } }
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 18.5K bytes - Viewed (0) -
internal/config/config.go
envVars := candidates.ToSlice() for _, envVar := range envVars { for _, param := range validKeys { pEnvName := getEnvVarName(subSys, Default, param) + Default if len(envVar) > len(pEnvName) && strings.HasPrefix(envVar, pEnvName) { // This envVar is valid - it has a // non-empty target. candidates.Remove(envVar) } } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 37.8K bytes - Viewed (0) -
pkg/kubelet/container/helpers.go
func ExpandContainerVolumeMounts(mount v1.VolumeMount, envs []EnvVar) (string, error) { envmap := envVarsToMap(envs) missingKeys := sets.New[string]() expanded := expansion.Expand(mount.SubPathExpr, func(key string) string { value, ok := envmap[key] if !ok || len(value) == 0 { missingKeys.Insert(key) } return value
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.3K bytes - Viewed (0) -
src/cmd/go/internal/script/cmds.go
} } else { for _, env := range args { i := strings.Index(env, "=") if i < 0 { // Display value instead of setting it. fmt.Fprintf(out, "%s=%s\n", env, s.envMap[env]) continue } if err := s.Setenv(env[:i], env[i+1:]); err != nil { return nil, err } } } var wait WaitFunc if out.Len() > 0 || len(args) == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 28.5K bytes - Viewed (0) -
src/cmd/go/internal/envcmd/env.go
} ar, arChanged := cfg.EnvOrAndChanged("AR", "ar") env = append(env, cfg.EnvVar{Name: "AR", Value: ar, Changed: arChanged}) env = append(env, cfg.EnvVar{Name: "CC", Value: cc, Changed: ccChanged}) env = append(env, cfg.EnvVar{Name: "CXX", Value: cxx, Changed: cxxChanged}) if cfg.BuildContext.CgoEnabled { env = append(env, cfg.EnvVar{Name: "CGO_ENABLED", Value: "1", Changed: cfg.CGOChanged}) } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 17:13:51 UTC 2024 - 19.6K bytes - Viewed (0) -
pkg/kubelet/container/helpers_test.go
name string container *v1.Container envs []EnvVar expectedCommand []string expectedArgs []string }{ { name: "none", container: &v1.Container{}, }, { name: "command expanded", container: &v1.Container{ Command: []string{"foo", "$(VAR_TEST)", "$(VAR_TEST2)"}, }, envs: []EnvVar{ { Name: "VAR_TEST", Value: "zoo", }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 01:55:46 UTC 2024 - 24.5K bytes - Viewed (0) -
cmd/server-main.go
EnvVar: "MINIO_LISTENERS", Hidden: true, }, cli.StringFlag{ Name: "console-address", Usage: "bind to a specific ADDRESS:PORT for embedded Console UI, ADDRESS can be an IP or hostname", EnvVar: "MINIO_CONSOLE_ADDRESS", }, cli.DurationFlag{ Name: "shutdown-timeout", Value: xhttp.DefaultShutdownTimeout, Usage: "shutdown timeout to gracefully shutdown server", EnvVar: "MINIO_SHUTDOWN_TIMEOUT",
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 04 15:12:57 UTC 2024 - 34.5K bytes - Viewed (1) -
platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/api/plugins/ApplicationPluginIntegrationTest.groovy
commandLine './sample' environment ${envVar}: '`\$(touch "${exploit.absolutePath}")`' } """ fails('execStartScript') then: result.assertTaskExecuted(":execStartScript") !exploit.exists() where: envVar << ["JAVA_OPTS", "SAMPLE_OPTS"] } @Requires(UnitTestPreconditions.UnixDerivative)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 12 10:33:12 UTC 2024 - 23.6K bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/zz_generated.deepcopy.go
func (in *EnvVar) DeepCopyInto(out *EnvVar) { *out = *in in.EnvVar.DeepCopyInto(&out.EnvVar) return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVar. func (in *EnvVar) DeepCopy() *EnvVar { if in == nil { return nil } out := new(EnvVar) in.DeepCopyInto(out) return out }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 08:34:39 UTC 2024 - 25.2K bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/v1beta4/zz_generated.deepcopy.go
func (in *EnvVar) DeepCopyInto(out *EnvVar) { *out = *in in.EnvVar.DeepCopyInto(&out.EnvVar) return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVar. func (in *EnvVar) DeepCopy() *EnvVar { if in == nil { return nil } out := new(EnvVar) in.DeepCopyInto(out) return out }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 08:34:39 UTC 2024 - 24.1K bytes - Viewed (0)