Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for One (0.14 sec)

  1. cmd/server_test.go

    	// 2. Upload 2 parts for the second upload
    	// 3. Abort the second upload.
    	// 4. Abort the first upload.
    	// This will test abort upload when there are more than one upload IDs
    	// and the case where there is only one upload ID.
    
    	// construct HTTP request to initiate a NewMultipart upload.
    	request, err = newTestSignedRequest(http.MethodPost, getNewMultipartURL(s.endPoint, bucketName, objectName),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    func getCpObjMetadataFromHeader(ctx context.Context, r *http.Request, userMeta map[string]string) (map[string]string, error) {
    	// Make a copy of the supplied metadata to avoid
    	// to change the original one.
    	defaultMeta := make(map[string]string, len(userMeta))
    	for k, v := range userMeta {
    		// skip tier metadata when copying metadata from source object
    		switch k {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  3. cmd/site-replication.go

    	}
    	return nil
    }
    
    func isBucketMetadataEqual(one, two *string) bool {
    	switch {
    	case one == nil && two == nil:
    		return true
    	case one == nil || two == nil:
    		return false
    	default:
    		return strings.EqualFold(*one, *two)
    	}
    }
    
    func (c *SiteReplicationSys) healIAMSystem(ctx context.Context, objAPI ObjectLayer) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  4. cmd/bucket-replication.go

    const (
    	replicateMetadata replicationAction = "metadata"
    	replicateNone     replicationAction = "none"
    	replicateAll      replicationAction = "all"
    )
    
    // matches k1 with all keys, returns 'true' if one of them matches
    func equals(k1 string, keys ...string) bool {
    	for _, k2 := range keys {
    		if strings.EqualFold(k1, k2) {
    			return true
    		}
    	}
    	return false
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  5. cmd/admin-handlers.go

    			continue
    		}
    		if len(v.ServerList) >= v.Quorum {
    			lockEntries = append(lockEntries, *v)
    		}
    	}
    	sort.Sort(lockEntries)
    	return lockEntries
    }
    
    // PeerLocks holds server information result of one node
    type PeerLocks struct {
    	Addr  string
    	Locks map[string][]lockRequesterInfo
    }
    
    // ForceUnlockHandler force unlocks requested resource
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  6. cmd/object-handlers_test.go

    			}
    			continue
    		}
    
    		// Verify whether the bucket obtained object is same as the one created.
    		actualError := &APIErrorResponse{}
    		if err = xml.Unmarshal(actualContent, actualError); err != nil {
    			t.Fatalf("Test %d: %s: Failed parsing response body: <ERROR> %v", i+1, instanceType, err)
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
Back to top