Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,496 for found$ (0.22 sec)

  1. staging/src/k8s.io/cli-runtime/pkg/resource/fallback_query_param_verifier_test.go

    				Kind:    "Deployment",
    			},
    			queryParam:       "UnknownQueryParam",
    			primaryError:     errors.NewNotFound(schema.GroupResource{}, "OpenAPI V3 endpoint not found"),
    			expectedSupports: false,
    		},
    		"Field validation query param supported for found CRD, secondary verifier": {
    			crds: []schema.GroupKind{
    				{
    					Group: "example.com",
    					Kind:  "ExampleCRD",
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 10 18:30:16 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/types.go

    func (rt *DeclTypeProvider) FindFieldType(typeName, fieldName string) (*ref.FieldType, bool) {
    	st, found := rt.findDeclType(typeName)
    	if !found {
    		return rt.typeProvider.FindFieldType(typeName, fieldName)
    	}
    
    	f, found := st.Fields[fieldName]
    	if found {
    		ft := f.Type
    		expT, err := ft.ExprType()
    		if err != nil {
    			return nil, false
    		}
    		return &ref.FieldType{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 15:52:31 UTC 2023
    - 18K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/test/integration/defaulting_test.go

    		t.Helper()
    		for _, pth := range pths {
    			if _, found, _ := unstructured.NestedFieldNoCopy(obj, pth...); !found {
    				t.Errorf("Expected '%s' field was missing", strings.Join(pth, "."))
    			}
    		}
    	}
    	mustNotExist := func(obj map[string]interface{}, pths [][]string) {
    		t.Helper()
    		for _, pth := range pths {
    			if fld, found, _ := unstructured.NestedFieldNoCopy(obj, pth...); found {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 06 05:32:34 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/schemas_test.go

    	}
    	if len(cust.Fields) != 4 {
    		t.Errorf("incorrect number of fields, got %d, wanted 4", len(cust.Fields))
    	}
    	for _, f := range cust.Fields {
    		prop, found := ts.Properties[f.Name]
    		if !found {
    			t.Errorf("type field not found in schema, field: %s", f.Name)
    		}
    		fdv := f.DefaultValue()
    		if prop.Default.Object != nil {
    			pdv := types.DefaultTypeAdapter.NativeToValue(prop.Default.Object)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 14K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/cel/openapi/schemas_test.go

    	}
    	if len(cust.Fields) != 4 {
    		t.Errorf("incorrect number of fields, got %d, wanted 4", len(cust.Fields))
    	}
    	for _, f := range cust.Fields {
    		prop, found := ts.Properties[f.Name]
    		if !found {
    			t.Errorf("type field not found in schema, field: %s", f.Name)
    		}
    		fdv := f.DefaultValue()
    		if prop.Default != nil {
    			pdv := types.DefaultTypeAdapter.NativeToValue(prop.Default)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 14 17:18:27 UTC 2022
    - 13K bytes
    - Viewed (0)
  6. pkg/kubelet/userns/userns_manager.go

    	}
    	prevFrom, found := m.usedBy[pod]
    	if found && prevFrom != from {
    		return fmt.Errorf("different user namespace range already used by pod %q", pod)
    	}
    	index := int(from/userNsLength) - m.off
    	if index < 0 || index >= m.len {
    		return fmt.Errorf("id %v is out of range", from)
    	}
    	// if the pod wasn't found then verify the range is free.
    	if !found && m.used.Has(index) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  7. pkg/volume/csi/csi_test.go

    				t.Fatal("csiTest.VolumeAll DeviceMountablePlugin found with ephemeral volume")
    			}
    			if !test.isInline && devicePlug == nil {
    				t.Fatal("csiTest.VolumeAll DeviceMountablePlugin not found with PV")
    			}
    
    			var devUnmounter volume.DeviceUnmounter
    			if devicePlug != nil {
    				t.Log("csiTest.VolumeAll found DeviceMountablePlugin, entering device unmouting ...")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 15:55:13 UTC 2022
    - 21.1K bytes
    - Viewed (0)
  8. pkg/controller/history/controller_history.go

    	if lhs == nil || rhs == nil {
    		return lhs == rhs
    	}
    	if hs, found := lhs.Labels[ControllerRevisionHashLabel]; found {
    		hash, err := strconv.ParseInt(hs, 10, 32)
    		if err == nil {
    			lhsHash = new(uint32)
    			*lhsHash = uint32(hash)
    		}
    	}
    	if hs, found := rhs.Labels[ControllerRevisionHashLabel]; found {
    		hash, err := strconv.ParseInt(hs, 10, 32)
    		if err == nil {
    			rhsHash = new(uint32)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 05 13:33:52 UTC 2021
    - 18.2K bytes
    - Viewed (0)
  9. pkg/kubelet/stats/cri_stats_provider.go

    		containerID := stats.Attributes.Id
    		container, found := containerMap[containerID]
    		if !found {
    			continue
    		}
    
    		podSandboxID := container.PodSandboxId
    		podSandbox, found := podSandboxMap[podSandboxID]
    		if !found {
    			continue
    		}
    
    		// Creates the stats of the pod (if not created yet) which the
    		// container belongs to.
    		ps, found := sandboxIDToPodStats[podSandboxID]
    		if !found {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  10. pkg/registry/core/service/portallocator/allocator_test.go

    		t.Errorf("unexpected used %d", f)
    	}
    	found := sets.NewString()
    	count := 0
    	for r.Free() > 0 {
    		p, err := r.AllocateNext()
    		if err != nil {
    			t.Fatalf("error @ %d: %v", count, err)
    		}
    		count++
    		if !pr.Contains(p) {
    			t.Fatalf("allocated %d which is outside of %v", p, pr)
    		}
    		if found.Has(strconv.Itoa(p)) {
    			t.Fatalf("allocated %d twice @ %d", p, count)
    		}
    		found.Insert(strconv.Itoa(p))
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 07:15:02 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top