- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 69 for expvar (3.6 sec)
-
src/net/http/fcgi/fcgi_test.go
r *http.Request, ) { env := ProcessEnv(r) if _, ok := env[tt.envVar]; ok && tt.expectedFilteredOut { t.Errorf("Expected environment variable %s to not be set, but set to %s", tt.envVar, env[tt.envVar]) } else if env[tt.envVar] != tt.expectedVal { t.Errorf("Expected %s, got %s", tt.expectedVal, env[tt.envVar]) } close(done) })) c.serve() <-done } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 11 18:51:39 UTC 2023 - 10.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) -
pkg/kubelet/cm/cpumanager/cpu_assignment_test.go
result, err := takeByTopologyNUMADistributed(tc.topo, tc.availableCPUs, tc.numCPUs, tc.cpuGroupSize) if err != nil { if tc.expErr == "" { t.Errorf("unexpected error [%v]", err) } if tc.expErr != "" && err.Error() != tc.expErr { t.Errorf("expected error to be [%v] but it was [%v]", tc.expErr, err) } return } if !result.Equals(tc.expResult) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 09 17:31:37 UTC 2023 - 22.7K bytes - Viewed (0) -
pkg/api/v1/pod/util.go
for _, env := range container.EnvFrom { if env.SecretRef != nil { if !visitor(env.SecretRef.Name) { return false } } } for _, envVar := range container.Env { if envVar.ValueFrom != nil && envVar.ValueFrom.SecretKeyRef != nil { if !visitor(envVar.ValueFrom.SecretKeyRef.Name) { return false } } } return true }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 24 17:18:04 UTC 2023 - 13.2K 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) -
pkg/kubelet/container/helpers.go
// of env vars. func envVarsToMap(envs []EnvVar) map[string]string { result := map[string]string{} for _, env := range envs { result[env.Name] = env.Value } return result } // v1EnvVarsToMap constructs a map of environment name to value from a slice // of env vars. func v1EnvVarsToMap(envs []v1.EnvVar) map[string]string { result := map[string]string{} for _, env := range envs {
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/syscall/mksyscall.pl
if($type =~ /^\*/) { push @args, "uintptr(unsafe.Pointer($name))"; } elsif($type eq "string" && $errvar ne "") { $text .= "\tvar _p$n *byte\n"; $text .= "\t_p$n, $errvar = BytePtrFromString($name)\n"; $text .= "\tif $errvar != nil {\n\t\treturn\n\t}\n"; push @args, "uintptr(unsafe.Pointer(_p$n))"; $n++; } elsif($type eq "string") {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 17:15:02 UTC 2024 - 10.3K bytes - Viewed (0) -
internal/auth/credentials.go
func ExpToInt64(expI interface{}) (expAt int64, err error) { switch exp := expI.(type) { case string: expAt, err = strconv.ParseInt(exp, 10, 64) case float64: expAt, err = int64(exp), nil case int64: expAt, err = exp, nil case int: expAt, err = int64(exp), nil case uint64: expAt, err = int64(exp), nil case uint: expAt, err = int64(exp), nil case json.Number:
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 28 17:14:16 UTC 2024 - 12K bytes - Viewed (0)