- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ValidateStatefulSetStatus (0.12 sec)
-
pkg/apis/apps/validation/validation.go
} return allErrs } // ValidateStatefulSetStatus validates a StatefulSetStatus. func ValidateStatefulSetStatus(status *apps.StatefulSetStatus, fieldPath *field.Path) field.ErrorList { allErrs := field.ErrorList{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 06 22:11:20 UTC 2024 - 41.4K bytes - Viewed (0) -
pkg/apis/apps/validation/validation_test.go
UpdatedReplicas: test.updatedReplicas, ObservedGeneration: test.observedGeneration, CollisionCount: test.collisionCount, AvailableReplicas: test.availableReplicas, } errs := ValidateStatefulSetStatus(&status, field.NewPath("status")) if hasErr := len(errs) > 0; hasErr != test.expectedErr { t.Errorf("%s: expected error: %t, got error: %t\nerrors: %s", test.name, test.expectedErr, hasErr, errs.ToAggregate().Error())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 111.9K bytes - Viewed (0)