- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for verifyRole (0.17 sec)
-
cmd/storage-rest-common.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd //go:generate msgp -file $GOFILE -unexported const ( storageRESTVersion = "v58" // Change VerifyFile signature storageRESTVersionPrefix = SlashSeparator + storageRESTVersion storageRESTPrefix = minioReservedBucketPath + "/storage" ) const ( storageRESTMethodHealth = "/health"
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 2.9K bytes - Viewed (0) -
cmd/naughty-disk_test.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 9.4K bytes - Viewed (0) -
cmd/storage-interface.go
CheckParts(ctx context.Context, volume string, path string, fi FileInfo) (*CheckPartsResp, error) Delete(ctx context.Context, volume string, path string, opts DeleteOptions) (err error) VerifyFile(ctx context.Context, volume, path string, fi FileInfo) (*CheckPartsResp, error) StatInfoFile(ctx context.Context, volume, path string, glob bool) (stat []StatInfo, err error)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 5K bytes - Viewed (0) -
cmd/erasure-healing-common.go
case madmin.HealDeepScan: // disk has a valid xl.meta but may not have all the // parts. This is considered an outdated disk, since // it needs healing too. verifyResp, verifyErr = onlineDisk.VerifyFile(ctx, bucket, object, meta) default: verifyResp, verifyErr = onlineDisk.CheckParts(ctx, bucket, object, meta) } for p := range latestMeta.Parts { if verifyErr != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 12.5K bytes - Viewed (0) -
cmd/storage-datatypes.go
checkPartSuccess checkPartDiskNotFound checkPartVolumeNotFound checkPartFileNotFound checkPartFileCorrupt ) // CheckPartsResp is a response of the storage CheckParts and VerifyFile APIs type CheckPartsResp struct { Results []int } // LocalDiskIDs - GetLocalIDs response. type LocalDiskIDs struct { IDs []string } // ListDirResult - ListDir()'s response.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 15.7K bytes - Viewed (0) -
cmd/xl-storage-disk-id-check.go
break } } return errs } func (p *xlStorageDiskIDCheck) VerifyFile(ctx context.Context, volume, path string, fi FileInfo) (*CheckPartsResp, error) { ctx, done, err := p.TrackDiskHealth(ctx, storageMetricVerifyFile, volume, path) if err != nil { return nil, err } defer done(0, &err) return p.storage.VerifyFile(ctx, volume, path, fi) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 33.4K bytes - Viewed (0) -
cmd/storage-rest-client.go
SrcVolume: srcVolume, SrcFilePath: srcPath, DstVolume: dstVolume, DstFilePath: dstPath, }) return toStorageErr(err) } func (client *storageRESTClient) VerifyFile(ctx context.Context, volume, path string, fi FileInfo) (*CheckPartsResp, error) { values := make(url.Values) values.Set(storageRESTVolume, volume) values.Set(storageRESTFilePath, path) var reader bytes.Buffer
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 27.4K bytes - Viewed (0) -
cmd/storage-rest-server.go
s.writeErrorResponse(w, err) return } setEventStreamHeaders(w) encoder := gob.NewEncoder(w) done := keepHTTPResponseAlive(w) resp, err := s.getStorage().VerifyFile(r.Context(), volume, filePath, fi) done(nil) if err != nil { s.writeErrorResponse(w, err) return } encoder.Encode(resp) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 44.8K bytes - Viewed (0) -
cmd/xl-storage.go
// for healing code to fix this file. return err } return bitrotVerify(diskHealthReader(ctx, file), fi.Size(), partSize, algo, sum, shardSize) } func (s *xlStorage) VerifyFile(ctx context.Context, volume, path string, fi FileInfo) (*CheckPartsResp, error) { volumeDir, err := s.getVolDir(volume) if err != nil { return nil, err } if !skipAccessChecks(volume) {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 85.3K bytes - Viewed (0)