- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for IsPrefixedNativeResource (0.17 sec)
-
pkg/apis/core/v1/helper/helpers.go
if errs := validation.IsQualifiedName(nameForQuota); len(errs) != 0 { return false } return true } // IsPrefixedNativeResource returns true if the resource name is in the // *kubernetes.io/ namespace. func IsPrefixedNativeResource(name v1.ResourceName) bool { return strings.Contains(string(name), v1.ResourceDefaultNamespacePrefix) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 23:03:54 UTC 2024 - 11.4K bytes - Viewed (0) -
pkg/scheduler/util/utils.go
func IsScalarResourceName(name v1.ResourceName) bool { return v1helper.IsExtendedResourceName(name) || v1helper.IsHugePageResourceName(name) || v1helper.IsPrefixedNativeResource(name) || v1helper.IsAttachableVolumeResourceName(name) } // As converts two objects to the given type. // Both objects must be of the same type. If not, an error is returned.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Sep 21 01:40:44 UTC 2023 - 6.2K bytes - Viewed (0)