- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for stringsEqual (0.34 sec)
-
operator/pkg/tpath/tree.go
if idx >= len(nt) { return nil, false } val := nt[idx] return find(val, path[1:]) default: return nil, false } } // stringsEqual reports whether the string representations of a and b are equal. a and b may have different types. func stringsEqual(a, b any) bool { return fmt.Sprint(a) == fmt.Sprint(b) } // matchesRegex reports whether str regex matches pattern.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 17.5K bytes - Viewed (0) -
pkg/apis/batch/validation/validation.go
allErrs = append(allErrs, apivalidation.ValidateNonnegativeField(int64(*spec.StartingDeadlineSeconds), fldPath.Child("startingDeadlineSeconds"))...) } if oldSpec == nil || !pointer.StringEqual(oldSpec.TimeZone, spec.TimeZone) { allErrs = append(allErrs, validateTimeZone(spec.TimeZone, fldPath.Child("timeZone"))...) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 16:43:24 UTC 2024 - 51.2K bytes - Viewed (0)