Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 153 for expvar (1.51 sec)

  1. licenses/github.com/mattn/go-isatty/LICENSE

    Copyright (c) Yasuhiro MATSUMOTO <******@****.***>
    
    MIT License (Expat)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Oct 28 19:33:59 UTC 2019
    - 1.1K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_pods.go

    	)
    	for _, envVar := range container.Env {
    		runtimeVal := envVar.Value
    		if runtimeVal != "" {
    			// Step 1a: expand variable references
    			runtimeVal = expansion.Expand(runtimeVal, mappingFunc)
    		} else if envVar.ValueFrom != nil {
    			// Step 1b: resolve alternate env var sources
    			switch {
    			case envVar.ValueFrom.FieldRef != nil:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/apis/kubeadm/v1beta4/defaults.go

    	}
    	if obj.Timeouts == nil {
    		obj.Timeouts = &Timeouts{}
    	}
    	SetDefaults_Timeouts(obj.Timeouts)
    }
    
    // SetDefaults_EnvVar assigns default values for EnvVar.
    // +k8s:defaulter-gen=covers
    func SetDefaults_EnvVar(obj *EnvVar) {
    	if obj.ValueFrom != nil {
    		if obj.ValueFrom.FieldRef != nil {
    			if obj.ValueFrom.FieldRef.APIVersion == "" {
    				obj.ValueFrom.FieldRef.APIVersion = "v1"
    			}
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. security/pkg/nodeagent/cache/secretcache_test.go

    		t.Run(c.name, func(t *testing.T) {
    			err = sc.tryAddFileWatcher(c.filePath, dummyResourceName)
    			if err != c.expErr {
    				t.Fatalf("expected: %v, got: %v", c.expErr, err)
    			}
    			t.Logf("file watch: %v\n", sc.certWatcher.WatchList())
    			if c.expErr == nil && len(sc.certWatcher.WatchList()) != 1 {
    				t.Fatalf("expected certWatcher to watch 1 file, but it is watching: %d files", len(sc.certWatcher.WatchList()))
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  5. 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)
  6. pkg/credentialprovider/plugin/plugin_test.go

    			testcase.execPlugin.environ = func() []string {
    				return testcase.systemEnvVars
    			}
    
    			var configVars []string
    			for _, envVar := range testcase.execPlugin.envVars {
    				configVars = append(configVars, fmt.Sprintf("%s=%s", envVar.Name, envVar.Value))
    			}
    			merged := mergeEnvVars(testcase.systemEnvVars, configVars)
    
    			err := validate(testcase.expectedEnvVars, merged)
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 09 06:11:06 UTC 2022
    - 26.5K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/devicemanager/types.go

    }
    
    // DeviceRunContainerOptions contains the combined container runtime settings to consume its allocated devices.
    type DeviceRunContainerOptions struct {
    	// The environment variables list.
    	Envs []kubecontainer.EnvVar
    	// The mounts for the container.
    	Mounts []kubecontainer.Mount
    	// The host devices mapped into the container.
    	Devices []kubecontainer.DeviceInfo
    	// The Annotations for the container
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 5K bytes
    - Viewed (0)
  8. pkg/kube/inject/webhook_test.go

    	cases := []struct {
    		name               string
    		perviouslyInjected bool
    		in                 []corev1.EnvVar
    		probers            string
    		want               []corev1.EnvVar
    	}{
    		{
    			name:               "Append Prober",
    			perviouslyInjected: false,
    			in:                 []corev1.EnvVar{},
    			probers: `{"/app-health/bar/livez":{"httpGet":{"path":"/","port":9000,"scheme":"HTTP"}},` +
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 17 20:25:52 UTC 2023
    - 39K bytes
    - Viewed (1)
  9. 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)
  10. 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)
Back to top