- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 1,750 for Updatef (0.13 sec)
-
pilot/pkg/xds/sds.go
} return configs } func (sr SecretResource) Cacheable() bool { return true } func sdsNeedsPush(updates model.XdsUpdates) bool { if len(updates) == 0 { return true } for update := range updates { switch update.Kind { case kind.Secret: return true case kind.ReferenceGrant: return true } } return false }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 15 23:04:36 UTC 2024 - 15.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/managedfields/fieldmanager_test.go
"image": "nginx:latest" }] } } } }`), &newObj.Object); err != nil { t.Fatalf("error decoding YAML: %v", err) } // Agent A updates with initial configuration if err := f.Update(newObj.DeepCopyObject(), "fieldmanager_z"); err != nil { t.Fatalf("failed to apply object: %v", err) } for _, field := range f.ManagedFields() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 16 20:03:48 UTC 2023 - 32.5K bytes - Viewed (0) -
pkg/kubelet/volumemanager/cache/actual_state_of_world.go
// UpdateReconstructedDevicePath updates devicePath of a reconstructed volume // from Node.Status.VolumesAttached. The ASW is updated only when the volume is still // uncertain. If the volume got mounted in the meantime, its devicePath must have // been fixed by such an update. UpdateReconstructedDevicePath(volumeName v1.UniqueVolumeName, devicePath string)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 09 07:34:33 UTC 2024 - 45.8K bytes - Viewed (0) -
pkg/controller/deployment/util/deployment_util.go
} } // SetDeploymentRevision updates the revision for a deployment. func SetDeploymentRevision(deployment *apps.Deployment, revision string) bool { updated := false if deployment.Annotations == nil { deployment.Annotations = make(map[string]string) } if deployment.Annotations[RevisionAnnotation] != revision { deployment.Annotations[RevisionAnnotation] = revision updated = true } return updated }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 07:09:11 UTC 2023 - 39.3K bytes - Viewed (0) -
pkg/controller/disruption/disruption.go
} if cleanAfter > 0 { dc.enqueueStalePodDisruptionCleanup(logger, pod, cleanAfter) return nil } newPod := pod.DeepCopy() updated := apipod.UpdatePodCondition(&newPod.Status, &v1.PodCondition{ Type: v1.DisruptionTarget, Status: v1.ConditionFalse, }) if !updated { return nil } if _, err := dc.kubeClient.CoreV1().Pods(pod.Namespace).UpdateStatus(ctx, newPod, metav1.UpdateOptions{}); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 36.1K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster.go
} func shouldUseDelta(updates *model.PushRequest) bool { return updates != nil && deltaAwareConfigTypes(updates.ConfigsUpdated) && len(updates.ConfigsUpdated) > 0 } // deltaAwareConfigTypes returns true if all updated configs are delta enabled. func deltaAwareConfigTypes(cfgs sets.Set[model.ConfigKey]) bool { for k := range cfgs {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 33K bytes - Viewed (0) -
pkg/registry/flowcontrol/ensurer/prioritylevelconfiguration_test.go
} if updateGot { t.Errorf("Expected update=%t but got: %t", false, updateGot) } return } if !updateGot { t.Errorf("Expected update=%t but got: %t", true, updateGot) } if !reflect.DeepEqual(test.newObjectExpected, updatableGot) { t.Errorf("Expected the object to be updated to match - diff: %s", cmp.Diff(test.newObjectExpected, updatableGot)) } })
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 15 14:34:53 UTC 2024 - 19.8K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/interpodaffinity/filtering.go
return copy } func (m topologyToMatchedTermCount) update(node *v1.Node, tk string, value int64) { if tv, ok := node.Labels[tk]; ok { pair := topologyPair{key: tk, value: tv} m[pair] += value // value could be negative, hence we delete the entry if it is down to zero. if m[pair] == 0 { delete(m, pair) } } } // updates the topologyToMatchedTermCount map with the specified value
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 01 10:24:54 UTC 2023 - 14.6K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_pod_control_test.go
var updated *v1.Pod fakeClient.PrependReactor("update", "pods", func(action core.Action) (bool, runtime.Object, error) { update := action.(core.UpdateAction) updated = update.GetObject().(*v1.Pod) return true, update.GetObject(), nil }) pod.Name = "goo-0" if err := control.UpdateStatefulPod(ctx, set, pod); err != nil { t.Errorf("Successful update returned an error: %s", err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 35.5K bytes - Viewed (0) -
pkg/controller/deployment/rolling_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 08 09:10:50 UTC 2023 - 11K bytes - Viewed (0)