Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for oldregs (0.27 sec)

  1. src/runtime/syscall_windows_test.go

    func TestStdcallAndCDeclCallbacks(t *testing.T) {
    	if _, err := exec.LookPath("gcc"); err != nil {
    		t.Skip("skipping test: gcc is missing")
    	}
    	tmp := t.TempDir()
    
    	oldRegs := runtime.SetIntArgRegs(abi.IntArgRegs)
    	defer runtime.SetIntArgRegs(oldRegs)
    
    	for _, dll := range cbDLLs {
    		t.Run(dll.name, func(t *testing.T) {
    			dllPath := dll.build(t, tmp)
    			dll := syscall.MustLoadDLL(dllPath)
    			defer dll.Release()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 16:31:35 UTC 2023
    - 32.5K bytes
    - Viewed (0)
  2. pkg/controller/deployment/rolling_test.go

    		newRS.Status.AvailableReplicas = int32(test.readyPodsFromNewRS)
    		oldRS := rs("foo-old", test.oldReplicas, oldSelector, noTimestamp)
    		oldRS.Status.AvailableReplicas = int32(test.readyPodsFromOldRS)
    		oldRSs := []*apps.ReplicaSet{oldRS}
    		allRSs := []*apps.ReplicaSet{oldRS, newRS}
    		maxSurge := intstr.FromInt32(0)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 11K bytes
    - Viewed (0)
  3. pkg/kube/krt/collection.go

    				newRes, newExists := results[key]
    				// Find the old O object
    				oldRes, oldExists := h.collectionState.outputs[key]
    				e := Event[O]{}
    				if newExists && oldExists {
    					if equal(newRes, oldRes) {
    						// NOP change, skip
    						continue
    					}
    					e.Event = controllers.EventUpdate
    					e.New = &newRes
    					e.Old = &oldRes
    					h.collectionState.outputs[key] = newRes
    				} else if newExists {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  4. pkg/controller/deployment/rolling.go

    	oldRSs, cleanupCount, err := dc.cleanupUnhealthyReplicas(ctx, oldRSs, deployment, maxScaledDown)
    	if err != nil {
    		return false, nil
    	}
    	logger.V(4).Info("Cleaned up unhealthy replicas from old RSes", "count", cleanupCount)
    
    	// Scale down old replica sets, need check maxUnavailable to ensure we can scale down
    	allRSs = append(oldRSs, newRS)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 07:09:11 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  5. pkg/controller/deployment/sync_test.go

    				return
    			}
    			if len(test.expectedOld) != len(test.oldRSs) {
    				t.Errorf("%s: expected %d old replica sets, got %d", test.name, len(test.expectedOld), len(test.oldRSs))
    				return
    			}
    			for n := range test.oldRSs {
    				rs := test.oldRSs[n]
    				expected := test.expectedOld[n]
    				if *(expected.Spec.Replicas) != nameToSize[rs.Name] {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  6. pkg/registry/discovery/endpointslice/strategy_test.go

    	testcases := []struct {
    		name             string
    		hintsGateEnabled bool
    		oldEPS           *discovery.EndpointSlice
    		newEPS           *discovery.EndpointSlice
    		expectedEPS      *discovery.EndpointSlice
    	}{
    		{
    			name: "node name gate enabled, set on new EPS",
    			oldEPS: &discovery.EndpointSlice{
    				Endpoints: []discovery.Endpoint{
    					{
    						NodeName: nil,
    					},
    					{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  7. pkg/controller/deployment/sync.go

    func (dc *DeploymentController) syncStatusOnly(ctx context.Context, d *apps.Deployment, rsList []*apps.ReplicaSet) error {
    	newRS, oldRSs, err := dc.getAllReplicaSetsAndSyncRevision(ctx, d, rsList, false)
    	if err != nil {
    		return err
    	}
    
    	allRSs := append(oldRSs, newRS)
    	return dc.syncDeploymentStatus(ctx, allRSs, newRS, d)
    }
    
    // sync is responsible for reconciling deployments on scaling events or when they
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 23:39:52 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  8. pkg/controller/deployment/util/deployment_util_test.go

    	newRSDup.CreationTimestamp = now
    
    	oldDeployment := generateDeployment("nginx")
    	oldDeployment.Spec.Template.Spec.Containers[0].Name = "nginx-old-1"
    	oldRS := generateRS(oldDeployment)
    	oldRS.Status.FullyLabeledReplicas = *(oldRS.Spec.Replicas)
    	oldRS.CreationTimestamp = before
    
    	tests := []struct {
    		Name            string
    		deployment      apps.Deployment
    		rsList          []*apps.ReplicaSet
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 37.1K bytes
    - Viewed (0)
  9. pilot/pkg/model/jwks_resolver.go

    	}
    
    	// Sort both sets of keys by "kid (key ID)" to be able to directly compare
    	oldKeys, oldKeysExists := oldJWKs["keys"].([]any)
    	newKeys, newKeysExists := newJWKs["keys"].([]any)
    	if oldKeysExists && newKeysExists {
    		sort.Slice(oldKeys, func(i, j int) bool {
    			key1, ok1 := oldKeys[i].(map[string]any)
    			key2, ok2 := oldKeys[j].(map[string]any)
    			if ok1 && ok2 {
    				key1Id, kid1Exists := key1["kid"]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  10. pilot/pkg/config/file/store.go

    				}
    			}
    			s.shas[key] = r.sha
    		}
    		newKeys[key] = r.schema.GroupVersionKind()
    		if oldKeys != nil {
    			scope.Debugf("KubeSource.ApplyContent: Delete: %v/%v", r.schema.GroupVersionKind(), key)
    			delete(oldKeys, key)
    		}
    	}
    
    	for k, col := range oldKeys {
    		empty := ""
    		err := s.inner.Delete(col, k.fullName.Name.String(), k.fullName.Namespace.String(), &empty)
    		if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 17:36:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top