Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for expvar (0.12 sec)

  1. pkg/kubelet/kubelet_pods_test.go

    			ns:                 "test1",
    			enableServiceLinks: &falseValue,
    			container:          &v1.Container{Env: []v1.EnvVar{}},
    			nilLister:          false,
    			staticPod:          false,
    			unsyncedServices:   true,
    			expectedEnvs:       []kubecontainer.EnvVar{},
    			expectedError:      true,
    		},
    		{
    			name:               "if services aren't synced, static pods should succeed", // if there is no service
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K 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. 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)
  4. pkg/apis/core/zz_generated.deepcopy.go

    func (in *EnvVar) DeepCopyInto(out *EnvVar) {
    	*out = *in
    	if in.ValueFrom != nil {
    		in, out := &in.ValueFrom, &out.ValueFrom
    		*out = new(EnvVarSource)
    		(*in).DeepCopyInto(*out)
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVar.
    func (in *EnvVar) DeepCopy() *EnvVar {
    	if in == nil {
    		return nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go

    func (in *EnvVar) DeepCopyInto(out *EnvVar) {
    	*out = *in
    	if in.ValueFrom != nil {
    		in, out := &in.ValueFrom, &out.ValueFrom
    		*out = new(EnvVarSource)
    		(*in).DeepCopyInto(*out)
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVar.
    func (in *EnvVar) DeepCopy() *EnvVar {
    	if in == nil {
    		return nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/testdata/swagger.json

              "description": "The Secret to select from"
            }
          },
          "type": "object"
        },
        "io.k8s.api.core.v1.EnvVar": {
          "description": "EnvVar represents an environment variable present in a Container.",
          "properties": {
            "name": {
              "description": "Name of the environment variable. Must be a C_IDENTIFIER.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 229.4K bytes
    - Viewed (0)
  7. pkg/config/validation/validation_test.go

    			},
    			"", "",
    		},
    		{
    			"invalid vm config - invalid env name",
    			&extensions.WasmPlugin{
    				Url: "test.com/test",
    				VmConfig: &extensions.VmConfig{
    					Env: []*extensions.EnvVar{
    						{
    							Name:      "",
    							ValueFrom: extensions.EnvValueSource_HOST,
    						},
    					},
    				},
    			},
    			"spec.vmConfig.env invalid", "",
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
  8. src/cmd/go/internal/load/pkg.go

    	}
    	if ldflags := BuildLdflags.String(); ldflags != "" {
    		// https://go.dev/issue/52372: only include ldflags if -trimpath is not set,
    		// since it can include system paths through various linker flags (notably
    		// -extar, -extld, and -extldflags).
    		//
    		// TODO: since we control cmd/link, in theory we can parse ldflags to
    		// determine whether they may refer to system paths. If we do that, we can
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  9. pkg/controller/job/job_controller_test.go

    		fieldPath = fmt.Sprintf("metadata.annotations['%s']", batch.JobCompletionIndexAnnotation)
    	} else {
    		fieldPath = fmt.Sprintf("metadata.labels['%s']", batch.JobCompletionIndexAnnotation)
    	}
    	want := []v1.EnvVar{
    		{
    			Name: "JOB_COMPLETION_INDEX",
    			ValueFrom: &v1.EnvVarSource{
    				FieldRef: &v1.ObjectFieldSelector{
    					FieldPath: fieldPath,
    				},
    			},
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
Back to top