- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of about 10,000 for kindOf (0.14 sec)
-
staging/src/k8s.io/apimachinery/pkg/api/meta/errors.go
} switch len(searchedVersions) { case 0: return fmt.Sprintf("no matches for kind %q in group %q", e.GroupKind.Kind, e.GroupKind.Group) case 1: return fmt.Sprintf("no matches for kind %q in version %q", e.GroupKind.Kind, searchedVersions.List()[0]) default: return fmt.Sprintf("no matches for kind %q in versions %q", e.GroupKind.Kind, searchedVersions.List()) } } func (*NoKindMatchError) Is(target error) bool {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 11 22:50:51 UTC 2022 - 4.2K bytes - Viewed (0) -
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) -
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) -
staging/src/k8s.io/apimachinery/pkg/api/meta/priority.go
} return true } func kindMatches(pattern schema.GroupVersionKind, kind schema.GroupVersionKind) bool { if pattern.Group != AnyGroup && pattern.Group != kind.Group { return false } if pattern.Version != AnyVersion && pattern.Version != kind.Version { return false } if pattern.Kind != AnyKind && pattern.Kind != kind.Kind { return false } return true }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 05 23:44:02 UTC 2021 - 7.6K bytes - Viewed (0) -
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) -
tensorflow/c/eager/abstract_function.h
class AbstractFunction : public core::RefCounted { protected: enum AbstractFunctionKind { kGraph, kMlir }; explicit AbstractFunction(AbstractFunctionKind kind) : kind_(kind) {} public: // Returns which subclass is this instance of. AbstractFunctionKind getKind() const { return kind_; } // Returns the AbstractFunction as a FunctionDef. virtual Status GetFunctionDef(const FunctionDef**) = 0;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 04 19:49:06 UTC 2024 - 1.9K bytes - Viewed (0) -
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) -
pkg/kube/inject/initializer.go
} injectScheme = runtime.NewScheme() ) func init() { for _, kind := range kinds { injectScheme.AddKnownTypes(kind.groupVersion, kind.obj) injectScheme.AddUnversionedTypes(kind.groupVersion, kind.obj) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Oct 30 20:07:58 UTC 2022 - 2.8K bytes - Viewed (0) -
tensorflow/c/eager/abstract_context.h
class AbstractContext { protected: enum AbstractContextKind { kGraph, kMlir, kEager, kTfrt, kTape, kOpHandler }; explicit AbstractContext(AbstractContextKind kind) : kind_(kind) {} virtual ~AbstractContext() {} public: AbstractContextKind getKind() const { return kind_; } // Release any underlying resources, including the interface object. // // WARNING: The destructor of this class is marked as protected to disallow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Oct 24 11:16:58 UTC 2021 - 3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/meta/multirestmapper.go
kinds, err := m.KindsFor(resource) if err != nil { return schema.GroupVersionKind{}, err } if len(kinds) == 1 { return kinds[0], nil } return schema.GroupVersionKind{}, &AmbiguousResourceError{PartialResource: resource, MatchingKinds: kinds} } // RESTMapping provides the REST mapping for the resource based on the
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 05 23:44:02 UTC 2021 - 5.8K bytes - Viewed (0)