MCPcopy Create free account

hub / github.com/AbelChe/evil_minio / functions

Functions7,741 in github.com/AbelChe/evil_minio

↓ 25 callersMethodEnabled
Enabled enabled versioning?
cmd/bucket-versioning.go:31
↓ 25 callersMethodGetObjectNInfo
(ctx context.Context, bucket, object string, rs *HTTPRangeSpec, h http.Header, lockType LockType, opts ObjectO
cmd/data-usage-cache.go:876
↓ 25 callersMethodListObjects
(ctx context.Context, bucket, prefix, marker, delimiter string, maxKeys int)
cmd/object-api-interface.go:208
↓ 25 callersMethodLookup
Lookup map entry case insensitively.
cmd/bucket-replication.go:673
↓ 25 callersFunctionNewPutObjReader
NewPutObjReader returns a new PutObjReader. It uses given hash.Reader's MD5Current method to construct md5sum when requested downstream.
cmd/object-api-utils.go:928
↓ 25 callersFunctionencodeDirObject
On MinIO a directory object is stored as a regular object with "__XLDIR__" suffix. For ex. "prefix/" is stored as "prefix__XLDIR__"
cmd/utils.go:1019
↓ 25 callersFunctionprepareFS
(ctx context.Context)
cmd/test-utils_test.go:188
↓ 25 callersFunctions3EncodeName
s3EncodeName encodes string in response when encodingType is specified in AWS S3 requests.
cmd/api-utils.go:97
↓ 24 callersMethodIsDir
()
cmd/admin-handlers.go:841
↓ 24 callersMethodListBuckets
(ctx context.Context, opts BucketOptions)
cmd/object-api-interface.go:206
↓ 24 callersMethodMarshalMsg
MarshalMsg implements msgp.Marshaler
cmd/tier_gen.go:98
↓ 24 callersMethodWriteHeader
(statusCode int)
cmd/object-multipart-handlers.go:1175
↓ 24 callersFunctiondecodeDirObject
Reverse process of encodeDirObject()
cmd/utils.go:1027
↓ 24 callersMethodgetVolDir
getVolDir - will convert incoming volume names to corresponding valid volume names on the backend in a platform compatible way for all operating syste
cmd/xl-storage.go:646
↓ 24 callersFunctionnewXLStorageTestSetup
creates a temp dir and sets up xlStorage layer. returns xlStorage layer, temp dir path to be used for the purpose of tests.
cmd/xl-storage_test.go:119
↓ 24 callersFunctionunescapePath
unescapePath is similar to unescapeGeneric but for specifically path unescaping.
cmd/utils.go:787
↓ 24 callersFunctionverifyError
(c *check, response *http.Response, code, description string, statusCode int)
cmd/server_test.go:68
↓ 24 callersFunctionwriteErrorResponseHeadersOnly
(w http.ResponseWriter, err APIError)
cmd/api-response.go:885
↓ 23 callersMethodEndpoint
Returns the entire endpoint.
cmd/storage-interface.go:52
↓ 23 callersMethodGetActualSize
GetActualSize - returns the actual size of the stored object
cmd/erasure-metadata.go:130
↓ 23 callersFunctionLoad
Load config from backend
cmd/config-migrate.go:58
↓ 23 callersMethodSinglePool
()
cmd/erasure-server-pool.go:64
↓ 23 callersMethodTimeout
Timeout returns the current timeout value
cmd/dynamic-timeouts.go:69
↓ 23 callersFunctionWithNPeers
WithNPeers returns a new NotificationGroup with length of errs slice upto nerrs, upon Wait() errors are returned collected from all tasks.
cmd/notification.go:66
↓ 22 callersMethodAppendTo
AppendTo will marshal the data in z and append it to the provided slice.
cmd/xl-storage-format-v2.go:1094
↓ 22 callersFunctionErrorf
Errorf - formats according to a format specifier and returns the string as a value that satisfies error of type tagging.Error
internal/bucket/lifecycle/error.go:32
↓ 22 callersMethodMode
()
cmd/admin-handlers.go:839
↓ 22 callersFunctionNewTargetList
NewTargetList - creates TargetList.
internal/event/targetlist.go:216
↓ 22 callersMethodReplace
Replaces the underlying data
internal/s3select/sql/record.go:69
↓ 22 callersMethodValidate
Validate - validate opa configuration params.
internal/config/policy/opa/config.go:64
↓ 22 callersMethodgetUserClient
(c *check, accessKey, secretKey, sessionToken string)
cmd/admin-handlers-users_test.go:180
↓ 22 callersFunctionisSysErrIO
Input/output error
cmd/xl-storage-errors.go:38
↓ 21 callersFunctionExecObjectLayerAPITest
ExecObjectLayerAPITest - executes object layer API tests. Creates single node and Erasure ObjectLayer instance, registers the specified API end points
cmd/test-utils_test.go:1742
↓ 21 callersMethodNumSubscribers
NumSubscribers returns the number of current subscribers, The mask is checked against the active subscribed types, and 0 will be returned if nobody is
internal/pubsub/pubsub.go:102
↓ 21 callersFunctionSave
Save config file to corresponding backend
cmd/config-migrate.go:53
↓ 21 callersMethodaggregateRow
(r Record, tableAlias string)
internal/s3select/sql/aggregation.go:245
↓ 21 callersFunctionbenchmarkErasureEncode
Benchmarks
cmd/erasure-encode_test.go:162
↓ 21 callersFunctionextractReqParams
Extract request params to be sent with event notifiation.
cmd/handler-utils.go:212
↓ 21 callersFunctiongetAPIError
getAPIError provides API Error for input API error code.
cmd/api-errors.go:2436
↓ 21 callersMethodwriteErrorResponse
(w http.ResponseWriter, err error)
cmd/lock-rest-server.go:45
↓ 21 callersFunctionwriteSuccessNoContent
writeSuccessNoContent writes success headers with http status 204
cmd/api-response.go:845
↓ 20 callersFunctionExecObjectLayerAPINilTest
ExecObjectLayerAPINilTest - Sets the object layer to `nil`, and calls rhe registered object layer API endpoint, and assert the error response. The pur
cmd/test-utils_test.go:1696
↓ 20 callersMethodLoad
Load all versions of the stored data. Note that references to the incoming buffer will be kept.
cmd/xl-storage-format-v2.go:903
↓ 20 callersMethodLock
Lock holds a write lock on dm. If the lock is already in use, the calling go routine blocks until the mutex is available.
internal/dsync/drwmutex.go:150
↓ 20 callersMethodRegisterRead
RegisterRead register the metrics populator function to be used to populate new values upon cache invalidation.
cmd/metrics-v2.go:251
↓ 20 callersMethodReplicateAny
ReplicateAny returns true if atleast one target qualifies for replication
cmd/bucket-replication-utils.go:204
↓ 20 callersMethodShardFileSize
ShardFileSize - returns final erasure size from original size.
cmd/erasure-coding.go:127
↓ 20 callersMethodannotatePeerErr
(dstPeer string, annotation string, err error)
cmd/site-replication.go:2005
↓ 20 callersFunctiongetRandomDisks
getRandomDisks - Creates a slice of N random disks, each of the form - minio-XXX
cmd/test-utils_test.go:1480
↓ 20 callersFunctiongetReplicationConfig
gets replication config associated to a given bucket name.
cmd/bucket-replication.go:83
↓ 20 callersFunctionmetaDataPoolGet
metaDataPoolGet will return a byte slice with capacity at least metaDataReadDefault. It will be length 0.
cmd/xl-storage-format-v2.go:674
↓ 20 callersFunctionmustGenerateCredentials
(c *check)
cmd/admin-handlers-users_test.go:1466
↓ 20 callersFunctionnewLocalXLStorage
Initialize a new storage disk.
cmd/xl-storage.go:203
↓ 20 callersFunctionnewReplicateTargetDecision
(arn string, replicate bool, sync bool)
cmd/bucket-replication-utils.go:189
↓ 20 callersFunctionreadConfig
(ctx context.Context, store objectIO, configFile string)
cmd/config-common.go:58
↓ 20 callersMethodrlock
()
cmd/iam-store.go:424
↓ 20 callersMethodrunlock
()
cmd/iam-store.go:425
↓ 20 callersFunctionsumHMAC
sumHMAC calculate hmac between two input byte array.
cmd/signature-v4-utils.go:177
↓ 19 callersFunctionAccess
Access captures time taken to call syscall.Access() on windows, plan9 and solaris syscall.Access uses os.Lstat()
cmd/os-instrumented.go:151
↓ 19 callersMethodBucketMetaHook
BucketMetaHook - called when bucket meta changes happen and need to be replicated to peer clusters.
cmd/site-replication.go:1353
↓ 19 callersFunctionDetectTestLeak
DetectTestLeak - snapshots the currently running goroutines and returns a function to be run at the end of tests to see whether any goroutines leaked
cmd/leak-detect_test.go:95
↓ 19 callersMethodEncryptedSize
EncryptedSize returns the size of the object after encryption. An encrypted object is always larger than a plain object except for zero size objects.
cmd/encryption-v1.go:974
↓ 19 callersMethodGetWithDefault
GetWithDefault - returns default value if key not set
internal/config/config.go:303
↓ 19 callersMethodPut
(bucket string)
internal/config/dns/store.go:46
↓ 19 callersMethodUnmarshalMsg
UnmarshalMsg implements msgp.Unmarshaler
cmd/data-usage-cache_gen.go:3714
↓ 19 callersMethodcall
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:52
↓ 19 callersFunctionerrSRInvalidRequest
(err error)
cmd/site-replication.go:101
↓ 19 callersFunctionextractRespElements
Extract response elements to be sent with event notifiation.
cmd/handler-utils.go:243
↓ 19 callersFunctiongetAPIErrorResponse
getErrorResponse gets in standard error and resource value and provides a encodable populated response values
cmd/api-errors.go:2445
↓ 19 callersMethodisEnabled
isEnabled returns true if site replication is enabled
cmd/site-replication.go:2013
↓ 19 callersFunctionloadMetacacheSample
(t testing.TB)
cmd/metacache-stream_test.go:32
↓ 19 callersFunctionnewTestSignedRequestV2
Returns new HTTP request object signed with signature v2.
cmd/test-utils_test.go:1153
↓ 18 callersFunctionCheckValidKeys
CheckValidKeys - checks if inputs KVS has the necessary keys, returns error if it find extra or superflous keys.
internal/config/config.go:573
↓ 18 callersFunctionDARECiphers
DARECiphers returns a list of supported cipher suites for the DARE object encryption.
internal/fips/api.go:51
↓ 18 callersMethodDecodeMsg
DecodeMsg implements msgp.Decodable
cmd/data-usage-cache_gen.go:3615
↓ 18 callersFunctionHasSuffix
HasSuffix - Suffix matcher string matches suffix in a platform specific way. For example on windows since its case insensitive we are supposed to do c
cmd/object-api-utils.go:320
↓ 18 callersMethodListBucketTargets
ListBucketTargets - gets list of bucket targets for this bucket.
cmd/bucket-targets.go:179
↓ 18 callersFunctionRequested
Requested returns whether any type of encryption is requested.
internal/crypto/sse.go:75
↓ 18 callersMethodSize
Size returns the absolute number of bytes the Reader will return during reading. It returns -1 for unlimited data.
internal/hash/reader.go:212
↓ 18 callersMethodVersionPurgeStatus
VersionPurgeStatus returns overall version purge status for this object version across targets
cmd/erasure-metadata.go:587
↓ 18 callersMethoddeleteFile
deleteFile deletes a file or a directory if its empty unless recursive is set to true. If the target is successfully deleted, it will recursively move
cmd/xl-storage.go:2056
↓ 18 callersMethodgetAdminClient
getAdminClient - NOTE: ensure to take at least a read lock on SiteReplicationSys before calling this.
cmd/site-replication.go:1546
↓ 18 callersFunctiongetSequences
(start int, number int, paddinglen int)
cmd/endpoint-ellipses_test.go:327
↓ 18 callersMethodobjectPath
objectPath returns the prefix and object name.
cmd/data-scanner.go:1232
↓ 18 callersFunctionprepareErasure16
(ctx context.Context)
cmd/test-utils_test.go:223
↓ 17 callersFunctionFromBool
FromBool creates a Value from a bool
internal/s3select/sql/value.go:135
↓ 17 callersMethodGetUser
GetUser - get user credentials
cmd/iam.go:1429
↓ 17 callersMethodNewNSLock
NewNSLock - initialize a new namespace RWLocker instance.
cmd/erasure.go:77
↓ 17 callersMethodValue
(key interface{})
cmd/common-main.go:1028
↓ 17 callersMethoddebugln
(data ...interface{})
cmd/metacache-set.go:166
↓ 17 callersMethodgetUsersSysType
()
cmd/iam-store.go:426
↓ 17 callersFunctionisSysErrNotDir
Check if the given error corresponds to ENOTDIR (is not a directory).
cmd/xl-storage-errors.go:48
↓ 17 callersFunctionmergeXLV2Versions
mergeXLV2Versions will merge all versions, typically from different disks that have at least quorum entries in all metas. Quorum must be the minimum n
cmd/xl-storage-format-v2.go:1822
↓ 17 callersFunctionsaveConfig
(ctx context.Context, store objectIO, configFile string, data []byte)
cmd/config-common.go:87
↓ 17 callersFunctionsaveServerConfig
(ctx context.Context, objAPI ObjectLayer, cfg interface{})
cmd/config.go:137
↓ 17 callersMethodtoSlice
converts a mapped policy into a slice of distinct policies
cmd/iam-store.go:194
↓ 16 callersMethodClose
()
internal/config/dns/store.go:51
↓ 16 callersFunctionExecObjectLayerAPIAnonTest
ExecObjectLayerAPIAnonTest - Helper function to validate object Layer API handler response for anonymous/unsigned and unknown signature type HTTP requ
cmd/test-utils_test.go:1598
↓ 16 callersMethodGenerateKey
GenerateKey generates a new data encryption key using the key referenced by the key ID. The KMS may use a default key if the key ID is empty. Generat
internal/kms/kms.go:59
↓ 16 callersMethodGetRLock
(ctx context.Context, timeout *dynamicTimeout)
cmd/namespace-lock.go:43
← previousnext →201–300 of 7,741, ranked by callers