- Sort Score
- Result 10 results
- Languages All
Results 31 - 32 of 32 for UpdateAction (0.2 sec)
-
pkg/controller/history/controller_history_test.go
conflictSuccess := func(action core.Action) (bool, runtime.Object, error) { defer func() { conflictAttempts++ }() switch action.(type) { case core.UpdateActionImpl: update := action.(core.UpdateAction) if conflictAttempts < 2 { return true, update.GetObject(), errors.NewConflict(update.GetResource().GroupResource(), "", fmt.Errorf("conflict")) } return true, update.GetObject(), nil default:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 21 13:31:28 UTC 2023 - 49.1K bytes - Viewed (0) -
pkg/controller/replicaset/replica_set_test.go
if action.GetName() != rs.Name { t.Errorf("Expected get for ReplicaSet %v, got %+v instead", rs.Name, action.GetName()) } case core.UpdateAction: updates++ // Confirm that the update has the right status.Replicas even though the Get // returned a ReplicaSet with replicas=1. if c, ok := action.GetObject().(*apps.ReplicaSet); !ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 69.2K bytes - Viewed (0)