Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AbelChe/evil_minio
/ functions
Functions
7,741 in github.com/AbelChe/evil_minio
⨍
Functions
7,741
◇
Types & classes
1,133
↳
Endpoints
2
↓ 45 callers
Function
osErrToFileErr
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 callers
Function
Errorf
Errorf formats an error and returns it as a generic config error
internal/config/config.go:71
↓ 44 callers
Method
GetBucketInfo
(ctx context.Context, bucket string, opts BucketOptions)
cmd/object-api-interface.go:205
↓ 44 callers
Method
GetLock
(ctx context.Context, timeout *dynamicTimeout)
cmd/namespace-lock.go:41
↓ 44 callers
Method
IsAllowed
IsAllowed - checks given policy args is allowed to continue the Rest API.
cmd/iam.go:1894
↓ 44 callers
Method
analyze
(s *Select)
internal/s3select/sql/analysis.go:157
↓ 44 callers
Function
getMakeBucketURL
return URL for creating the bucket.
cmd/test-utils_test.go:1321
↓ 44 callers
Function
wrapSRErr
(err error)
cmd/site-replication.go:183
↓ 43 callers
Function
Errorf
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 callers
Method
Msg
Msg - Replace the current error's message
internal/config/errors-utils.go:61
↓ 43 callers
Function
newErrFn
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 callers
Method
Empty
Empty returns if tier targets are empty
cmd/tier.go:173
↓ 42 callers
Method
Initialized
Initialized checks if IAM is initialized
cmd/iam.go:181
↓ 42 callers
Method
Remove
(ctx context.Context, object string, rv remoteVersionID)
cmd/warm-backend.go:42
↓ 42 callers
Function
isErrObjectNotFound
isErrObjectNotFound - Check if error type is ObjectNotFound.
cmd/object-api-errors.go:678
↓ 41 callers
Method
AppendFile
(ctx context.Context, volume string, path string, buf []byte)
cmd/storage-interface.go:93
↓ 41 callers
Method
Write
(p []byte)
internal/s3select/select_test.go:61
↓ 41 callers
Function
bootstrapTrace
(msg string)
cmd/server-main.go:354
↓ 41 callers
Method
evalNode
(r Record, tableAlias string)
internal/s3select/sql/evaluate.go:337
↓ 40 callers
Function
getGetObjectURL
return URL for fetching object from the bucket.
cmd/test-utils_test.go:1266
↓ 39 callers
Function
NewTargetIDSet
NewTargetIDSet - creates new TargetID set with given TargetIDs.
internal/config/lambda/event/targetidset.go:66
↓ 39 callers
Function
SetReqInfo
SetReqInfo sets ReqInfo in the context.
internal/logger/reqinfo.go:138
↓ 39 callers
Function
getMD5Hash
getMD5Hash returns MD5 hash in hex encoding of given data.
cmd/hasher.go:47
↓ 39 callers
Function
removeAll
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 callers
Method
IsValid
IsValid - tells if erasure info fields are valid.
cmd/erasure-metadata.go:94
↓ 38 callers
Function
NewReader
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 callers
Method
Put
(ctx context.Context, object string, r io.Reader, length int64)
cmd/warm-backend.go:40
↓ 37 callers
Function
CriticalIf
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 callers
Method
AppendTags
AppendTags - appends key/val to ReqInfo.tags
internal/logger/reqinfo.go:80
↓ 36 callers
Function
newTestConfig
Configure the server for the test run.
cmd/test-utils_test.go:500
↓ 35 callers
Method
IsEmpty
IsEmpty returns true if output location not specified.
cmd/bucket-lifecycle.go:521
↓ 35 callers
Method
IsServiceAccount
IsServiceAccount - returns if given key is a service account
cmd/iam.go:843
↓ 35 callers
Method
IsTemp
IsTemp - returns whether credential is temporary or not.
internal/auth/credentials.go:140
↓ 35 callers
Method
Valid
Valid xl meta xlMetaV2Version is valid
cmd/xl-storage-format-v2.go:311
↓ 35 callers
Function
getConditionValues
(r *http.Request, lc string, cred auth.Credentials)
cmd/bucket-policy.go:69
↓ 34 callers
Method
NewMultipartUpload
Multipart operations.
cmd/disk-cache.go:90
↓ 34 callers
Method
ToAPIErrWithErr
(errCode APIErrorCode, err error)
cmd/api-errors.go:426
↓ 34 callers
Method
Write
Write implements the io.Writer interface limiting upto configured length, also skips the first N bytes.
internal/ioutil/ioutil.go:134
↓ 34 callers
Function
errSRBackendIssue
(err error)
cmd/site-replication.go:115
↓ 34 callers
Function
makeTestTargetURL
construct URL for http requests for bucket operations.
cmd/test-utils_test.go:1232
↓ 33 callers
Function
IsEncrypted
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 callers
Method
IsEncrypted
(map[string]string)
internal/crypto/sse.go:53
↓ 33 callers
Function
ParseBool
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 callers
Method
mustListObjects
(ctx context.Context, client *minio.Client, bucket string)
cmd/admin-handlers-users_test.go:1247
↓ 33 callers
Function
writeCustomErrorResponseJSON
writeCustomErrorResponseJSON - similar to writeErrorResponseJSON, but accepts the error message directly (this allows messages to be dynamically gener
cmd/api-response.go:906
↓ 33 callers
Function
writeSuccessResponseXML
writeSuccessResponseXML writes success headers and response if any, with content-type set to `application/xml`.
cmd/api-response.go:840
↓ 32 callers
Method
IAMChangeHook
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 callers
Method
entries
entries returns the number of entries in the data.
cmd/xl-storage-meta-inline.go:217
↓ 32 callers
Function
getConfigFile
()
cmd/config-dir.go:98
↓ 32 callers
Function
importErrorWithAPIErr
wraps import error for more context
cmd/admin-handler-utils.go:248
↓ 32 callers
Function
newTestRequest
Returns new HTTP request object.
cmd/test-utils_test.go:1073
↓ 32 callers
Function
readAllFileInfo
Reads all `xl.meta` metadata as a FileInfo slice. Returns error slice indicating the failed metadata reads.
cmd/erasure-metadata-utils.go:154
↓ 32 callers
Function
writeSuccessResponseHeadersOnly
(w http.ResponseWriter)
cmd/api-response.go:855
↓ 31 callers
Function
NewDRWMutex
NewDRWMutex - initializes a new dsync RW mutex.
internal/dsync/drwmutex.go:132
↓ 31 callers
Method
Open
Open opens a new active journal. Note: calling Open on an opened journal is a no-op.
cmd/tier-journal.go:232
↓ 31 callers
Function
benchmarkErasureDecode
Benchmarks
cmd/erasure-decode_test.go:284
↓ 31 callers
Method
find
find a path in the cache. Returns nil if not found.
cmd/data-usage-cache.go:430
↓ 31 callers
Method
lock
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 callers
Function
metaDataPoolPut
metaDataPoolPut will put an unused small buffer back into the pool.
cmd/xl-storage-format-v2.go:679
↓ 30 callers
Method
GetObjectInfo
(ctx context.Context, bucket, object string, opts ObjectOptions)
cmd/disk-cache.go:84
↓ 30 callers
Method
HealObject
(ctx context.Context, bucket, object, versionID string, opts madmin.HealOpts)
cmd/object-api-interface.go:247
↓ 30 callers
Method
Key
Key returns the key.
cmd/data-usage-cache.go:674
↓ 30 callers
Method
calcError
()
cmd/naughty-disk_test.go:88
↓ 30 callers
Method
callWithContext
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 callers
Method
combine
`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 callers
Method
getHashedSet
Returns always a same erasure coded set for a given input.
cmd/erasure-sets.go:717
↓ 30 callers
Method
unlock
()
cmd/iam-store.go:423
↓ 29 callers
Function
FatalIf
FatalIf is similar to Fatal() but it ignores passed nil error
internal/logger/logger.go:391
↓ 29 callers
Method
IsValid
IsValid - To authenticate and check if the disk-id in the request corresponds to the underlying disk.
cmd/storage-rest-server.go:127
↓ 29 callers
Method
Unlock
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 callers
Method
call
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 callers
Function
checkPathLength
checkPathLength - returns error if given path name length more than 255
cmd/xl-storage.go:122
↓ 28 callers
Function
FromInt
FromInt creates a Value from an int
internal/s3select/sql/value.go:125
↓ 28 callers
Function
GetSourceIP
GetSourceIP retrieves the IP from the request headers and falls back to r.RemoteAddr when necessary.
internal/handlers/proxy.go:118
↓ 28 callers
Method
Msgsize
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
cmd/data-usage-cache_gen.go:3762
↓ 28 callers
Method
PrefixEnabled
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 callers
Method
ShardSize
ShardSize - returns actual shared size from erasure blockSize.
cmd/erasure-coding.go:122
↓ 28 callers
Method
Shutdown
Storage operations.
cmd/object-api-interface.go:197
↓ 28 callers
Function
contextCanceled
contextCanceled returns whether a context is canceled.
cmd/common-main.go:994
↓ 28 callers
Function
getRequestAuthType
Get request authentication type.
cmd/auth-handler.go:111
↓ 28 callers
Method
isDir
isDir returns if the entry is representing a prefix directory.
cmd/metacache-entries.go:49
↓ 28 callers
Function
must
(s string)
internal/etag/etag_test.go:310
↓ 28 callers
Function
writeResponse
(w http.ResponseWriter, statusCode int, response []byte, mType mimeType)
cmd/api-response.go:800
↓ 27 callers
Method
DeleteObject
(ctx context.Context, bucket, object string, opts ObjectOptions)
cmd/config-common.go:64
↓ 27 callers
Function
ExecObjectLayerTest
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 callers
Method
Hostname
Returns hostname if disk is remote.
cmd/storage-interface.go:49
↓ 27 callers
Function
NewRulesMap
NewRulesMap - creates new rules map with given values.
internal/event/rulesmap.go:75
↓ 27 callers
Method
PutObjectPart
(ctx context.Context, bucket, object, uploadID string, partID int, data *PutObjReader, opts ObjectOptions)
cmd/disk-cache.go:91
↓ 27 callers
Method
ReadVersion
(ctx context.Context, volume, path, versionID string, readData bool)
cmd/storage-interface.go:86
↓ 27 callers
Method
SetPolicy
SetPolicy creates or updates a policy.
internal/kms/policy-manager.go:40
↓ 27 callers
Method
TrackDiskHealth
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 callers
Function
mustGetPoolEndpoints
(args ...string)
cmd/test-utils_test.go:2188
↓ 26 callers
Function
Errorf
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 callers
Method
Init
()
internal/logger/targets.go:39
↓ 26 callers
Method
IsOnline
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 callers
Function
LogOnceIf
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 callers
Method
Open
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 callers
Method
ToObjectInfo
ToObjectInfo - Converts metadata to object info.
cmd/erasure-metadata.go:157
↓ 26 callers
Function
isErrVersionNotFound
isErrVersionNotFound - Check if error type is VersionNotFound.
cmd/object-api-errors.go:684
↓ 25 callers
Method
AddCannedPolicy
AddCannedPolicy - PUT /minio/admin/v3/add-canned-policy?name=<policy_name>
cmd/admin-handlers-users.go:1539
← previous
next →
101–200 of 7,741, ranked by callers