Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for caster (0.17 sec)

  1. cmd/metrics-v2.go

    			switch madmin.BatchJobType(mj.JobType) {
    			case madmin.BatchJobReplicate:
    				objects = float64(mj.Replicate.Objects)
    				objectsFailed = float64(mj.Replicate.ObjectsFailed)
    				bucket = mj.Replicate.Bucket
    			case madmin.BatchJobKeyRotate:
    				objects = float64(mj.KeyRotate.Objects)
    				objectsFailed = float64(mj.KeyRotate.ObjectsFailed)
    				bucket = mj.KeyRotate.Bucket
    			case madmin.BatchJobExpire:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  2. cmd/erasure-object.go

    				ok = etag != "" && etag == fi.Metadata["etag"]
    			}
    			if ok {
    				continue
    			}
    		} // in all other cases metadata is corrupt, do not read from it.
    
    		onlineMeta[i] = FileInfo{}
    		onlineDisks[i] = nil
    	}
    
    	select {
    	case mrfCheck <- fi.ShallowCopy():
    	case <-ctx.Done():
    		return fi, onlineMeta, onlineDisks, toObjectErr(ctx.Err(), bucket, object)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  3. cmd/erasure-server-pool.go

    		// Count errNoHealRequired across all serverPools,
    		// to return appropriate error to the caller
    		if errors.Is(err, errNoHealRequired) {
    			countNoHeal++
    		}
    		r.DiskCount += result.DiskCount
    		r.SetCount += result.SetCount
    		r.Before.Drives = append(r.Before.Drives, result.Before.Drives...)
    		r.After.Drives = append(r.After.Drives, result.After.Drives...)
    	}
    
    	// No heal returned by all serverPools, return errNoHealRequired
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  4. cmd/object-api-errors.go

    			apiErr.Bucket = params[0]
    		}
    		return apiErr
    	case errVolumeNotEmpty.Error():
    		apiErr := BucketNotEmpty{}
    		if len(params) >= 1 {
    			apiErr.Bucket = params[0]
    		}
    		return apiErr
    	case errVolumeExists.Error():
    		apiErr := BucketExists{}
    		if len(params) >= 1 {
    			apiErr.Bucket = params[0]
    		}
    		return apiErr
    	case errDiskFull.Error():
    		return StorageFull{}
    	case errTooManyOpenFiles.Error():
    		return SlowDown{}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  5. cmd/api-errors.go

    	case BucketAlreadyExists:
    		apiErr = ErrBucketAlreadyExists
    	case BucketExists:
    		apiErr = ErrBucketAlreadyOwnedByYou
    	case ObjectNotFound:
    		apiErr = ErrNoSuchKey
    	case MethodNotAllowed:
    		apiErr = ErrMethodNotAllowed
    	case ObjectLocked:
    		apiErr = ErrObjectLocked
    	case InvalidVersionID:
    		apiErr = ErrInvalidVersionID
    	case VersionNotFound:
    		apiErr = ErrNoSuchVersion
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  6. cmd/iam.go

    		return r, errServerNotInitialized
    	}
    
    	select {
    	case <-sys.configLoaded:
    		return sys.store.ListGroups(ctx)
    	case <-ctx.Done():
    		return nil, ctx.Err()
    	}
    }
    
    // PolicyDBSet - sets a policy for a user or group in the PolicyDB. This does
    // not validate if the user/group exists - that is the responsibility of the
    // caller.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  7. cmd/xl-storage.go

    		case isSysErrNotDir(err) || isSysErrIsDir(err):
    			return nil, dmTime, errFileNotFound
    		case isSysErrHandleInvalid(err):
    			// This case is special and needs to be handled for windows.
    			return nil, dmTime, errFileNotFound
    		case isSysErrIO(err):
    			return nil, dmTime, errFaultyDisk
    		case isSysErrTooManyFiles(err):
    			return nil, dmTime, errTooManyOpenFiles
    		case isSysErrInvalidArg(err):
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  8. cmd/iam-store.go

    		}
    		cr.Expiration = expirationInUTC
    	}
    
    	switch opts.status {
    	// The caller did not ask to update status account, do nothing
    	case "":
    	case string(madmin.AccountEnabled):
    		cr.Status = auth.AccountOn
    	case string(madmin.AccountDisabled):
    		cr.Status = auth.AccountOff
    	// Update account status
    	case auth.AccountOn, auth.AccountOff:
    		cr.Status = opts.status
    	default:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  9. internal/rest/client.go

    	TraceOutput io.Writer // Debug trace output
    
    	httpClient   *http.Client
    	url          *url.URL
    	newAuthToken func(audience string) string
    
    	sync.RWMutex // mutex for lastErr
    	lastErr      error
    	lastErrTime  time.Time
    }
    
    type restError string
    
    func (e restError) Error() string {
    	return string(e)
    }
    
    func (e restError) Timeout() bool {
    	return true
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  10. cmd/storage-rest-client.go

    	case errFaultyDisk.Error():
    		return errFaultyDisk
    	case errFaultyRemoteDisk.Error():
    		return errFaultyRemoteDisk
    	case errFileCorrupt.Error():
    		return errFileCorrupt
    	case errUnexpected.Error():
    		return errUnexpected
    	case errDiskFull.Error():
    		return errDiskFull
    	case errVolumeNotFound.Error():
    		return errVolumeNotFound
    	case errVolumeExists.Error():
    		return errVolumeExists
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
Back to top