Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 140 for envvars (0.12 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. internal/config/certs.go

    	}
    
    	return x509Certs, nil
    }
    
    // LoadX509KeyPair - load an X509 key pair (private key , certificate)
    // from the provided paths. The private key may be encrypted and is
    // decrypted using the ENV_VAR: MINIO_CERT_PASSWD.
    func LoadX509KeyPair(certFile, keyFile string) (tls.Certificate, error) {
    	certPEMBlock, err := os.ReadFile(certFile)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  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/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)
  8. tests/integration/pilot/multicluster_test.go

    			template := deps.Items[0].Spec.Template.Spec
    			for _, container := range template.Containers {
    				if container.Name != "discovery" {
    					continue
    				}
    				container.Env = append(container.Env, corev1.EnvVar{
    					Name:  "PILOT_REMOTE_CLUSTER_TIMEOUT",
    					Value: "15s",
    				})
    			}
    			_, err = pods.Create(context.TODO(), &corev1.Pod{
    				ObjectMeta: podMeta,
    				Spec:       deps.Items[0].Spec.Template.Spec,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. ci/official/README.md

    #   of these env files.
    #
    #   If you've clicked on a test result from our CI (via a dashboard or GitHub link),
    #   click to "Invocation Details" and find BUILD_CONFIG, which will contain a TFCI
    #   value in the "env_vars" list that you can choose to copy that environment.
    #      Ex. 1: TFCI=py311,linux_x86_cuda,nightly_upload  (nightly job)
    #      Ex. 2: TFCI=py39,linux_x86,rbe                   (continuous job)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 01 03:21:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. 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)
Back to top