Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetWithCtx (0.06 sec)

  1. cmd/erasure-server-pool.go

    						if err == nil {
    							buckets[i].Created = createdAt
    						}
    					}
    				}
    				return buckets, nil
    			},
    		)
    
    		return listBucketsCache.GetWithCtx(ctx)
    	}
    
    	buckets, err = z.s3Peer.ListBuckets(ctx, opts)
    	if err != nil {
    		return nil, err
    	}
    
    	if !opts.NoMetadata {
    		for i := range buckets {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    // total free inodes and underlying filesystem.
    func (s *xlStorage) DiskInfo(ctx context.Context, _ DiskInfoOptions) (info DiskInfo, err error) {
    	info, err = s.diskInfoCache.GetWithCtx(ctx)
    	info.NRRequests = s.nrRequests
    	info.Rotational = s.rotational
    	info.MountPath = s.drivePath
    	info.Endpoint = s.endpoint.String()
    	info.Scanning = atomic.LoadInt32(&s.scanning) == 1
    	return info, err
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
Back to top