Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 153 for expvar (0.17 sec)

  1. 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)
  2. src/cmd/compile/internal/rangefunc/rewrite.go

    func (r *rewriter) next() *syntax.Name {
    	if r.nextVar == nil {
    		r.nextVar = r.declVar("#next", r.int.Type(), nil)
    	}
    	return r.useObj(r.nextVar)
    }
    
    // forRangeFunc checks whether n is a range-over-func.
    // If so, it returns n.(*syntax.ForStmt), true.
    // Otherwise it returns nil, false.
    func forRangeFunc(n syntax.Node) (*syntax.ForStmt, bool) {
    	nfor, ok := n.(*syntax.ForStmt)
    	if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. pkg/bootstrap/config.go

    		}
    		v := e[metaPrefixLen:]
    		if !isEnvVar(v) {
    			continue
    		}
    		metaKey, metaVal := parseEnvVar(v)
    		set(meta, metaKey, metaVal)
    	}
    }
    
    func shouldExtract(envVar, prefix string) bool {
    	return strings.HasPrefix(envVar, prefix)
    }
    
    func isEnvVar(str string) bool {
    	return strings.Contains(str, "=")
    }
    
    func parseEnvVar(varStr string) (string, string) {
    	parts := strings.SplitN(varStr, "=", 2)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:02:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  6. 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)
  7. pkg/api/pod/util_test.go

    				EnvFrom: []api.EnvFromSource{{
    					SecretRef: &api.SecretEnvSource{
    						LocalObjectReference: api.LocalObjectReference{
    							Name: "Spec.Containers[*].EnvFrom[*].SecretRef"}}}},
    				Env: []api.EnvVar{{
    					ValueFrom: &api.EnvVarSource{
    						SecretKeyRef: &api.SecretKeySelector{
    							LocalObjectReference: api.LocalObjectReference{
    								Name: "Spec.Containers[*].Env[*].ValueFrom.SecretKeyRef"}}}}}}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/dwarf_test.go

    	mustHaveDWARF(t)
    	t.Parallel()
    
    	const prog = `
    package main
    
    import "fmt"
    
    type CustomInt int
    
    func testfn[T any](arg T) {
    	var mapvar = make(map[int]T)
    	mapvar[0] = arg
    	fmt.Println(arg, mapvar)
    }
    
    func main() {
    	testfn(CustomInt(3))
    }
    `
    
    	dir := t.TempDir()
    	f := gobuild(t, dir, prog, NoOpt)
    	defer f.Close()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 01:38:11 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  9. 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)
  10. docs/pt/docs/tutorial/security/first-steps.md

    	* Um "token" é apenas uma string com algum conteúdo que nós podemos utilizar mais tarde para verificar o usuário.
    	* Normalmente, um token é definido para expirar depois de um tempo.
    		* Então, o usuário terá que se logar de novo depois de um tempo.
    		* E se o token for roubado, o risco é menor. Não é como se fosse uma chave permanente que vai funcionar para sempre (na maioria dos casos).
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top