Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 60 for envvars (0.43 sec)

  1. src/cmd/compile/internal/dwarfgen/dwinl.go

    			// inliner for which there is no remaining prog; add a new
    			// entry to the call list in this scenario.
    			idx = insertInlCall(&inlcalls, ii, imap)
    		}
    		inlcalls.Calls[idx].InlVars =
    			append(inlcalls.Calls[idx].InlVars, dwv)
    	}
    
    	// Post process the map above to assign child indices to vars.
    	//
    	// A given variable is treated differently depending on whether it
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:45:07 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  2. cni/pkg/plugin/plugin_test.go

    	pod, ns := buildFakePodAndNSForClient()
    	pod.ObjectMeta.Annotations[sidecarStatusKey] = "true"
    	pod.Spec.Containers = append(pod.Spec.Containers, corev1.Container{
    		Name: "istio-init",
    		Env:  []corev1.EnvVar{{Name: "DISABLE_ENVOY", Value: "true"}},
    	})
    
    	mockIntercept := testDoAddRun(t, buildMockConf(true, ""), testNSName, pod, ns)
    
    	if len(mockIntercept.lastRedirect) != 0 {
    		t.Fatalf("failed to exclude pod")
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  3. src/internal/testenv/testenv.go

    	}
    	// Add all environment variables that affect the Go command to test metadata.
    	// Cached test results will be invalidate when these variables change.
    	// See golang.org/issue/32285.
    	for _, envVar := range strings.Fields(cfg.KnownEnv) {
    		os.Getenv(envVar)
    	}
    	return path
    }
    
    var (
    	gorootOnce sync.Once
    	gorootPath string
    	gorootErr  error
    )
    
    func findGOROOT() (string, error) {
    	gorootOnce.Do(func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  4. misc/ios/go_ios_exec.go

    	if err != nil {
    		return err
    	}
    	defer closer()
    
    	return runDevice(appdir, bundleID, os.Args[2:])
    }
    
    func getenv(envvar string) string {
    	s := os.Getenv(envvar)
    	if s == "" {
    		log.Fatalf("%s not set\nrun $GOROOT/misc/ios/detect.go to attempt to autodetect", envvar)
    	}
    	return s
    }
    
    func assembleApp(appdir, bin string) error {
    	if err := os.MkdirAll(appdir, 0755); err != nil {
    		return err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 23.4K bytes
    - Viewed (0)
  5. pkg/kubelet/container/runtime.go

    	// The size of the image in bytes.
    	Size int64
    	// ImageSpec for the image which include annotations.
    	Spec ImageSpec
    	// Pin for preventing garbage collection
    	Pinned bool
    }
    
    // EnvVar represents the environment variable.
    type EnvVar struct {
    	Name  string
    	Value string
    }
    
    // Annotation represents an annotation.
    type Annotation struct {
    	Name  string
    	Value string
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/devicemanager/pod_devices_test.go

    				},
    				Mounts: []kubecontainer.Mount{
    					{Name: "/home/lib1", HostPath: "/home/lib1", ContainerPath: "/home/lib1", ReadOnly: true},
    				},
    				Envs: []kubecontainer.EnvVar{
    					{Name: "ENV1", Value: "VALUE1"},
    				},
    			},
    		},
    		{
    			description: "cdi devices are handled when feature gate is enabled",
    			gate:        true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. pkg/kube/inject/inject_test.go

    			}
    		})
    	}
    }
    
    func podWithEnv(envCount int) *corev1.Pod {
    	envs := []corev1.EnvVar{}
    	for i := 0; i < envCount; i++ {
    		envs = append(envs, corev1.EnvVar{
    			Name:  fmt.Sprintf("something-%d", i),
    			Value: "blah",
    		})
    	}
    	return &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "foo",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 20:35:11 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  8. pilot/pkg/model/extensions_test.go

    							WasmResourceVersionEnv: "dummy-resource-version",
    						},
    					},
    				},
    			},
    		},
    		{
    			desc: "Build VMConfig on top of a base VMConfig",
    			vm: &extensions.VmConfig{
    				Env: []*extensions.EnvVar{
    					{
    						Name:      "POD_NAME",
    						ValueFrom: extensions.EnvValueSource_HOST,
    					},
    					{
    						Name:  "ENV1",
    						Value: "VAL1",
    					},
    				},
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  9. pkg/wasm/imagefetcher.go

    	fetchOpts := make([]remote.Option, 0, 2)
    	// TODO(mathetake): have "Anonymous" option?
    	if opt.useDefaultKeyChain() {
    		// Note that default key chain reads the docker config from DOCKER_CONFIG
    		// so must set the envvar when reaching this branch is expected.
    		fetchOpts = append(fetchOpts, remote.WithAuthFromKeychain(authn.DefaultKeychain))
    	} else {
    		fetchOpts = append(fetchOpts, remote.WithAuthFromKeychain(&wasmKeyChain{data: opt.PullSecret}))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Dec 10 05:44:51 UTC 2023
    - 12K bytes
    - Viewed (0)
  10. pkg/controller/job/indexed_job_utils.go

    	} else {
    		fieldPath = fmt.Sprintf("metadata.annotations['%s']", batch.JobCompletionIndexAnnotation)
    	}
    	container.Env = append(container.Env, v1.EnvVar{
    		Name: completionIndexEnvName,
    		ValueFrom: &v1.EnvVarSource{
    			FieldRef: &v1.ObjectFieldSelector{
    				FieldPath: fieldPath,
    			},
    		},
    	})
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 00:44:53 UTC 2023
    - 17.5K bytes
    - Viewed (0)
Back to top