Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 126 for updatepan (1.57 sec)

  1. schema/schema_test.go

    		{Name: "CreatedAt", DBName: "created_at", BindNames: []string{"Model", "CreatedAt"}, DataType: schema.Time},
    		{Name: "UpdatedAt", DBName: "updated_at", BindNames: []string{"Model", "UpdatedAt"}, DataType: schema.Time},
    		{Name: "DeletedAt", DBName: "deleted_at", BindNames: []string{"Model", "DeletedAt"}, Tag: `gorm:"index"`, DataType: schema.Time},
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Dec 15 08:31:23 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  2. schema/field_test.go

    	var (
    		userSchema, _ = schema.Parse(&tests.User{}, &sync.Map{}, schema.NamingStrategy{})
    		user          = tests.User{
    			Model: gorm.Model{
    				ID:        10,
    				CreatedAt: time.Now(),
    				UpdatedAt: time.Now(),
    				DeletedAt: gorm.DeletedAt{Time: time.Now(), Valid: true},
    			},
    			Name:     "valuer_and_setter",
    			Age:      18,
    			Birthday: tests.Now(),
    			Active:   true,
    		}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Feb 19 09:02:53 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  3. tests/sql_builder_test.go

    	// create
    	user := &User{Name: "foo", Age: 20}
    	user.CreatedAt = date
    	user.UpdatedAt = date
    	sql = DB.ToSQL(func(tx *gorm.DB) *gorm.DB {
    		return tx.Model(&User{}).Create(user)
    	})
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  4. pkg/controller/statefulset/stateful_set.go

    	for _, set := range sets {
    		ssc.enqueueStatefulSet(set)
    	}
    }
    
    // updatePod adds the statefulset for the current and old pods to the sync queue.
    func (ssc *StatefulSetController) updatePod(logger klog.Logger, old, cur interface{}) {
    	curPod := cur.(*v1.Pod)
    	oldPod := old.(*v1.Pod)
    	if curPod.ResourceVersion == oldPod.ResourceVersion {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. pkg/scheduler/internal/cache/cache.go

    		pod: pod,
    	}
    	cache.podStates[key] = ps
    	if assumePod {
    		cache.assumedPods.Insert(key)
    	}
    	return nil
    }
    
    // Assumes that lock is already acquired.
    func (cache *cacheImpl) updatePod(logger klog.Logger, oldPod, newPod *v1.Pod) error {
    	if err := cache.removePod(logger, oldPod); err != nil {
    		return err
    	}
    	return cache.addPod(logger, newPod, false)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 09:56:48 UTC 2023
    - 24.9K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/devicemanager/manager_test.go

    	m, updateChan := setupDeviceManager(t, devs, callback, socketName, nil)
    	p := setupDevicePlugin(t, devs, pluginSocketName)
    	return m, updateChan, p
    }
    
    func setupInProbeMode(t *testing.T, devs []*pluginapi.Device, callback monitorCallback, socketName string, pluginSocketName string) (Manager, <-chan interface{}, *plugin.Stub, pluginmanager.PluginManager) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/log/bsbhv/BsUserInfoBhv.java

            try {
                final RESULT result = entityType.newInstance();
                result.setCreatedAt(toLocalDateTime(source.get("createdAt")));
                result.setUpdatedAt(toLocalDateTime(source.get("updatedAt")));
                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9K bytes
    - Viewed (0)
  8. pkg/controller/disruption/disruption.go

    	}
    }
    
    func (dc *DisruptionController) updatePod(logger klog.Logger, _, cur interface{}) {
    	pod := cur.(*v1.Pod)
    	logger.V(4).Info("UpdatePod called on pod", "pod", klog.KObj(pod))
    	pdb := dc.getPdbForPod(logger, pod)
    	if pdb == nil {
    		logger.V(4).Info("No matching PDB for pod", "pod", klog.KObj(pod))
    	} else {
    		logger.V(4).Info("updatePod -> PDB", "pod", klog.KObj(pod), "podDisruptionBudget", klog.KObj(pdb))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  9. pkg/kubelet/kubelet_pods_test.go

    				// send a create of a static pod
    				pod := staticPod()
    
    				w.UpdatePod(UpdatePodOptions{
    					UpdateType: kubetypes.SyncPodCreate,
    					StartTime:  time.Unix(1, 0).UTC(),
    					Pod:        pod,
    				})
    				drainAllWorkers(w)
    
    				// terminate the pod (which won't complete) and then deliver a recreate by that same UID
    				w.UpdatePod(UpdatePodOptions{
    					UpdateType: kubetypes.SyncPodKill,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet.go

    	// and been cleaned up by SyncKnownPods. This means a pod may be desired (in API), admitted
    	// (in pod manager), and requested (by invoking UpdatePod) but not start for an arbitrarily
    	// long interval because a prior pod is still terminating.
    	//
    	// As an event-driven (by UpdatePod) controller, the podWorkers must periodically be resynced
    	// by the kubelet invoking SyncKnownPods with the desired state (admitted pods in podManager).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
Back to top