MCPcopy Create free account

hub / github.com/AbelChe/evil_minio / functions

Functions7,741 in github.com/AbelChe/evil_minio

↓ 16 callersFunctionISO8601Format
ISO8601Format converts time 't' into ISO8601 time format expected in AWS S3 spec. This function is needed to avoid a Go's float64 precision bug, wher
internal/amztime/iso8601_time.go:35
↓ 16 callersMethodIsRemote
IsRemote returns true if this object version's contents are in its remote tier.
cmd/bucket-lifecycle.go:688
↓ 16 callersMethodLookup
Lookup - lookup a key in a list of KVS
internal/config/config.go:401
↓ 16 callersFunctionOpenFile
OpenFile captures time taken to call os.OpenFile
cmd/os-instrumented.go:138
↓ 16 callersMethodParseHTTP
ParseHTTP parses the SSE-C headers and returns the SSE-C client key on success. SSE-C copy headers are ignored.
internal/crypto/sse-c.go:72
↓ 16 callersMethodType
()
internal/logger/targets.go:43
↓ 16 callersMethodValidate
Validate validates the current job, used by 'save()' before persisting the job request
cmd/batch-handlers.go:855
↓ 16 callersFunctionbenchmarkPutObject
creates Erasure/FS backend setup, obtains the object layer and calls the runPutObjectBenchmark function.
cmd/benchmark-utils_test.go:147
↓ 16 callersFunctiongetMustReplicateOptions
(o ObjectInfo, op replication.Type, opts ObjectOptions)
cmd/bucket-replication.go:179
↓ 16 callersFunctiongetNewMultipartURL
return URL for a new multipart upload.
cmd/test-utils_test.go:1410
↓ 16 callersFunctiongetOpts
get ObjectOptions for GET calls from encryption headers
cmd/object-api-options.go:82
↓ 16 callersFunctioninitObjectLayer
initObjectLayer - Instantiates object layer and returns it.
cmd/test-utils_test.go:1502
↓ 16 callersMethodloadMappedPolicies
(ctx context.Context, userType IAMUserType, isGroup bool, m map[string]MappedPolicy)
cmd/iam-store.go:434
↓ 16 callersFunctionmustReplicate
mustReplicate returns 2 booleans - true if object meets replication criteria and true if replication is to be done in a synchronous manner.
cmd/bucket-replication.go:201
↓ 16 callersFunctionrenameAll
Wrapper function to os.Rename, which calls reliableMkdirAll and reliableRenameAll. This is to ensure that if there is a racy parent directory delete i
cmd/os-reliable.go:123
↓ 15 callersMethodCompleteMultipartUpload
(ctx context.Context, bucket, object, uploadID string, uploadedParts []CompletePart, opts ObjectOptions)
cmd/disk-cache.go:93
↓ 15 callersMethodEquals
Equals checks if fi(FileInfo) matches ofi(FileInfo)
cmd/storage-datatypes.go:258
↓ 15 callersMethodGetGroupDescription
GetGroupDescription - builds up group description
cmd/iam.go:1529
↓ 15 callersMethodGetOffsetLength
GetOffsetLength computes the start offset and length of the range given the size of the resource
cmd/httprange.go:84
↓ 15 callersMethodGetTypeString
GetTypeString returns a string representation for vType
internal/s3select/sql/value.go:64
↓ 15 callersMethodIsNull
IsNull - checks if value is missing.
internal/s3select/sql/value.go:245
↓ 15 callersMethodModTime
()
cmd/admin-handlers.go:840
↓ 15 callersMethodNewNSLock
Locking operations on object.
cmd/object-api-interface.go:194
↓ 15 callersMethodPrefixSuspended
PrefixSuspended returns true if the given prefix matches an excluded prefix pattern. This is part of a MinIO versioning configuration extension.
cmd/bucket-versioning.go:61
↓ 15 callersMethodSubscribe
Subscribe - Adds a subscriber to pubsub system
internal/pubsub/pubsub.go:62
↓ 15 callersMethodaddFile
(name string, accTime time.Time, size int64, hits int)
cmd/disk-cache-utils.go:376
↓ 15 callersFunctionerrSRPeerResp
(err error)
cmd/site-replication.go:108
↓ 15 callersFunctionfatalErr
(err error)
docs/debugging/inspect/utils.go:42
↓ 15 callersFunctionimportError
wraps import error for more context
cmd/admin-handler-utils.go:240
↓ 15 callersMethodmustNotListObjects
(ctx context.Context, client *minio.Client, bucket string)
cmd/admin-handlers-users_test.go:1197
↓ 15 callersFunctionnewDynamicTimeout
newDynamicTimeout returns a new dynamic timeout initialized with timeout value
cmd/dynamic-timeouts.go:58
↓ 15 callersMethodreadN
readN will return all the requested number of entries in order or all if n < 0. Will return io.EOF if end of stream is reached. If requesting 0 object
cmd/metacache-stream.go:463
↓ 15 callersFunctionreduceWriteQuorumErrs
reduceWriteQuorumErrs behaves like reduceErrs but only for returning values of maximally occurring errors validated against writeQuorum.
cmd/erasure-metadata-utils.go:114
↓ 15 callersFunctiontoAPIErrorCode
toAPIErrorCode - Converts embedded errors. Convenience function written to handle all cases where we have known types of errors returned by underlying
cmd/api-errors.go:2005
↓ 15 callersFunctionvalidateAdminSignature
(ctx context.Context, r *http.Request, region string)
cmd/auth-handler.go:142
↓ 14 callersMethodAdd
Add - adds unique target to target list.
internal/event/targetlist.go:71
↓ 14 callersMethodClose
()
internal/s3select/select.go:49
↓ 14 callersFunctionDefaultHelpPostfix
DefaultHelpPostfix - Helper function to add (default: $value) messages in config help
internal/config/help.go:92
↓ 14 callersMethodDeleteRestored
DeleteRestored - Returns true if action demands delete on restored objects
internal/bucket/lifecycle/lifecycle.go:74
↓ 14 callersMethodEvaluate
Evaluate - filters and sends records read from opened reader as per select statement to http response writer.
internal/s3select/select.go:506
↓ 14 callersFunctionIsErr
IsErr returns whether given error is exact error.
cmd/utils.go:87
↓ 14 callersMethodMatch
Match matches input kv with kv, value will be wildcard matched depending on the user input
cmd/batch-handlers.go:110
↓ 14 callersMethodPublish
(ctx context.Context, trace *pubsub.PubSub[madmin.TraceInfo, madmin.TraceType])
cmd/bootstrap-messages.go:105
↓ 14 callersMethodStatVol
(ctx context.Context, volume string)
cmd/storage-interface.go:75
↓ 14 callersMethodWriteAll
Write all data, syncs the data to disk. Should be used for smaller payloads.
cmd/storage-interface.go:106
↓ 14 callersFunctionbenchmarkPutObjectParallel
creates Erasure/FS backend setup, obtains the object layer and runs parallel benchmark for put object.
cmd/benchmark-utils_test.go:163
↓ 14 callersFunctiondecryptObjectMeta
(key []byte, bucket, object string, metadata map[string]string)
cmd/encryption-v1.go:478
↓ 14 callersFunctionequals
matches k1 with all keys, returns 'true' if one of them matches
cmd/bucket-replication.go:791
↓ 14 callersFunctiongetCacheSHADir
(dir, bucket, object string)
cmd/disk-cache-backend.go:723
↓ 14 callersFunctioninitAllSubsystems
(ctx context.Context)
cmd/server-main.go:270
↓ 14 callersFunctionmustReader
(t *testing.T, src io.Reader, size int64, md5Hex, sha256Hex string, actualSize int64)
internal/hash/reader_test.go:205
↓ 14 callersFunctionrestQueries
Used for registering with rest handlers (have a look at registerStorageRESTHandlers for usage example) If it is passed ["aaaa", "bbbb"], it returns ["
cmd/utils.go:850
↓ 14 callersMethodtime
time an os action.
cmd/os-instrumented.go:73
↓ 14 callersFunctiontrimLeadingSlash
(ep string)
cmd/utils.go:759
↓ 14 callersFunctionupdateOSMetrics
(s osMetric, paths ...string)
cmd/os-instrumented.go:100
↓ 13 callersMethodAdd
Add add pool endpoints
cmd/endpoint.go:246
↓ 13 callersMethodAddVersion
AddVersion adds a new version
cmd/xl-storage-format-v2.go:1493
↓ 13 callersMethodClose
Close - closes opened S3 object.
internal/s3select/select.go:655
↓ 13 callersMethodDiskInfo
(ctx context.Context)
cmd/storage-interface.go:68
↓ 13 callersFunctionFormatBool
FormatBool prints stringified version of boolean.
internal/config/bool-flag.go:61
↓ 13 callersFunctionIsKubernetes
IsKubernetes returns true if minio is running in kubernetes.
cmd/update.go:147
↓ 13 callersMethodList
List returns an array of local KMS Names
internal/kms/kms.go:39
↓ 13 callersMethodMarshalMsg
MarshalMsg implements msgp.Marshaler
cmd/storage-datatypes_gen.go:2337
↓ 13 callersFunctionNewErasure
NewErasure creates a new ErasureStorage.
cmd/erasure-coding.go:42
↓ 13 callersFunctionNewS3Select
NewS3Select - creates new S3Select by given request XML reader.
internal/s3select/select.go:663
↓ 13 callersFunctionParse
Parse parses s as an S3 ETag, returning the result. The string can be an encrypted, singlepart or multipart S3 ETag. It returns an error if s is not a
internal/etag/etag.go:355
↓ 13 callersMethodSeek
(offset int64, whence int)
cmd/dummy-data-generator_test.go:94
↓ 13 callersMethodSetTags
SetTags - sets key/val to ReqInfo.tags
internal/logger/reqinfo.go:91
↓ 13 callersMethodTearDownSuite
(c *check)
cmd/server_test.go:187
↓ 13 callersMethodToString
ToString returns the value if string.
internal/s3select/sql/value.go:182
↓ 13 callersFunctionWrap
Wrap returns an io.Reader that reads from the wrapped io.Reader and implements the Tagger interaface. If content implements Tagger then the returned
internal/etag/reader.go:67
↓ 13 callersFunctionauditObjectErasureSet
Add erasure set information to the current context
cmd/erasure-sets.go:556
↓ 13 callersFunctioncloneMSS
cloneMSS will clone a map[string]string. If input is nil an empty map is returned, not nil.
cmd/utils.go:203
↓ 13 callersFunctioncompletedRestoreObj
completeRestoreObj constructs restoreObjStatus for a completed restore-object with given expiry.
cmd/bucket-lifecycle.go:719
↓ 13 callersFunctiongenerateBytesData
picks a random byte and repeats it to size bytes.
cmd/benchmark-utils_test.go:188
↓ 13 callersFunctiongetHeadObjectURL
return URL for HEAD on the object.
cmd/test-utils_test.go:1283
↓ 13 callersFunctiongetLatestFileInfo
Returns the latest updated FileInfo files and error in case of failure.
cmd/erasure-healing-common_test.go:34
↓ 13 callersFunctiongetSHA256Hash
getSHA256Hash returns SHA-256 hash in hex encoding of given data.
cmd/hasher.go:28
↓ 13 callersFunctionhashDeterministicString
hashDeterministicString will return a deterministic hash for the map values. Trivial collisions are avoided, but this is by no means a strong hash.
cmd/xl-storage-format-utils.go:162
↓ 13 callersFunctionisMinioMetaBucketName
isMinioBucket returns true if given bucket is a MinIO internal bucket and false otherwise.
cmd/object-api-utils.go:81
↓ 13 callersFunctionisPutActionAllowed
isPutActionAllowed - check if PUT operation is allowed on the resource, this call verifies bucket policies and IAM policies, supports multi user check
cmd/auth-handler.go:701
↓ 13 callersFunctionisSysErrPathNotFound
Check if the given error corresponds to the specific ERROR_PATH_NOT_FOUND for windows
cmd/xl-storage-errors.go:86
↓ 13 callersFunctionlog
(format string, data ...interface{})
internal/dsync/drwmutex.go:56
↓ 13 callersFunctionmkdirAll
Wrapper functions to os.MkdirAll, which calls reliableMkdirAll this is to ensure that if there is a racy parent directory delete in between we can sim
cmd/os-reliable.go:76
↓ 13 callersFunctionreduceReadQuorumErrs
reduceReadQuorumErrs behaves like reduceErrs but only for returning values of maximally occurring errors validated against readQuorum.
cmd/erasure-metadata-utils.go:108
↓ 13 callersMethodwriteErrorResponse
(w http.ResponseWriter, err error)
internal/dsync/dsync-server_test.go:53
↓ 12 callersMethodActualSize
ActualSize returns the pre-modified size of the object. DecompressedSize - For compressed objects.
internal/hash/reader.go:216
↓ 12 callersMethodCreateMetadata
CreateMetadata encodes the sealed key into the metadata and returns the modified metadata. It allocates a new metadata map if metadata is nil.
internal/crypto/sse-c.go:109
↓ 12 callersFunctionExecExtendedObjectLayerAPITest
ExecExtendedObjectLayerTest will execute the tests with combinations of encrypted & compressed. This can be used to test functionality when reading an
cmd/test-utils_test.go:1801
↓ 12 callersMethodGetDiskID
Returns the unique 'uuid' of this disk.
cmd/storage-interface.go:58
↓ 12 callersMethodGetReplicationConfig
GetReplicationConfig returns configured bucket replication config The returned object may not be modified.
cmd/bucket-metadata-sys.go:329
↓ 12 callersMethodIsSuspended
(idx int)
cmd/erasure-server-pool-decom.go:1061
↓ 12 callersMethodLoad
Load - loads all credentials, policies and policy mappings.
cmd/iam.go:191
↓ 12 callersMethodMarshalMsg
MarshalMsg implements msgp.Marshaler
cmd/data-usage-cache_gen.go:3698
↓ 12 callersFunctionMerge
Merge environment values with on disk KVS, environment values overrides anything on the disk.
internal/config/config.go:339
↓ 12 callersMethodMerge
Merge safely merges two LastMinuteHistogram structures into one
cmd/last-minute.go:199
↓ 12 callersFunctionNew
New returns a new hash.Hash computing the SHA256 checksum. The SHA256 implementation is not FIPS 140-2 compliant.
internal/hash/sha256/sh256_nofips.go:31
↓ 12 callersFunctionNewDummyDataGen
NewDummyDataGen returns a ReadSeeker over the first `totalLength` bytes from the infinite stream consisting of repeated concatenations of `alphabets`.
cmd/dummy-data-generator_test.go:55
↓ 12 callersMethodPendingStatus
PendingStatus returns a stringified representation of internal replication status with all targets marked as `PENDING`
cmd/bucket-replication-utils.go:240
↓ 12 callersMethodStorageInfo
Storage operations.
cmd/disk-cache.go:97
← previousnext →301–400 of 7,741, ranked by callers