MCPcopy Create free account

hub / github.com/AbelChe/evil_minio / functions

Functions7,741 in github.com/AbelChe/evil_minio

↓ 1,179 callersMethodFatal
(...interface{})
internal/s3select/csv/reader_contrib_test.go:87
↓ 775 callersMethodError
()
internal/s3select/errors.go:29
↓ 707 callersFunctionwriteErrorResponse
writeErrorRespone writes error headers
cmd/api-response.go:860
↓ 696 callersMethodGet
(ctx context.Context, object string, rv remoteVersionID, opts WarmBackendGetOpts)
cmd/warm-backend.go:41
↓ 666 callersFunctionLogIf
LogIf prints a detailed error message during the execution of the server, if it is not an ignored error.
internal/logger/logger.go:254
↓ 618 callersMethodNew
New returns a new hash.Hash calculating the given bitrot algorithm.
cmd/bitrot.go:47
↓ 566 callersMethodToAPIErr
(errCode APIErrorCode)
cmd/api-errors.go:443
↓ 544 callersMethodAssert
Assert - checks if gotValue is same as expectedValue, if not fails the test.
cmd/server_test.go:61
↓ 541 callersFunctionwriteErrorResponseJSON
writeErrorResponseJSON - writes error response in JSON format; useful for admin APIs.
cmd/api-response.go:896
↓ 474 callersMethodSet
Set a value. Can return a different record type.
internal/s3select/sql/record.go:57
↓ 469 callersMethodEncode
Encode reads from the reader, erasure-encodes the data and writes to the writers.
cmd/erasure-encode.go:77
↓ 454 callersMethodGet
(bucket string)
internal/config/dns/store.go:47
↓ 379 callersFunctiontoAPIError
toAPIError - Converts embedded errors. Convenience function written to handle all cases where we have known types of errors returned by underlying lay
cmd/api-errors.go:2300
↓ 371 callersMethodString
Stringified version of disk.
cmd/storage-interface.go:31
↓ 343 callersFunctionpathJoin
pathJoin - like path.Join() but retains trailing SlashSeparator of the last element
cmd/object-api-utils.go:231
↓ 335 callersMethodLock
Do write lock for given LockArgs. It should return * a boolean to indicate success/failure of the operation * an error on failure of lock request oper
internal/dsync/locker.go:32
↓ 305 callersMethodUnlock
(lkCtx LockContext)
cmd/namespace-lock.go:42
↓ 299 callersMethodLen
()
internal/event/targetlist.go:44
↓ 284 callersMethodIs
Is returns if c is all of t.
internal/hash/checksum.go:69
↓ 268 callersFunctiontoAdminAPIErr
(ctx context.Context, err error)
cmd/admin-handler-utils.go:74
↓ 250 callersMethodDone
()
cmd/common-main.go:1016
↓ 240 callersMethodAdd
Add adds tier to config if it passes all validations.
cmd/tier.go:106
↓ 224 callersMethodClose
Close the disk, mark it purposefully closed, only implemented for remote disks.
cmd/storage-interface.go:55
↓ 216 callersFunctionnewContext
Returns context with ReqInfo details set in the context.
cmd/utils.go:820
↓ 214 callersMethodContext
Context returns lock context
cmd/namespace-lock.go:54
↓ 202 callersFunctionUTCNow
UTCNow - returns current UTC time.
cmd/utils.go:549
↓ 199 callersFunctionAuditLog
AuditLog - logs audit logs to all audit targets.
internal/logger/audit.go:64
↓ 193 callersMethodRLock
Do read lock for given LockArgs. It should return * a boolean to indicate success/failure of the operation * an error on failure of lock request oper
internal/dsync/locker.go:27
↓ 193 callersFunctionmustGetClaimsFromToken
Fetch claims in the security token returned by the client, doesn't return errors - upon errors the returned claims map will be empty.
cmd/auth-handler.go:202
↓ 192 callersMethodFormat
Format returns an ETag that is formatted as specified by AWS S3. An AWS S3 ETag is 16 bytes long and, in case of a multipart upload, has a `-N` suffi
internal/etag/etag.go:230
↓ 190 callersMethodDecode
Decode reads from readers, reconstructs data if needed and writes the data to the writer. A set of preferred drives can be supplied. In that case they
cmd/erasure-decode.go:206
↓ 184 callersMethodBytes
Bytes returns msgpack encoded config with format and version headers.
cmd/tier.go:248
↓ 178 callersMethodHeader
()
internal/s3select/select_test.go:57
↓ 172 callersFunctionhttpTraceHdrs
(f http.HandlerFunc)
cmd/http-tracer.go:198
↓ 153 callersFunctionnewTestSignedRequest
(method, urlStr string, contentLength int64, body io.ReadSeeker, accessKey, secretKey string, signer signerTyp
cmd/test-utils_test.go:1122
↓ 150 callersMethodWait
Wait blocks until all function calls from the Go method have returned, then returns the slice of errors from all function calls.
cmd/notification.go:80
↓ 147 callersMethodRUnlock
(lkCtx LockContext)
cmd/namespace-lock.go:44
↓ 146 callersMethodReset
()
internal/s3select/sql/record.go:63
↓ 141 callersFunctionhttpTraceAll
(f http.HandlerFunc)
cmd/http-tracer.go:194
↓ 134 callersMethodContains
Contains returns whether *all* flags in other is present in t.
internal/pubsub/mask.go:22
↓ 126 callersMethodAdd
Add - adds pattern and target ID.
internal/event/rules.go:53
↓ 126 callersMethodReadAll
Read all.
cmd/storage-interface.go:109
↓ 126 callersMethodwriteErrorResponse
(w http.ResponseWriter, err error)
cmd/peer-rest-server.go:1156
↓ 123 callersMethodMakeBucket
Bucket operations.
cmd/object-api-interface.go:204
↓ 122 callersMethodEqual
Equal returns true if replication state is identical for version purge statuses and (replica)tion statuses.
cmd/bucket-replication-utils.go:341
↓ 120 callersFunctionmustGetUUID
mustGetUUID - get a random UUID.
cmd/object-api-utils.go:242
↓ 116 callersMethodFlush
Flush - Calls the underlying Flush.
internal/http/response-recorder.go:125
↓ 114 callersFunctionInfo
Info :
internal/logger/console.go:227
↓ 114 callersFunctiontoObjectErr
Converts underlying storage error. Convenience function written to handle all cases where we have known types of errors returned by underlying storage
cmd/object-api-errors.go:30
↓ 110 callersFunctionvalidateAdminReq
validateAdminReq will validate request against and return whether it is allowed. If any of the supplied actions are allowed it will be successful. If
cmd/admin-handler-utils.go:37
↓ 104 callersMethodServeHTTP
ServeHTTP forwards HTTP traffic using the configured transport
internal/handlers/forwarder.go:54
↓ 98 callersMethodPutObject
(ctx context.Context, bucket, object string, data *PutObjReader, opts ObjectOptions)
cmd/data-usage-cache.go:877
↓ 98 callersFunctionmustGetPutObjReader
(t TestErrHandler, data io.Reader, size int64, md5hex, sha256hex string)
cmd/test-utils_test.go:164
↓ 97 callersFunctionnewObjectLayerFn
()
cmd/api-router.go:58
↓ 90 callersMethodSleep
Sleep sleeps the specified time multiplied by the sleep factor. If the factor is updated the sleep will be done again with the new factor.
cmd/data-scanner.go:1367
↓ 90 callersMethodString
()
internal/logger/targets.go:36
↓ 88 callersFunctiongetRandomBucketName
generate random bucket name.
cmd/test-utils_test.go:1227
↓ 82 callersMethodDelete
(ctx context.Context, volume string, path string, deleteOpts DeleteOptions)
cmd/storage-interface.go:98
↓ 81 callersFunctionosIsNotExist
(err error)
cmd/xl-storage-errors.go:131
↓ 80 callersMethodUnlock
Do write unlock for given LockArgs. It should return * a boolean to indicate success/failure of the operation * an error on failure of unlock request
internal/dsync/locker.go:46
↓ 78 callersMethodGo
Go calls the given function in a new goroutine. The first call to return a non-nil error will be collected in errs slice and returned by Wait().
cmd/notification.go:89
↓ 77 callersMethodStop
Stop the profiler
cmd/utils.go:503
↓ 76 callersFunctioncollectAPIStats
(api string, f http.HandlerFunc)
cmd/handler-utils.go:353
↓ 73 callersFunctioncheckRequestAuthType
Check request auth type verifies the incoming http request - validates the request signature - validates the policy action if anonymous tests bucket p
cmd/auth-handler.go:303
↓ 72 callersMethodWrite
multiWriter writes to backend and cache - if cache write fails close the pipe, but continue writing to the backend
cmd/disk-cache-utils.go:550
↓ 70 callersFunctionmaxClients
maxClients throttles the S3 API calls
cmd/handler-api.go:249
↓ 69 callersMethodErr
()
cmd/common-main.go:1020
↓ 69 callersMethodIsRequested
(http.Header)
internal/crypto/sse.go:52
↓ 66 callersMethodStat
Stat returns the current KMS status.
internal/kms/kms.go:33
↓ 65 callersMethodName
()
cmd/admin-handlers.go:837
↓ 65 callersFunctionwriteSuccessResponseJSON
writeSuccessResponseJSON writes success headers and response if any, with content-type set to `application/json`.
cmd/api-response.go:834
↓ 64 callersMethodClone
Clone the record and if possible use the destination provided.
internal/s3select/sql/record.go:62
↓ 62 callersMethodRUnlock
Do read unlock for given LockArgs. It should return * a boolean to indicate success/failure of the operation * an error on failure of unlock request o
internal/dsync/locker.go:39
↓ 59 callersMethodClose
Close closes any underlying connection to the service endpoint
internal/dsync/locker.go:60
↓ 59 callersMethodSetStatus
(bucket, fname string, err error)
cmd/admin-bucket-handlers.go:620
↓ 59 callersFunctionwriteSTSErrorResponse
writeSTSErrorRespone writes error headers
cmd/sts-errors.go:30
↓ 58 callersFunctionnewTestSignedRequestV4
Returns new HTTP request object signed with signature v4.
cmd/test-utils_test.go:1178
↓ 58 callersMethodwriteErrorResponse
(w http.ResponseWriter, err error)
cmd/storage-rest-server.go:58
↓ 56 callersMethodEqual
Equal - returns whether two credentials are equal or not.
internal/auth/credentials.go:160
↓ 56 callersMethodRead
Read a record. dst is optional but will be used if valid.
internal/s3select/select.go:48
↓ 56 callersFunctionWithNErrs
WithNErrs returns a new Group with length of errs slice upto nerrs, upon Wait() errors are returned collected from all tasks.
internal/sync/errgroup/errgroup.go:42
↓ 55 callersFunctionFatal
Fatal prints only fatal error message with no stack trace it will be called for input validation failures
internal/logger/console.go:60
↓ 55 callersMethodSize
()
cmd/admin-handlers.go:838
↓ 54 callersFunctionencodeResponse
Encodes the response headers into XML format.
cmd/api-headers.go:67
↓ 52 callersMethodUpdate
Update the current settings and cycle all waiting. Parameters are the same as in the contructor.
cmd/data-scanner.go:1413
↓ 51 callersFunctionNewTargetIDSet
NewTargetIDSet - creates new TargetID set with given TargetIDs.
internal/event/targetidset.go:66
↓ 51 callersMethodString
()
internal/config/dns/store.go:52
↓ 51 callersFunctionexportError
wraps export error for more context
cmd/admin-handler-utils.go:232
↓ 51 callersFunctionsendEvent
(args eventArgs)
cmd/event-notification.go:316
↓ 50 callersMethodIsValid
IsValid - To authenticate and verify the time difference.
cmd/peer-rest-server.go:1162
↓ 50 callersFunctionNewPattern
NewPattern - create new pattern for prefix/suffix.
internal/event/rules.go:27
↓ 50 callersFunctionosIsPermission
(err error)
cmd/xl-storage-errors.go:135
↓ 48 callersMethodMakeVol
Volume operations.
cmd/storage-interface.go:72
↓ 47 callersFunctionGetReqInfo
GetReqInfo returns ReqInfo if set.
internal/logger/reqinfo.go:147
↓ 47 callersMethodlen
len returns the number of objects and prefix dirs in m.
cmd/metacache-entries.go:926
↓ 46 callersMethodCloseWithError
CloseWithError will close the stream and return the specified error. This can be done several times, but only the first error will be sent. After call
cmd/storage-rest-server.go:994
↓ 46 callersFunctionremoveRoots
removeRoots - Cleans up initialized directories during tests.
cmd/test-utils_test.go:1519
↓ 45 callersMethodIsSet
IsSet returns whether the type is valid and known.
internal/hash/checksum.go:108
↓ 45 callersMethodReadFile
(ctx context.Context, volume string, path string, offset int64, buf []byte, verifier *BitrotVerifier)
cmd/storage-interface.go:92
↓ 45 callersFunctiongetPutObjectURL
return URL for uploading object into the bucket.
cmd/test-utils_test.go:1247
next →1–100 of 7,741, ranked by callers