Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 35 of 35 for mustGetUUID (0.18 sec)

  1. cmd/utils.go

    }
    
    // UTCNow - returns current UTC time.
    func UTCNow() time.Time {
    	return time.Now().UTC()
    }
    
    // GenETag - generate UUID based ETag
    func GenETag() string {
    	return ToS3ETag(getMD5Hash([]byte(mustGetUUID())))
    }
    
    // ToS3ETag - return checksum to ETag
    func ToS3ETag(etag string) string {
    	etag = canonicalizeETag(etag)
    
    	if !strings.HasSuffix(etag, "-1") {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  2. cmd/peer-rest-server.go

    		if err != nil {
    			return grid.NewRemoteErr(err)
    		}
    		mask.MergeMaskable(eventName)
    		eventNames = append(eventNames, eventName)
    	}
    
    	rulesMap := event.NewRulesMap(eventNames, pattern, event.TargetID{ID: mustGetUUID()})
    
    	// Listen Publisher uses nonblocking publish and hence does not wait for slow subscribers.
    	// Use buffered channel to take care of burst sends or slow w.Write()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  3. cmd/erasure-sets.go

    			errCorruptedFormat))
    		return res, errCorruptedFormat
    	}
    
    	formatOpID := mustGetUUID()
    
    	// Initialize a new set of set formats which will be written to disk.
    	newFormatSets, currentDisksInfo := newHealFormatSets(refFormat, s.setCount, s.setDriveCount, formats, sErrs)
    
    	if !dryRun {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
  4. cmd/object-handlers.go

    			return
    		}
    		// for previously restored object, just update the restore expiry
    		if alreadyRestored {
    			return
    		}
    	}
    
    	restoreObject := mustGetUUID()
    	if rreq.OutputLocation.S3.BucketName != "" {
    		w.Header()[xhttp.AmzRestoreOutputPath] = []string{pathJoin(rreq.OutputLocation.S3.BucketName, rreq.OutputLocation.S3.Prefix, restoreObject)}
    	}
    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)
  5. cmd/site-replication.go

    		DeplID:         dID,
    		TotBuckets:     len(buckets),
    		BucketStatuses: make(map[string]ResyncStatusType),
    	}
    	for _, bi := range buckets {
    		s.BucketStatuses[bi.Name] = ResyncPending
    	}
    	s.ResyncID = mustGetUUID()
    	s.StartTime = now
    	s.LastUpdate = now
    	return s
    }
    
    // load site resync metadata from disk
    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)
Back to top