Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 60 for envvars (0.18 sec)

  1. src/cmd/compile/internal/types2/assignments.go

    				hasErr = true
    			}
    			continue
    		}
    
    		// declare new variable
    		obj := NewVar(ident.Pos(), check.pkg, name, nil)
    		lhsVars[i] = obj
    		if name != "_" {
    			newVars = append(newVars, obj)
    		}
    		check.recordDef(ident, obj)
    	}
    
    	// create dummy variables where the lhs is invalid
    	for i, obj := range lhsVars {
    		if obj == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:21:43 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. src/cmd/go/internal/cfg/cfg.go

    	for _, exp := range exps {
    		expTags = append(expTags, "goexperiment."+exp)
    	}
    	BuildContext.ToolTags = append(expTags, BuildContext.ToolTags...)
    }
    
    // An EnvVar is an environment variable Name=Value.
    type EnvVar struct {
    	Name    string
    	Value   string
    	Changed bool // effective Value differs from default
    }
    
    // OrigEnv is the original environment of the program at startup.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/apis/kubeadm/types.go

    type ComponentConfigMap map[string]ComponentConfig
    
    // Arg represents an argument with a name and a value.
    type Arg struct {
    	Name  string
    	Value string
    }
    
    // EnvVar represents an environment variable present in a Container.
    type EnvVar struct {
    	v1.EnvVar
    }
    
    // EncryptionAlgorithmType can define an asymmetric encryption algorithm type.
    type EncryptionAlgorithmType string
    
    const (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 03:12:52 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  4. plugin/pkg/admission/serviceaccount/admission.go

    		for _, env := range container.Env {
    			if env.ValueFrom != nil && env.ValueFrom.SecretKeyRef != nil {
    				if !mountableSecrets.Has(env.ValueFrom.SecretKeyRef.Name) {
    					return fmt.Errorf("init container %s with envVar %s referencing secret.secretName=\"%s\" is not allowed because service account %s does not reference that secret", container.Name, env.Name, env.ValueFrom.SecretKeyRef.Name, serviceAccount.Name)
    				}
    			}
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 17:49:30 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. src/go/types/assignments.go

    				hasErr = true
    			}
    			continue
    		}
    
    		// declare new variable
    		obj := NewVar(ident.Pos(), check.pkg, name, nil)
    		lhsVars[i] = obj
    		if name != "_" {
    			newVars = append(newVars, obj)
    		}
    		check.recordDef(ident, obj)
    	}
    
    	// create dummy variables where the lhs is invalid
    	for i, obj := range lhsVars {
    		if obj == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/InProcessGradleExecuter.java

                for (String envVar : changedEnvVars) {
                    String oldValue = originalEnv.get(envVar);
                    if (oldValue != null) {
                        processEnvironment.maybeSetEnvironmentVariable(envVar, oldValue);
                    } else {
                        processEnvironment.maybeRemoveEnvironmentVariable(envVar);
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  7. istioctl/pkg/precheck/precheck.go

    		}
    		// Check if mitigation is already in place
    		for _, container := range deployment.Spec.Template.Spec.Containers {
    			if container.Name == "discovery" {
    				for _, envVar := range container.Env {
    					if envVar.Name == "ENHANCED_RESOURCE_SCOPING" && envVar.Value == "true" {
    						scopingImpacted = false
    						break
    					}
    				}
    			}
    		}
    		if scopingImpacted {
    			res := &resource.Instance{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 02:57:30 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/apis/kubeadm/v1beta4/types.go

    }
    
    // Arg represents an argument with a name and a value.
    type Arg struct {
    	Name  string `json:"name"`
    	Value string `json:"value"`
    }
    
    // EnvVar represents an environment variable present in a Container.
    type EnvVar struct {
    	corev1.EnvVar `json:",inline"`
    }
    
    // EncryptionAlgorithmType can define an asymmetric encryption algorithm type.
    type EncryptionAlgorithmType string
    
    const (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 03:12:52 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/controlplane/manifests_test.go

    		Scheduler: kubeadmapi.ControlPlaneComponent{ExtraEnvs: []kubeadmapi.EnvVar{
    			{
    				EnvVar: v1.EnvVar{Name: "Foo", Value: "Bar"},
    			},
    		}},
    	}
    
    	// Executes GetStaticPodSpecs
    	specs := GetStaticPodSpecs(cfg, &kubeadmapi.APIEndpoint{}, []kubeadmapi.EnvVar{})
    
    	var tests = []struct {
    		name          string
    		staticPodName string
    		env           []v1.EnvVar
    	}{
    		{
    			name:          "KubeAPIServer",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 14:43:47 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  10. pkg/api/pod/warnings_test.go

    				InitContainers: []api.Container{{Env: []api.EnvVar{
    					{Name: "a", Value: "a"},
    					{Name: "a", Value: "a"},
    					{Name: "a", Value: "other"},
    					{Name: "a", Value: ""},
    					{Name: "a", Value: "$(a)"},
    					{Name: "a", ValueFrom: &api.EnvVarSource{}},
    					{Name: "a", Value: "$(a) $(a)"}, // no warning
    				}}},
    				Containers: []api.Container{{Env: []api.EnvVar{
    					{Name: "b", Value: "b"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 42.1K bytes
    - Viewed (0)
Back to top