- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for listBucketsLocal (0.1 sec)
-
cmd/peer-s3-server.go
res.After.Drives = append(res.After.Drives, madmin.HealDriveInfo{ UUID: "", Endpoint: localDrives[i].String(), State: afterState[i], }) } return res, nil } func listBucketsLocal(ctx context.Context, opts BucketOptions) (buckets []BucketInfo, err error) { globalLocalDrivesMu.RLock() localDrives := cloneDrives(globalLocalDrivesMap) globalLocalDrivesMu.RUnlock()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 22 21:57:20 UTC 2024 - 8.1K bytes - Viewed (0) -
cmd/peer-s3-client.go
copy(l.pools, p) } func (l localPeerS3Client) GetPools() []int { return l.pools } func (l localPeerS3Client) ListBuckets(ctx context.Context, opts BucketOptions) ([]BucketInfo, error) { return listBucketsLocal(ctx, opts) } func (l localPeerS3Client) HealBucket(ctx context.Context, bucket string, opts madmin.HealOpts) (madmin.HealResultItem, error) { return healBucketLocal(ctx, bucket, opts) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 22:26:05 UTC 2024 - 15.4K bytes - Viewed (0) -
cmd/peer-rest-server.go
return np, grid.NewRemoteErr(err) } return np, nil } func (s *peerRESTServer) ListBucketsHandler(opts *BucketOptions) (*grid.Array[*BucketInfo], *grid.RemoteErr) { buckets, err := listBucketsLocal(context.Background(), *opts) if err != nil { return nil, grid.NewRemoteErr(err) } res := aoBucketInfo.New() for i := range buckets { bucket := buckets[i] res.Append(&bucket) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 11:32:32 UTC 2024 - 53.2K bytes - Viewed (0)