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
↓ 9 callers
Method
DecodeMsg
DecodeMsg implements msgp.Decodable
cmd/storage-datatypes_gen.go:2292
↓ 9 callers
Function
DecryptObjectInfo
DecryptObjectInfo tries to decrypt the provided object if it is encrypted. It fails if the object is encrypted and the HTTP headers don't contain SSE-
cmd/encryption-v1.go:993
↓ 9 callers
Method
DeleteBucket
(ctx context.Context, bucket string, opts DeleteBucketOptions)
cmd/object-api-interface.go:207
↓ 9 callers
Method
DeletePolicy
DeletePolicy deletes a policy from KMS. All identities that have been assigned to this policy will lose all authorization privileges.
internal/kms/policy-manager.go:51
↓ 9 callers
Method
DeleteVersion
DeleteVersion deletes the version specified by version id. returns to the caller which dataDir to delete, also indicates if this is the last version.
cmd/xl-storage-format-v2.go:1248
↓ 9 callers
Method
Difference
Difference - returns diffrence with given rules as new rules.
internal/event/rules.go:103
↓ 9 callers
Method
EncodeMsg
EncodeMsg implements msgp.Encodable
cmd/storage-datatypes_gen.go:2317
↓ 9 callers
Function
Equal
Equal returns true if and only if the two ETags are identical.
internal/etag/etag.go:324
↓ 9 callers
Function
ExpectedExpiryTime
ExpectedExpiryTime calculates the expiry, transition or restore date/time based on a object modtime. The expected transition or restore time is always
internal/bucket/lifecycle/lifecycle.go:469
↓ 9 callers
Method
FilterTargetArns
FilterTargetArns returns a slice of distinct target arns in the config
internal/bucket/replication/replication.go:279
↓ 9 callers
Method
GetDecryptedRange
GetDecryptedRange - To decrypt the range (off, length) of the decrypted object stream, we need to read the range (encOff, encLength) of the encrypted
cmd/encryption-v1.go:864
↓ 9 callers
Method
GetParityForSC
GetParityForSC - Returns the data and parity drive count based on storage class If storage class is set using the env vars MINIO_STORAGE_CLASS_RRS and
internal/config/storageclass/storage-class.go:228
↓ 9 callers
Method
HasWatcher
HasWatcher - returns if the IAM system has a watcher to be notified of changes.
cmd/iam.go:439
↓ 9 callers
Method
ID
()
internal/event/targetlist.go:34
↓ 9 callers
Method
Inc
Inc increments the api stats counter.
cmd/http-stats.go:205
↓ 9 callers
Method
LoadOrConvert
LoadOrConvert will load the metadata in the buffer. If this is a legacy format, it will automatically be converted to XLV2.
cmd/xl-storage-format-v2.go:883
↓ 9 callers
Function
Lstat
Lstat captures time taken to call os.Lstat
cmd/os-instrumented.go:169
↓ 9 callers
Method
MarshalMsg
MarshalMsg implements msgp.Marshaler
cmd/bucket-stats_gen.go:790
↓ 9 callers
Method
MarshalMsg
MarshalMsg implements msgp.Marshaler
cmd/xl-storage-format-v1_gen.go:1036
↓ 9 callers
Method
MarshalMsg
MarshalMsg implements msgp.Marshaler
cmd/bucket-replication-utils_gen.go:1656
↓ 9 callers
Method
MatchSimple
MatchSimple - returns true one of the matching object name in rules.
internal/event/rules.go:58
↓ 9 callers
Function
MockOpenIDTestUserInteraction
MockOpenIDTestUserInteraction - tries to login to dex using provided credentials. It performs the user's browser interaction to login and retrieves th
cmd/utils.go:1124
↓ 9 callers
Method
Msgsize
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
cmd/batch-handlers_gen.go:2923
↓ 9 callers
Method
Set
Set sets a value, if not sets a default value.
internal/config/config.go:355
↓ 9 callers
Method
Store
()
internal/event/targetlist.go:39
↓ 9 callers
Method
Union
Union - returns union with given rules as new rules.
internal/event/rules.go:92
↓ 9 callers
Method
UnmarshalMsg
UnmarshalMsg implements msgp.Unmarshaler
cmd/storage-datatypes_gen.go:2347
↓ 9 callers
Method
UnsealObjectKey
UnsealObjectKey extracts and decrypts the sealed object key from the metadata using the SSE-C client key of the HTTP headers and returns the decrypted
internal/crypto/sse-c.go:98
↓ 9 callers
Method
Valid
Valid - returns if retention mode is valid
internal/bucket/object/lock/lock.go:55
↓ 9 callers
Method
WriteTo
WriteTo writes the string representation of the configuration to the given builder. When off is true, adds a comment character before the config syste
internal/config/config.go:1305
↓ 9 callers
Method
add
add - adds event names, prefixes, suffixes and target ID to rules map.
internal/event/rulesmap.go:24
↓ 9 callers
Method
addVersion
(ver xlMetaV2Version)
cmd/xl-storage-format-v2.go:1065
↓ 9 callers
Function
bitrotWriterSum
Returns hash sum for whole-bitrot, nil for streaming-bitrot.
cmd/bitrot.go:142
↓ 9 callers
Function
checkConfigVersion
(objAPI ObjectLayer, configFile string, version string)
cmd/config-migrate.go:2507
↓ 9 callers
Method
checkInit
()
cmd/metacache-stream.go:280
↓ 9 callers
Function
evalActionFromLifecycle
(ctx context.Context, lc lifecycle.Lifecycle, lr lock.Retention, obj ObjectInfo)
cmd/data-scanner.go:1115
↓ 9 callers
Method
forwardTo
forwardTo time t, clearing any entries in between.
cmd/last-minute.go:179
↓ 9 callers
Function
getDeleteObjectURL
return URL for deleting the object from the bucket.
cmd/test-utils_test.go:1271
↓ 9 callers
Function
getFormatErasureInQuorum
Get backend Erasure format in quorum `format.json`.
cmd/format-erasure.go:556
↓ 9 callers
Method
getUploadIDDir
(bucket, object, uploadID string)
cmd/erasure-multipart.go:44
↓ 9 callers
Method
incMiss
Increase cache miss by 1
cmd/disk-cache-stats.go:66
↓ 9 callers
Function
inferTypeAsString
inferTypeAsString is used to convert untyped values to string - it is called when the caller requires a string context to proceed.
internal/s3select/sql/value.go:787
↓ 9 callers
Method
initialized
()
cmd/bucket-replication.go:3064
↓ 9 callers
Function
listOnlineDisks
Notes: There are 5 possible states a disk could be in, 1. __online__ - has the latest copy of xl.meta - returned by listOnlineDisks 2. __
cmd/erasure-healing-common.go:161
↓ 9 callers
Function
loadMetacacheSampleEntries
(t testing.TB)
cmd/metacache-stream_test.go:40
↓ 9 callers
Method
names
names will return all names in order. Since this allocates it should not be used in critical functions.
cmd/metacache-entries.go:460
↓ 9 callers
Function
newBucketMetadata
newBucketMetadata creates BucketMetadata with the supplied name and Created to Now.
cmd/bucket-metadata.go:107
↓ 9 callers
Function
newCachedAuthToken
newCachedAuthToken returns a token that is cached up to 15 seconds. If globalActiveCred is updated it is reflected at once.
cmd/jwt.go:191
↓ 9 callers
Function
newNaughtyDisk
(d StorageAPI, errs map[int]error, defaultErr error)
cmd/naughty-disk_test.go:46
↓ 9 callers
Function
niceError
(code APIErrorCode)
cmd/signature-v4_test.go:30
↓ 9 callers
Function
parseJSONBody
(ctx context.Context, body io.Reader, v interface{}, encryptionKey string)
cmd/admin-handlers-site-replication.go:306
↓ 9 callers
Function
path2BucketObject
(s string)
cmd/utils.go:197
↓ 9 callers
Function
setCommonHeaders
Write http common headers
cmd/api-headers.go:51
↓ 9 callers
Function
signRequestV2
Sign given request using Signature V2.
cmd/test-utils_test.go:947
↓ 9 callers
Function
toStorageErr
Converts network error to storageErr. This function is written so that the storageAPI errors are consistent across network disks.
cmd/storage-rest-client.go:70
↓ 9 callers
Method
unmarshalV
unmarshalV unmarshals with a specific metadata version.
cmd/xl-storage-format-v2-legacy.go:83
↓ 9 callers
Method
xlmeta
xlmeta returns the decoded metadata. This should not be called on directories.
cmd/metacache-entries.go:258
↓ 8 callers
Method
AddServiceAccount
AddServiceAccount - add a new service account
cmd/iam-store.go:2136
↓ 8 callers
Method
CacheStats
()
cmd/disk-cache.go:98
↓ 8 callers
Method
Close
compiler check Close and release resources.
internal/hash/reader.go:285
↓ 8 callers
Method
Count
Count returns number of bucket metadata map entries.
cmd/bucket-metadata-sys.go:52
↓ 8 callers
Function
CreateCredentials
CreateCredentials returns new credential with the given access key and secret key. Error is returned if given access key or secret key are invalid len
internal/auth/credentials.go:314
↓ 8 callers
Method
EncodeMsg
EncodeMsg implements msgp.Encodable
cmd/data-usage-cache_gen.go:3662
↓ 8 callers
Function
Error
Error :
internal/logger/console.go:219
↓ 8 callers
Function
ErrorRespToObjectError
ErrorRespToObjectError converts MinIO errors to minio object layer errors.
cmd/utils.go:97
↓ 8 callers
Function
ExecExtendedObjectLayerTest
ExecExtendedObjectLayerTest will execute the tests with combinations of encrypted & compressed. This can be used to test functionality when reading an
cmd/object_api_suite_test.go:588
↓ 8 callers
Function
ExtractClaims
ExtractClaims extracts JWT claims from a security token using a secret key
internal/auth/credentials.go:290
↓ 8 callers
Function
FormatSQLTimestamp
FormatSQLTimestamp - returns the a string representation of the timestamp as used in S3 Select
internal/s3select/sql/timestampfuncs.go:54
↓ 8 callers
Function
FromTimestamp
FromTimestamp creates a Value from a timestamp
internal/s3select/sql/value.go:140
↓ 8 callers
Function
GenerateIV
GenerateIV generates a new random 256 bit IV from the provided source of randomness. If random is nil the default PRNG of the system (crypto/rand) is
internal/crypto/key.go:64
↓ 8 callers
Function
GenerateKey
GenerateKey generates a unique ObjectKey from a 256 bit external key and a source of randomness. If random is nil the default PRNG of the system (cryp
internal/crypto/key.go:43
↓ 8 callers
Method
Get
(name string)
internal/s3select/sql/record.go:53
↓ 8 callers
Method
GetLockers
(setIndex int)
cmd/erasure-sets.go:311
↓ 8 callers
Method
GetRemoteTargetClient
GetRemoteTargetClient returns minio-go client for replication target instance
cmd/bucket-targets.go:336
↓ 8 callers
Method
GetServiceAccount
GetServiceAccount - wrapper method to get information about a service account
cmd/iam.go:1078
↓ 8 callers
Function
HasPrefix
HasPrefix - Prefix matcher string matches prefix in a platform specific way. For example on windows since its case insensitive we are supposed to do c
cmd/object-api-utils.go:310
↓ 8 callers
Method
IsDaysNull
IsDaysNull returns true if days field is null
internal/bucket/lifecycle/expiration.go:183
↓ 8 callers
Method
ListVols
(ctx context.Context)
cmd/storage-interface.go:74
↓ 8 callers
Method
LogFailure
LogFailure logs an action that hit the timeout
cmd/dynamic-timeouts.go:84
↓ 8 callers
Method
MarshalText
MarshalText encodes the DEK's key ID and ciphertext as JSON.
internal/kms/kms.go:110
↓ 8 callers
Function
ParseHeader
ParseHeader parses http.TimeFormat with an acceptable extension for http.TimeFormat - return time might be zero if the timeStr is invalid.
internal/amztime/parse.go:64
↓ 8 callers
Method
PolicyDBSet
PolicyDBSet - sets a policy for a user or group in the PolicyDB - the user doesn't have to exist since sometimes they are virtuals
cmd/iam.go:1552
↓ 8 callers
Method
Save
(Event)
internal/event/targetlist.go:36
↓ 8 callers
Method
UnmarshalMsg
UnmarshalMsg implements msgp.Unmarshaler
cmd/batch-handlers_gen.go:2797
↓ 8 callers
Method
Versioned
Versioned returns if 'prefix' has versioning enabled or suspended.
internal/bucket/versioning/versioning.go:92
↓ 8 callers
Method
WithEncryption
WithEncryption sets up encrypted reader and the sealing for content md5sum using objEncKey. Unsealed md5sum is computed from the rawReader setup when
cmd/object-api-utils.go:917
↓ 8 callers
Method
addNodeErr
(nodeInfo madmin.NodeInfo, peerClient *peerRESTClient, err error)
cmd/notification.go:802
↓ 8 callers
Method
afterVersion
afterVersion returns the payload after the version, if any.
cmd/xl-storage-meta-inline.go:43
↓ 8 callers
Method
assertSvcAccAppearsInListing
(ctx context.Context, madmClient *madmin.AdminClient, parentAK, svcAK string)
cmd/admin-handlers-users_test.go:1326
↓ 8 callers
Method
assertSvcAccDeletion
(ctx context.Context, s *TestSuiteIAM, madmClient *madmin.AdminClient, accessKey, bucket string)
cmd/admin-handlers-users_test.go:1445
↓ 8 callers
Method
assertSvcAccInfoQueryable
(ctx context.Context, madmClient *madmin.AdminClient, parentAK, svcAK string, skipParentUserCheck bool)
cmd/admin-handlers-users_test.go:1337
↓ 8 callers
Method
assertSvcAccS3Access
(ctx context.Context, s *TestSuiteIAM, cr madmin.Credentials, bucket string)
cmd/admin-handlers-users_test.go:1321
↓ 8 callers
Method
assertSvcAccSecretKeyAndStatusUpdate
(ctx context.Context, s *TestSuiteIAM, madmClient *madmin.AdminClient, accessKey, bucket string)
cmd/admin-handlers-users_test.go:1408
↓ 8 callers
Function
benchmarkPutObjectPart
creates Erasure/FS backend setup, obtains the object layer and calls the runPutObjectPartBenchmark function.
cmd/benchmark-utils_test.go:131
↓ 8 callers
Function
ceilFrac
ceilFrac takes a numerator and denominator representing a fraction and returns its ceiling. If denominator is 0, it returns 0 instead of crashing.
cmd/utils.go:718
↓ 8 callers
Function
checkAdminRequestAuth
checkAdminRequestAuth checks for authentication and authorization for the incoming request. It only accepts V2 and V4 requests. Presigned, JWT and ano
cmd/auth-handler.go:171
↓ 8 callers
Function
createTempFile
(prefix, content string)
internal/config/certs_test.go:25
↓ 8 callers
Method
defaultHealResult
Populates default heal result item entries with possible values when we are returning prematurely. This is to ensure that in any circumstance we are n
cmd/erasure-healing.go:831
↓ 8 callers
Method
deleteIAMConfig
(ctx context.Context, path string)
cmd/iam-object-store.go:119
↓ 8 callers
Function
errCastFailure
(msg string)
internal/s3select/sql/funceval.go:394
← previous
next →
501–600 of 7,741, ranked by callers