- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for oldregs (0.1 sec)
-
pkg/controller/deployment/recreate_test.go
test := tests[i] var oldRSs []*apps.ReplicaSet var expected []runtime.Object for n, size := range test.oldRSSizes { rs := newReplicaSet(test.d, fmt.Sprintf("%s-%d", test.d.Name, n), size) oldRSs = append(oldRSs, rs) rsCopy := rs.DeepCopy() zero := int32(0) rsCopy.Spec.Replicas = &zero expected = append(expected, rsCopy)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 08 09:10:50 UTC 2023 - 5.9K bytes - Viewed (0) -
pkg/registry/discovery/endpointslice/strategy.go
newEPS := obj.(*discovery.EndpointSlice) oldEPS := old.(*discovery.EndpointSlice) // Increment generation if anything other than meta changed // This needs to be changed if a status attribute is added to EndpointSlice ogNewMeta := newEPS.ObjectMeta ogOldMeta := oldEPS.ObjectMeta newEPS.ObjectMeta = metav1.ObjectMeta{} oldEPS.ObjectMeta = metav1.ObjectMeta{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 02 10:00:01 UTC 2023 - 7.6K bytes - Viewed (0) -
pkg/controller/deployment/recreate.go
// Don't create a new RS if not already existed, so that we avoid scaling up before scaling down. newRS, oldRSs, err := dc.getAllReplicaSetsAndSyncRevision(ctx, d, rsList, false) if err != nil { return err } allRSs := append(oldRSs, newRS) activeOldRSs := controller.FilterActiveReplicaSets(oldRSs) // scale down old replica sets. scaledDown, err := dc.scaleDownOldReplicaSetsForRecreate(ctx, activeOldRSs, d)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 13 20:32:13 UTC 2021 - 4.2K bytes - Viewed (0) -
pkg/config/analysis/incluster/controller.go
gvk := oldcfg.GroupVersionKind if (gvk == config.GroupVersionKind{}) { gvk = newcfg.GroupVersionKind } chKind <- gvk }) } oldmsgs := map[string]diag.Messages{} pushFn := func(combinedKinds sets.Set[config.GroupVersionKind]) { res, err := c.analyzer.ReAnalyzeSubset(combinedKinds, stop) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 02 17:36:47 UTC 2024 - 4.7K bytes - Viewed (0) -
pkg/config/schema/codegen/templates/crdclient.go.tmpl
case gvk.{{.Resource.Identifier}}: oldRes := &{{ .IstioAwareClientImport }}.{{ .Resource.Kind }}{ ObjectMeta: origMeta, Spec: *(orig.Spec.(*{{ .ClientImport }}.{{.SpecType}})), } modRes := &{{ .IstioAwareClientImport }}.{{ .Resource.Kind }}{ ObjectMeta: modMeta, Spec: *(mod.Spec.(*{{ .ClientImport }}.{{.SpecType}})), } patchBytes, err := genPatchBytes(oldRes, modRes, typ) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 13:57:51 UTC 2024 - 5.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/modfile/work.go
} } return nil } func (f *WorkFile) AddReplace(oldPath, oldVers, newPath, newVers string) error { return addReplace(f.Syntax, &f.Replace, oldPath, oldVers, newPath, newVers) } func (f *WorkFile) DropReplace(oldPath, oldVers string) error { for _, r := range f.Replace { if r.Old.Path == oldPath && r.Old.Version == oldVers { r.Syntax.markRemoved() *r = Replace{} } } return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 18:34:56 UTC 2024 - 7.7K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/util_test.go
} got := getWorkloadServiceEntries(ses, wle) if !reflect.DeepEqual(got, expected) { t.Errorf("recv unexpected se: %v", got) } } func TestCompareServiceEntries(t *testing.T) { oldSes := map[types.NamespacedName]*config.Config{ {Namespace: "default", Name: "se-1"}: {}, {Namespace: "default", Name: "se-2"}: {}, {Namespace: "default", Name: "se-3"}: {}, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jan 17 22:32:10 UTC 2023 - 3.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/etcd3/compact.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 17 02:54:36 UTC 2022 - 5.6K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/status_strategy.go
if newErrs := structurallisttype.ValidateListSetsAndMaps(nil, a.structuralSchema, uNew.Object); len(newErrs) > 0 { if oldErrs := structurallisttype.ValidateListSetsAndMaps(nil, a.structuralSchema, uOld.Object); len(oldErrs) == 0 { errs = append(errs, newErrs...) } } // validate x-kubernetes-validations rules
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 18 22:16:10 UTC 2023 - 4.6K bytes - Viewed (0) -
src/runtime/sys_windows_arm.s
// SetLastError(0) MOVW $0, R0 MRC 15, 0, R1, C13, C0, 2 MOVW R0, 0x34(R1) MOVW 8(R4), R12 // libcall->args // Do we have more than 4 arguments? MOVW 4(R4), R0 // libcall->n SUB.S $4, R0, R2 BLE loadregs // Reserve stack space for remaining args SUB R2<<2, R13 BIC $0x7, R13 // alignment for ABI // R0: count of arguments // R1: // R2: loop counter, from 0 to (n-4) // R3: scratch
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 21 15:56:43 UTC 2023 - 7.7K bytes - Viewed (0)