Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for design (0.27 sec)

  1. cmd/admin-handlers-users.go

    	// policy.UpdateServiceAccountAdminAction permission can update any service
    	// account.
    	//
    	// 2. We would like to let a user update their own access keys, however it
    	// is currently blocked pending a re-design. Users are still able to delete
    	// and re-create them.
    	if !globalIAMSys.IsAllowed(policy.Args{
    		AccountName:     cred.AccessKey,
    		Groups:          cred.Groups,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 77.3K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    	return req, err
    }
    
    // preSignV4 presign the request, in accordance with
    // http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html.
    func preSignV4(req *http.Request, accessKeyID, secretAccessKey string, expires int64) error {
    	// Presign is not needed for anonymous credentials.
    	if accessKeyID == "" || secretAccessKey == "" {
    		return errors.New("Presign cannot be generated without access and secret keys")
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 75.7K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool.go

    		}
    	}
    }
    
    var listBucketsCache = cachevalue.New[[]BucketInfo]()
    
    // List all buckets from one of the serverPools, we are not doing merge
    // sort here just for simplification. As per design it is assumed
    // that all buckets are present on all serverPools.
    func (z *erasureServerPools) ListBuckets(ctx context.Context, opts BucketOptions) (buckets []BucketInfo, err error) {
    	if opts.Cached {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 80.1K bytes
    - Viewed (0)
  4. cmd/xl-storage.go

    		// it heal during the regular scanner cycle.
    		dst := []byte{}
    		for _, ver := range xlMeta.versions {
    			dst = slices.Grow(dst, 16)
    			copy(dst[len(dst):], ver.header.VersionID[:])
    		}
    		res.Sign = dst
    	}
    
    	newDstBuf, err := xlMeta.AppendTo(metaDataPoolGet())
    	defer metaDataPoolPut(newDstBuf)
    	if err != nil {
    		if legacyPreserved {
    			s.deleteFile(dstVolumeDir, legacyDataPath, true, false)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  5. cmd/erasure-object.go

    		index := index
    		g.Go(func() error {
    			if disks[index] == nil {
    				return errDiskNotFound
    			}
    
    			// Pick one FileInfo for a disk at index.
    			fi := metadata[index]
    			// Assign index when index is initialized
    			if fi.Erasure.Index == 0 {
    				fi.Erasure.Index = index + 1
    			}
    
    			if !fi.IsValid() {
    				return errFileCorrupt
    			}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 76.9K bytes
    - Viewed (2)
Back to top