Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 473 for kindOf (0.21 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch.go

    func index(l []interface{}, valToLookUp interface{}, mergeKey string, kind reflect.Kind) int {
    	var getValFn func(interface{}) interface{}
    	// Get the correct `getValFn` based on item `kind`.
    	// It should return the value of merge key for maps and
    	// return the item for other kinds.
    	switch kind {
    	case reflect.Map:
    		getValFn = func(item interface{}) interface{} {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 23:34:23 UTC 2023
    - 75.5K bytes
    - Viewed (0)
  2. pkg/controller/disruption/disruption_test.go

    			apiResources: []metav1.APIResource{
    				{
    					Kind: customGVK.Kind,
    					Name: resourceName,
    				},
    				{
    					Kind: customGVK.Kind,
    					Name: resourceName + "/scale",
    				},
    			},
    			expectError: true,
    		},
    		"resource does not implement scale": {
    			apiResources: []metav1.APIResource{
    				{
    					Kind: customGVK.Kind,
    					Name: resourceName,
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
  3. pkg/apis/flowcontrol/validation/validation_test.go

    			field.Forbidden(field.NewPath("spec").Child("rules").Index(0).Child("subjects").Index(0).Child("user"), "user is forbidden when subject kind is not 'User'"),
    			field.Forbidden(field.NewPath("spec").Child("rules").Index(0).Child("subjects").Index(0).Child("group"), "group is forbidden when subject kind is not 'Group'"),
    		},
    	}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 54.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/deadness_analysis.cc

        Predicate::Kind kind = pred->kind();
    
        if (kind == Predicate::Kind::kAnd || kind == Predicate::Kind::kOr) {
          std::vector<Predicate*> new_operands;
          absl::c_transform(pred->GetOperands(), std::back_inserter(new_operands),
                            [&](Predicate* p) { return MakeNotPredicate(p); });
          return kind == Predicate::Kind::kOr ? MakeAndPredicate(new_operands)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/admissionregistration/v1beta1/types.go

    }
    
    // ParamKind is a tuple of Group Kind and Version.
    // +structType=atomic
    type ParamKind struct {
    	// APIVersion is the API group version the resources belong to.
    	// In format of "group/version".
    	// Required.
    	APIVersion string `json:"apiVersion,omitempty" protobuf:"bytes,1,rep,name=apiVersion"`
    
    	// Kind is the API kind the resources belong to.
    	// Required.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 60.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/admissionregistration/v1/types.go

    }
    
    // ParamKind is a tuple of Group Kind and Version.
    // +structType=atomic
    type ParamKind struct {
    	// APIVersion is the API group version the resources belong to.
    	// In format of "group/version".
    	// Required.
    	APIVersion string `json:"apiVersion,omitempty" protobuf:"bytes,1,rep,name=apiVersion"`
    
    	// Kind is the API kind the resources belong to.
    	// Required.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 61.6K bytes
    - Viewed (0)
  7. istioctl/pkg/proxyconfig/testdata/config_dump.json

                    "@type": "type.googleapis.com/envoy.extensions.transport_sockets.internal_upstream.v3.InternalUpstreamTransport",
                    "passthrough_metadata": [
                      {
                        "kind": {
                          "host": {}
                        },
                        "name": "envoy.filters.listener.original_dst"
                      }
                    ],
                    "transport_socket": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 03 23:08:06 UTC 2024
    - 54.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler.go

    		}
    		kind := schema.GroupVersionKind{Group: crd.Spec.Group, Version: v.Name, Kind: crd.Status.AcceptedNames.Kind}
    		if len(kind.Kind) == 0 {
    			utilruntime.HandleError(fmt.Errorf("CustomResourceDefinition %s has unexpected empty status.acceptedNames.kind", crd.Name))
    			return nil, fmt.Errorf("the server could not properly serve the kind")
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  9. src/encoding/xml/marshal_test.go

    			t.Errorf("#%d: marshal(%#v) = [error] %v, want %v", idx, test.Value, err, test.Err)
    		}
    		if test.Kind != reflect.Invalid {
    			if kind := err.(*UnsupportedTypeError).Type.Kind(); kind != test.Kind {
    				t.Errorf("#%d: marshal(%#v) = [error kind] %s, want %s", idx, test.Value, kind, test.Kind)
    			}
    		}
    	}
    }
    
    // Do invertibility testing on the various structures that we test
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 66K bytes
    - Viewed (0)
  10. pilot/pkg/model/push_context_test.go

    				Push:  push0,
    				Start: t0,
    				ConfigsUpdated: sets.Set[ConfigKey]{
    					{Kind: kind.Kind(1), Namespace: "ns1"}: {},
    				},
    				Reason: NewReasonStats(ServiceUpdate, ServiceUpdate),
    			},
    			&PushRequest{
    				Full:  false,
    				Push:  push1,
    				Start: t1,
    				ConfigsUpdated: sets.Set[ConfigKey]{
    					{Kind: kind.Kind(2), Namespace: "ns2"}: {},
    				},
    				Reason: NewReasonStats(EndpointUpdate),
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
Back to top