Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 26 of 26 for Hockin (0.18 sec)

  1. cni/pkg/nodeagent/pod_cache.go

    func closeNetns(netns NetnsCloser) {
    	netns.Close()
    }
    
    func (p *podNetnsCache) ReadCurrentPodSnapshot() map[string]WorkloadInfo {
    	p.mu.RLock()
    	defer p.mu.RUnlock()
    	// snapshot the cache to avoid long locking
    	return maps.Clone(p.currentPodCache)
    }
    
    // Remove and return the Netns for the given uid
    // No need to return NetnsCloser here it will be closed automatically on GC.
    Go
    - Registered: Wed Apr 17 22:53:10 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  2. internal/dsync/dsync_test.go

    func TestFailedRefreshLock(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping test in short mode.")
    	}
    
    	// Simulate Refresh response to return no locking found
    	for i := range lockServers[:3] {
    		lockServers[i].setRefreshReply(false)
    		defer lockServers[i].setRefreshReply(true)
    	}
    
    	dm := NewDRWMutex(ds, "aap")
    	dm.refreshInterval = 500 * time.Millisecond
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 11K bytes
    - Viewed (0)
  3. chainable_api.go

    //	// tell the optimizer to use the `idx_user_name` index
    //	db.Clauses(hints.UseIndex("idx_user_name")).Find(&User{})
    //	// specify the lock strength to UPDATE
    //	db.Clauses(clause.Locking{Strength: "UPDATE"}).Find(&users)
    //
    // [docs]: https://gorm.io/docs/sql_builder.html#Clauses
    func (db *DB) Clauses(conds ...clause.Expression) (tx *DB) {
    	tx = db.getInstance()
    	var whereConds []interface{}
    
    Go
    - Registered: Sun Apr 14 09:35:11 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 13.9K bytes
    - Viewed (1)
  4. istioctl/pkg/workload/workload.go

    	}
    	return vs, nil
    }
    
    // Because we are placing into an Unstructured, place as a map instead
    // of structured Istio types.  (The go-client can handle the structured data, but the
    // fake go-client used for mocking cannot.)
    func unstructureIstioType(spec any) (map[string]any, error) {
    	b, err := yaml.Marshal(spec)
    	if err != nil {
    		return nil, err
    	}
    	iSpec := map[string]any{}
    	err = yaml.Unmarshal(b, &iSpec)
    Go
    - Registered: Wed Apr 17 22:53:10 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  5. cmd/api-errors.go

    	},
    	ErrInvalidLifecycleWithObjectLock: {
    		Code:           "InvalidLifecycleWithObjectLock",
    		Description:    "The lifecycle configuration containing MaxNoncurrentVersions is not supported with object locking",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrNoSuchBucketSSEConfig: {
    		Code:           "ServerSideEncryptionConfigurationNotFoundError",
    		Description:    "The server side encryption configuration was not found",
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Sat Apr 06 05:26:02 GMT 2024
    - 90.2K bytes
    - Viewed (6)
  6. cmd/object-handlers.go

    	}
    
    	rcfg, _ := globalBucketObjectLockSys.Get(bucket)
    	if rcfg.LockEnabled && opts.DeletePrefix {
    		apiErr := toAPIError(ctx, errInvalidArgument)
    		apiErr.Description = "force-delete is forbidden on Object Locking enabled buckets"
    		writeErrorResponse(ctx, w, apiErr, r.URL)
    		return
    	}
    
    	os := newObjSweeper(bucket, object).WithVersion(opts.VersionID).WithVersioning(opts.Versioned, opts.VersionSuspended)
    
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Fri Apr 05 11:39:31 GMT 2024
    - 124.7K bytes
    - Viewed (0)
Back to top