Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 5,286 for kindOf (0.1 sec)

  1. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            item.kinds = new Kind[kinds.size()];
            for (int i = 0; i < kinds.size(); i++) {
                final String kind = kinds.get(i);
                if (kind.equals(Kind.DOCUMENT.toString())) {
                    item.kinds[i] = Kind.DOCUMENT;
                } else if (kind.equals(Kind.QUERY.toString())) {
                    item.kinds[i] = Kind.QUERY;
                } else if (kind.equals(Kind.USER.toString())) {
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/runtime/codec.go

    	for _, src := range kinds {
    		for _, kind := range v.acceptedGroupKinds {
    			if kind.Group != src.Group {
    				continue
    			}
    			if len(kind.Kind) > 0 && kind.Kind != src.Kind {
    				continue
    			}
    			return v.target.WithKind(src.Kind), true
    		}
    	}
    	if v.coerce && len(kinds) > 0 {
    		return v.target.WithKind(kinds[0].Kind), true
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 03:20:30 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  3. operator/pkg/verifier/verifier.go

    }
    
    func resourceKinds(un *unstructured.Unstructured) string {
    	kinds := findResourceInSpec(un.GetObjectKind().GroupVersionKind())
    	if kinds == "" {
    		kinds = strings.ToLower(un.GetKind()) + "s"
    	}
    	// Override with special kind if it exists in the map
    	if specialKind, exists := specialKinds[un.GetKind()]; exists {
    		kinds = specialKind
    	}
    	return kinds
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/runtime/schema/group_version.go

    // and parses it out into both possibilities. This code takes no responsibility for knowing which representation was intended
    // but with a knowledge of all GroupKinds, calling code can take a very good guess. If there are only two segments, then
    // `*GroupVersionKind` is nil.
    // `Kind.group.com` -> `group=com, version=group, kind=Kind` and `group=group.com, kind=Kind`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 30 09:08:59 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/api/apitesting/roundtrip/compatibility.go

    				// only test options types in the core API group
    				continue
    			}
    			gvks = append(gvks, gvk)
    		}
    		c.Kinds = gvks
    	}
    
    	// Sort kinds to get deterministic test order
    	sort.Slice(c.Kinds, func(i, j int) bool {
    		if c.Kinds[i].Group != c.Kinds[j].Group {
    			return c.Kinds[i].Group < c.Kinds[j].Group
    		}
    		if c.Kinds[i].Version != c.Kinds[j].Version {
    			return c.Kinds[i].Version < c.Kinds[j].Version
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 16:38:32 UTC 2023
    - 17.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/api/apitesting/roundtrip/roundtrip.go

    	kinds := scheme.AllKnownTypes()
    	for gvk := range kinds {
    		if gvk.Version == runtime.APIVersionInternal || globalNonRoundTrippableTypes.Has(gvk.Kind) {
    			continue
    		}
    		t.Run(gvk.Group+"."+gvk.Version+"."+gvk.Kind, func(t *testing.T) {
    			roundTripSpecificKind(t, gvk, scheme, codecFactory, fuzzer, nonRoundTrippableTypes, true)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 16.8K bytes
    - Viewed (0)
  7. pilot/pkg/config/kube/crdclient/client.go

    }
    
    // List implements store interface
    func (cl *Client) List(kind config.GroupVersionKind, namespace string) []config.Config {
    	h, f := cl.kind(kind)
    	if !f {
    		return nil
    	}
    
    	list := h.List(namespace, klabels.Everything())
    
    	out := make([]config.Config, 0, len(list))
    	for _, item := range list {
    		cfg := TranslateObject(item, kind, cl.domainSuffix)
    		out = append(out, cfg)
    	}
    
    	return out
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 00:12:28 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/api/meta/restmapper.go

    }
    
    // UnsafeGuessKindToResource converts Kind to a resource name.
    // Broken. This method only "sort of" works when used outside of this package.  It assumes that Kinds and Resources match
    // and they aren't guaranteed to do so.
    func UnsafeGuessKindToResource(kind schema.GroupVersionKind) ( /*plural*/ schema.GroupVersionResource /*singular*/, schema.GroupVersionResource) {
    	kindName := kind.Kind
    	if len(kindName) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 17 01:55:47 UTC 2021
    - 16.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

            boolQueryBuilder.must(QueryBuilders.termQuery(FieldNames.KINDS, SuggestItem.Kind.DOCUMENT.toString()));
            boolQueryBuilder.mustNot(QueryBuilders.termQuery(FieldNames.KINDS, SuggestItem.Kind.QUERY.toString()));
            boolQueryBuilder.mustNot(QueryBuilders.termQuery(FieldNames.KINDS, SuggestItem.Kind.USER.toString()));
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18K bytes
    - Viewed (0)
  10. pilot/pkg/config/kube/gateway/conditions.go

    		supported = []k8s.RouteGroupKind{
    			{Group: (*k8s.Group)(ptr.Of(gvk.HTTPRoute.Group)), Kind: k8s.Kind(gvk.HTTPRoute.Kind)},
    			{Group: (*k8s.Group)(ptr.Of(gvk.GRPCRoute.Group)), Kind: k8s.Kind(gvk.GRPCRoute.Kind)},
    		}
    	case k8s.TCPProtocolType:
    		supported = []k8s.RouteGroupKind{{Group: (*k8s.Group)(ptr.Of(gvk.TCPRoute.Group)), Kind: k8s.Kind(gvk.TCPRoute.Kind)}}
    	case k8s.TLSProtocolType:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 13:05:41 UTC 2024
    - 14.4K bytes
    - Viewed (0)
Back to top