MCPcopy Create free account

hub / github.com/AbelChe/evil_minio / functions

Functions7,741 in github.com/AbelChe/evil_minio

↓ 45 callersFunctionosErrToFileErr
Is a one place function which converts all os.PathError into a more FS object layer friendly form, converts known errors into their typed form for top
cmd/storage-errors.go:139
↓ 44 callersFunctionErrorf
Errorf formats an error and returns it as a generic config error
internal/config/config.go:71
↓ 44 callersMethodGetBucketInfo
(ctx context.Context, bucket string, opts BucketOptions)
cmd/object-api-interface.go:205
↓ 44 callersMethodGetLock
(ctx context.Context, timeout *dynamicTimeout)
cmd/namespace-lock.go:41
↓ 44 callersMethodIsAllowed
IsAllowed - checks given policy args is allowed to continue the Rest API.
cmd/iam.go:1894
↓ 44 callersMethodanalyze
(s *Select)
internal/s3select/sql/analysis.go:157
↓ 44 callersFunctiongetMakeBucketURL
return URL for creating the bucket.
cmd/test-utils_test.go:1321
↓ 44 callersFunctionwrapSRErr
(err error)
cmd/site-replication.go:183
↓ 43 callersFunctionErrorf
Errorf - formats according to a format specifier and returns the string as a value that satisfies error of type crypto.Error
internal/crypto/error.go:33
↓ 43 callersMethodMsg
Msg - Replace the current error's message
internal/config/errors-utils.go:61
↓ 43 callersFunctionnewErrFn
Create a UI error generator, this is needed to simplify the update of the detailed error message in several places in MinIO code
internal/config/errors-utils.go:80
↓ 42 callersMethodEmpty
Empty returns if tier targets are empty
cmd/tier.go:173
↓ 42 callersMethodInitialized
Initialized checks if IAM is initialized
cmd/iam.go:181
↓ 42 callersMethodRemove
(ctx context.Context, object string, rv remoteVersionID)
cmd/warm-backend.go:42
↓ 42 callersFunctionisErrObjectNotFound
isErrObjectNotFound - Check if error type is ObjectNotFound.
cmd/object-api-errors.go:678
↓ 41 callersMethodAppendFile
(ctx context.Context, volume string, path string, buf []byte)
cmd/storage-interface.go:93
↓ 41 callersMethodWrite
(p []byte)
internal/s3select/select_test.go:61
↓ 41 callersFunctionbootstrapTrace
(msg string)
cmd/server-main.go:354
↓ 41 callersMethodevalNode
(r Record, tableAlias string)
internal/s3select/sql/evaluate.go:337
↓ 40 callersFunctiongetGetObjectURL
return URL for fetching object from the bucket.
cmd/test-utils_test.go:1266
↓ 39 callersFunctionNewTargetIDSet
NewTargetIDSet - creates new TargetID set with given TargetIDs.
internal/config/lambda/event/targetidset.go:66
↓ 39 callersFunctionSetReqInfo
SetReqInfo sets ReqInfo in the context.
internal/logger/reqinfo.go:138
↓ 39 callersFunctiongetMD5Hash
getMD5Hash returns MD5 hash in hex encoding of given data.
cmd/hasher.go:47
↓ 39 callersFunctionremoveAll
Wrapper functions to os.RemoveAll, which calls reliableRemoveAll this is to ensure that if there is a racy parent directory create in between we can s
cmd/os-reliable.go:29
↓ 38 callersMethodIsValid
IsValid - tells if erasure info fields are valid.
cmd/erasure-metadata.go:94
↓ 38 callersFunctionNewReader
NewReader returns a new Reader that wraps src and computes MD5 checksum of everything it reads as ETag. It also computes the SHA256 checksum of every
internal/hash/reader.go:69
↓ 38 callersMethodPut
(ctx context.Context, object string, r io.Reader, length int64)
cmd/warm-backend.go:40
↓ 37 callersFunctionCriticalIf
CriticalIf logs the provided error on the console. It fails the current go-routine by causing a `panic(ErrCritical)`.
internal/logger/logger.go:383
↓ 36 callersMethodAppendTags
AppendTags - appends key/val to ReqInfo.tags
internal/logger/reqinfo.go:80
↓ 36 callersFunctionnewTestConfig
Configure the server for the test run.
cmd/test-utils_test.go:500
↓ 35 callersMethodIsEmpty
IsEmpty returns true if output location not specified.
cmd/bucket-lifecycle.go:521
↓ 35 callersMethodIsServiceAccount
IsServiceAccount - returns if given key is a service account
cmd/iam.go:843
↓ 35 callersMethodIsTemp
IsTemp - returns whether credential is temporary or not.
internal/auth/credentials.go:140
↓ 35 callersMethodValid
Valid xl meta xlMetaV2Version is valid
cmd/xl-storage-format-v2.go:311
↓ 35 callersFunctiongetConditionValues
(r *http.Request, lc string, cred auth.Credentials)
cmd/bucket-policy.go:69
↓ 34 callersMethodNewMultipartUpload
Multipart operations.
cmd/disk-cache.go:90
↓ 34 callersMethodToAPIErrWithErr
(errCode APIErrorCode, err error)
cmd/api-errors.go:426
↓ 34 callersMethodWrite
Write implements the io.Writer interface limiting upto configured length, also skips the first N bytes.
internal/ioutil/ioutil.go:134
↓ 34 callersFunctionerrSRBackendIssue
(err error)
cmd/site-replication.go:115
↓ 34 callersFunctionmakeTestTargetURL
construct URL for http requests for bucket operations.
cmd/test-utils_test.go:1232
↓ 33 callersFunctionIsEncrypted
IsEncrypted returns true if the object metadata indicates that it was uploaded using some form of server-side-encryption. IsEncrypted only checks whe
internal/crypto/metadata.go:127
↓ 33 callersMethodIsEncrypted
(map[string]string)
internal/crypto/sse.go:53
↓ 33 callersFunctionParseBool
ParseBool returns the boolean value represented by the string. It accepts 1, t, T, TRUE, true, True, 0, f, F, FALSE, false, False. Any other value ret
internal/config/bool-flag.go:71
↓ 33 callersMethodmustListObjects
(ctx context.Context, client *minio.Client, bucket string)
cmd/admin-handlers-users_test.go:1247
↓ 33 callersFunctionwriteCustomErrorResponseJSON
writeCustomErrorResponseJSON - similar to writeErrorResponseJSON, but accepts the error message directly (this allows messages to be dynamically gener
cmd/api-response.go:906
↓ 33 callersFunctionwriteSuccessResponseXML
writeSuccessResponseXML writes success headers and response if any, with content-type set to `application/xml`.
cmd/api-response.go:840
↓ 32 callersMethodIAMChangeHook
IAMChangeHook - called when IAM items need to be replicated to peer clusters. This includes named policy creation, policy mapping changes and service
cmd/site-replication.go:1087
↓ 32 callersMethodentries
entries returns the number of entries in the data.
cmd/xl-storage-meta-inline.go:217
↓ 32 callersFunctiongetConfigFile
()
cmd/config-dir.go:98
↓ 32 callersFunctionimportErrorWithAPIErr
wraps import error for more context
cmd/admin-handler-utils.go:248
↓ 32 callersFunctionnewTestRequest
Returns new HTTP request object.
cmd/test-utils_test.go:1073
↓ 32 callersFunctionreadAllFileInfo
Reads all `xl.meta` metadata as a FileInfo slice. Returns error slice indicating the failed metadata reads.
cmd/erasure-metadata-utils.go:154
↓ 32 callersFunctionwriteSuccessResponseHeadersOnly
(w http.ResponseWriter)
cmd/api-response.go:855
↓ 31 callersFunctionNewDRWMutex
NewDRWMutex - initializes a new dsync RW mutex.
internal/dsync/drwmutex.go:132
↓ 31 callersMethodOpen
Open opens a new active journal. Note: calling Open on an opened journal is a no-op.
cmd/tier-journal.go:232
↓ 31 callersFunctionbenchmarkErasureDecode
Benchmarks
cmd/erasure-decode_test.go:284
↓ 31 callersMethodfind
find a path in the cache. Returns nil if not found.
cmd/data-usage-cache.go:430
↓ 31 callersMethodlock
The role of the read-write lock is to prevent go routines from concurrently reading and writing the IAM storage. The (r)lock() functions return the ia
cmd/iam-store.go:422
↓ 31 callersFunctionmetaDataPoolPut
metaDataPoolPut will put an unused small buffer back into the pool.
cmd/xl-storage-format-v2.go:679
↓ 30 callersMethodGetObjectInfo
(ctx context.Context, bucket, object string, opts ObjectOptions)
cmd/disk-cache.go:84
↓ 30 callersMethodHealObject
(ctx context.Context, bucket, object, versionID string, opts madmin.HealOpts)
cmd/object-api-interface.go:247
↓ 30 callersMethodKey
Key returns the key.
cmd/data-usage-cache.go:674
↓ 30 callersMethodcalcError
()
cmd/naughty-disk_test.go:88
↓ 30 callersMethodcallWithContext
Wrapper to restClient.Call to handle network errors, in case of network error the connection is marked disconnected permanently. The only way to resto
cmd/peer-rest-client.go:59
↓ 30 callersMethodcombine
`combine` combines a pair of `qProp`s, so that errors are propagated correctly, and checks that an aggregation is not being combined with a row-functi
internal/s3select/sql/analysis.go:59
↓ 30 callersMethodgetHashedSet
Returns always a same erasure coded set for a given input.
cmd/erasure-sets.go:717
↓ 30 callersMethodunlock
()
cmd/iam-store.go:423
↓ 29 callersFunctionFatalIf
FatalIf is similar to Fatal() but it ignores passed nil error
internal/logger/logger.go:391
↓ 29 callersMethodIsValid
IsValid - To authenticate and check if the disk-id in the request corresponds to the underlying disk.
cmd/storage-rest-server.go:127
↓ 29 callersMethodUnlock
Unlock unlocks the write lock. It is a run-time error if dm is not locked on entry to Unlock.
internal/dsync/drwmutex.go:600
↓ 29 callersMethodcall
Wrapper to restClient.Call to handle network errors, in case of network error the connection is makred disconnected permanently. The only way to resto
cmd/storage-rest-client.go:159
↓ 29 callersFunctioncheckPathLength
checkPathLength - returns error if given path name length more than 255
cmd/xl-storage.go:122
↓ 28 callersFunctionFromInt
FromInt creates a Value from an int
internal/s3select/sql/value.go:125
↓ 28 callersFunctionGetSourceIP
GetSourceIP retrieves the IP from the request headers and falls back to r.RemoteAddr when necessary.
internal/handlers/proxy.go:118
↓ 28 callersMethodMsgsize
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
cmd/data-usage-cache_gen.go:3762
↓ 28 callersMethodPrefixEnabled
PrefixEnabled returns true is versioning is enabled at bucket level and if the given prefix doesn't match any excluded prefixes pattern. This is part
cmd/bucket-versioning.go:42
↓ 28 callersMethodShardSize
ShardSize - returns actual shared size from erasure blockSize.
cmd/erasure-coding.go:122
↓ 28 callersMethodShutdown
Storage operations.
cmd/object-api-interface.go:197
↓ 28 callersFunctioncontextCanceled
contextCanceled returns whether a context is canceled.
cmd/common-main.go:994
↓ 28 callersFunctiongetRequestAuthType
Get request authentication type.
cmd/auth-handler.go:111
↓ 28 callersMethodisDir
isDir returns if the entry is representing a prefix directory.
cmd/metacache-entries.go:49
↓ 28 callersFunctionmust
(s string)
internal/etag/etag_test.go:310
↓ 28 callersFunctionwriteResponse
(w http.ResponseWriter, statusCode int, response []byte, mType mimeType)
cmd/api-response.go:800
↓ 27 callersMethodDeleteObject
(ctx context.Context, bucket, object string, opts ObjectOptions)
cmd/config-common.go:64
↓ 27 callersFunctionExecObjectLayerTest
ExecObjectLayerTest - executes object layer tests. Creates single node and Erasure ObjectLayer instance and runs test for both the layers.
cmd/test-utils_test.go:1822
↓ 27 callersMethodHostname
Returns hostname if disk is remote.
cmd/storage-interface.go:49
↓ 27 callersFunctionNewRulesMap
NewRulesMap - creates new rules map with given values.
internal/event/rulesmap.go:75
↓ 27 callersMethodPutObjectPart
(ctx context.Context, bucket, object, uploadID string, partID int, data *PutObjReader, opts ObjectOptions)
cmd/disk-cache.go:91
↓ 27 callersMethodReadVersion
(ctx context.Context, volume, path, versionID string, readData bool)
cmd/storage-interface.go:86
↓ 27 callersMethodSetPolicy
SetPolicy creates or updates a policy.
internal/kms/policy-manager.go:40
↓ 27 callersMethodTrackDiskHealth
TrackDiskHealth for this request. When a non-nil error is returned 'done' MUST be called with the status of the response, if it corresponds to disk he
cmd/xl-storage-disk-id-check.go:672
↓ 27 callersFunctionmustGetPoolEndpoints
(args ...string)
cmd/test-utils_test.go:2188
↓ 26 callersFunctionErrorf
Errorf - formats according to a format specifier and returns the string as a value that satisfies error of type tagging.Error
internal/bucket/replication/error.go:32
↓ 26 callersMethodInit
()
internal/logger/targets.go:39
↓ 26 callersMethodIsOnline
Storage operations. Returns true if disk is online and its valid i.e valid format.json. This has nothing to do with if the drive is hung or not respon
cmd/storage-interface.go:40
↓ 26 callersFunctionLogOnceIf
LogOnceIf - Logs notification errors - once per error. id is a unique identifier for related log messages, refer to cmd/notification.go on how it is u
internal/logger/logonce.go:145
↓ 26 callersMethodOpen
Open - opens S3 object by using callback for SQL selection query. Currently CSV, JSON and Apache Parquet formats are supported.
internal/s3select/select.go:364
↓ 26 callersMethodToObjectInfo
ToObjectInfo - Converts metadata to object info.
cmd/erasure-metadata.go:157
↓ 26 callersFunctionisErrVersionNotFound
isErrVersionNotFound - Check if error type is VersionNotFound.
cmd/object-api-errors.go:684
↓ 25 callersMethodAddCannedPolicy
AddCannedPolicy - PUT /minio/admin/v3/add-canned-policy?name=<policy_name>
cmd/admin-handlers-users.go:1539
← previousnext →101–200 of 7,741, ranked by callers