MCPcopy Create free account

hub / github.com/cloudlena/s3manager / functions

Functions238 in github.com/cloudlena/s3manager

↓ 1 callersFunctionae
(e)
web/static/js/beer.min.js:130
↓ 1 callersFunctionat
()
web/static/js/beer.min.js:548
↓ 1 callersFunctionbe
()
web/static/js/beer.min.js:241
↓ 1 callersFunctioncappedListing
cappedListing trims a listing that collected one object beyond maxScanObjects down to the cap, flagging it as truncated.
internal/app/s3manager/objects.go:88
↓ 1 callersFunctioncursorPage
cursorPage presents a page listed straight from S3. Its position in the listing follows from the cursor trail: every page before it was full, so the o
internal/app/s3manager/objects.go:420
↓ 1 callersFunctionee
()
web/static/js/beer.min.js:51
↓ 1 callersFunctionescapeObjectKey
escapeObjectKey escapes an object key for use in a URL path, keeping the slashes that separate its segments.
internal/app/s3manager/public_access.go:55
↓ 1 callersFunctionfilterBuckets
filterBuckets narrows a bucket listing down to the buckets the app is restricted to. The result keeps the order ListBuckets returned, not the order in
internal/app/s3manager/buckets_view.go:70
↓ 1 callersFunctionfilterObjects
filterObjects keeps the objects whose key or display name contains the case-insensitive search term.
internal/app/s3manager/objects.go:320
↓ 1 callersFunctionflattenGroups
flattenGroups concatenates version groups back into a flat object list.
internal/app/s3manager/objects.go:531
↓ 1 callersFunctionforEachListedObject
forEachListedObject calls fn with the key of every object a listing returns, and returns the last key it handed to fn, so that a failed listing can be
internal/app/s3manager/bulk_operations.go:184
↓ 1 callersFunctionforEachObjectInFolder
forEachObjectInFolder calls fn with the key of every object below prefix. It falls back to a ListObjects V1 request for the same reasons as listWithV1
internal/app/s3manager/bulk_operations.go:150
↓ 1 callersFunctionformatTime
formatTime formats a time for display in the app's time zone, which TZ sets.
internal/app/s3manager/templates.go:15
↓ 1 callersFunctiongetBucketView
getBucketView renders the bucket view of a bucket served by the given listing and returns the response body.
internal/app/s3manager/bucket_view_test.go:541
↓ 1 callersFunctiongroupObjects
groupObjects splits objs into version groups that move as one unit through sorting and pagination. Objects keep their listing order within a group. Wi
internal/app/s3manager/objects.go:470
↓ 1 callersFunctionie
(e)
web/static/js/beer.min.js:127
↓ 1 callersFunctionle
(e)
web/static/js/beer.min.js:181
↓ 1 callersFunctionlistAllObjects
listAllObjects lists a bucket prefix in full, up to maxScanObjects, converting each minio.ObjectInfo into a listedObject. If showVersions is set but t
internal/app/s3manager/objects.go:66
↓ 1 callersFunctionlistBucketView
listBucketView lists the objects a bucket view request shows. The default view is served one page at a time straight from S3, which keeps its cost ind
internal/app/s3manager/bucket_view.go:127
↓ 1 callersMethodlistFunc
listFunc returns a ListObjects implementation serving the given keys. They are served in the order given, which is not necessarily key order: a delimi
internal/app/s3manager/bucket_view_test.go:498
↓ 1 callersFunctionlistObjectPage
listObjectPage lists a single page of a bucket prefix straight from S3, asking for just the objects the page shows instead of scanning the whole prefi
internal/app/s3manager/objects.go:105
↓ 1 callersFunctionlistObjectsErrorMessage
listObjectsErrorMessage turns a raw S3 listing error into an actionable, user-facing message for the bucket view's error banner.
internal/app/s3manager/bucket_view.go:199
↓ 1 callersFunctionmatchesContentType
matchesContentType reports whether a lowercase base content type is one of the given ones, where an entry ending in a slash stands for its whole type.
internal/app/s3manager/get_object.go:67
↓ 1 callersFunctionne
(e, t)
web/static/js/beer.min.js:113
↓ 1 callersFunctionnewCredentials
newCredentials creates the credentials described by a single instance configuration. They are shared by all of the instance's clients, so that IAM cre
internal/app/s3manager/instances.go:133
↓ 1 callersFunctionnewPresigner
newPresigner returns the client that signs an instance's download links: its own client, unless PresignURL names a different address. Presigning happe
internal/app/s3manager/instances.go:213
↓ 1 callersFunctionnewS3Client
newS3Client creates the S3 client described by a single instance configuration.
internal/app/s3manager/instances.go:147
↓ 1 callersFunctionnextCursor
nextCursor returns the key a listing has to resume after to continue directly below the given object. A folder is a common prefix rather than a real k
internal/app/s3manager/objects.go:140
↓ 1 callersFunctionobjectChan
objectChan serves the given objects on a ListObjects channel.
internal/app/s3manager/bucket_view_test.go:24
↓ 1 callersFunctionobjectStream
objectStream serves objects on a ListObjects channel and gives up as soon as the context is cancelled, the way minio's own listing does when the consu
internal/app/s3manager/bucket_view_test.go:472
↓ 1 callersFunctionoe
(e)
web/static/js/beer.min.js:133
↓ 1 callersMethodonly
only returns the single set of options the listing was asked for, failing if it was called any other number of times.
internal/app/s3manager/bucket_view_test.go:517
↓ 1 callersFunctionot
(e, n)
web/static/js/beer.min.js:552
↓ 1 callersFunctionpaddedKeys
paddedKeys returns count keys that sort in the order they are generated.
internal/app/s3manager/bucket_view_test.go:530
↓ 1 callersFunctionparseConfiguration
()
main.go:33
↓ 1 callersFunctionparseListingQuery
parseListingQuery reads a bucket view request's query parameters, falling back to defaults for missing or invalid values. PerPage is always positive.
internal/app/s3manager/bucket_view.go:166
↓ 1 callersFunctionparseS3Instances
parseS3Instances reads the S3 instances from numbered environment variables (S3_1_NAME, S3_1_ENDPOINT, …), stopping at the first number that has no NA
main.go:74
↓ 1 callersFunctionprimaryObject
primaryObject returns the row that represents a group when sorting: the one marked IsPrimaryVersion by annotateVersionGroups, or the first row otherwi
internal/app/s3manager/objects.go:520
↓ 1 callersFunctionre
(e)
web/static/js/beer.min.js:116
↓ 1 callersFunctionse
()
web/static/js/beer.min.js:151
↓ 1 callersFunctionsearchListing
searchListing narrows a full listing down to the objects matching search. The listing only covers the first maxScanObjects objects of the prefix, so w
internal/app/s3manager/objects.go:288
↓ 1 callersFunctionsortObjectGroups
sortObjectGroups sorts version groups based on the specified field and order, comparing groups by their primary row so all versions of a key move as o
internal/app/s3manager/objects.go:497
↓ 1 callersFunctionsortObjectsByKey
sortObjectsByKey puts objects into the ascending lexicographic key order S3 lists them in.
internal/app/s3manager/objects.go:214
↓ 1 callersFunctionst
()
web/static/js/beer.min.js:571
↓ 1 callersFunctionte
(e, t)
web/static/js/beer.min.js:101
↓ 1 callersFunctiontoListedObject
toListedObject converts a minio.ObjectInfo into the template-facing listedObject.
internal/app/s3manager/objects.go:219
↓ 1 callersFunctiontt
()
web/static/js/beer.min.js:504
↓ 1 callersFunctionue
(e)
web/static/js/beer.min.js:190
↓ 1 callersFunctionuploadContentType
uploadContentType determines the content type to store an uploaded file under, falling back to the file extension if the browser didn't provide a usab
internal/app/s3manager/create_object.go:56
↓ 1 callersFunctionuserMetadataFromHeaders
userMetadataFromHeaders derives the user metadata from the raw response headers, which is where it has to be read from for providers that don't popula
internal/app/s3manager/get_object_metadata.go:64
↓ 1 callersFunctionve
()
web/static/js/beer.min.js:233
↓ 1 callersFunctionvirtualHostStyle
virtualHostStyle reports whether a bucket is addressed in the host name (bucket.endpoint) rather than in the path (endpoint/bucket), deciding `Auto` t
internal/app/s3manager/public_access.go:42
↓ 1 callersFunctionwe
()
web/static/js/beer.min.js:257
↓ 1 callersFunctionxe
()
web/static/js/beer.min.js:245
↓ 1 callersFunctionye
()
web/static/js/beer.min.js:237
↓ 1 callersFunctionze
(e, t, n)
web/static/js/beer.min.js:369
Function$e
(e)
web/static/js/beer.min.js:489
FunctionBe
(e)
web/static/js/beer.min.js:384
FunctionDe
(e)
web/static/js/beer.min.js:295
FunctionEe
()
web/static/js/beer.min.js:289
MethodEndpointURLCalls
EndpointURLCalls gets all the calls that were made to EndpointURL. Check the length with: len(mockedS3.EndpointURLCalls())
internal/app/s3manager/mocks/s3.go:249
FunctionFe
(e)
web/static/js/beer.min.js:345
MethodGetBucketPolicy
GetBucketPolicy calls GetBucketPolicyFunc.
internal/app/s3manager/mocks/s3.go:260
MethodGetBucketPolicyCalls
GetBucketPolicyCalls gets all the calls that were made to GetBucketPolicy. Check the length with: len(mockedS3.GetBucketPolicyCalls())
internal/app/s3manager/mocks/s3.go:281
MethodGetObject
GetObject calls GetObjectFunc.
internal/app/s3manager/mocks/s3.go:296
FunctionHe
(e)
web/static/js/beer.min.js:396
FunctionI
(e)
web/static/js/beer.min.js:148
FunctionJe
(e)
web/static/js/beer.min.js:433
FunctionKe
(e)
web/static/js/beer.min.js:424
MethodLastItem
LastItem is the 1-based position of the page's last object within the whole listing, or 0 for an empty page.
internal/app/s3manager/objects.go:379
FunctionLe
(e)
web/static/js/beer.min.js:358
MethodListBuckets
ListBuckets calls ListBucketsFunc.
internal/app/s3manager/mocks/s3.go:340
MethodListBucketsCalls
ListBucketsCalls gets all the calls that were made to ListBuckets. Check the length with: len(mockedS3.ListBucketsCalls())
internal/app/s3manager/mocks/s3.go:359
MethodListObjects
ListObjects calls ListObjectsFunc.
internal/app/s3manager/mocks/s3.go:372
MethodListObjectsCalls
ListObjectsCalls gets all the calls that were made to ListObjects. Check the length with: len(mockedS3.ListObjectsCalls())
internal/app/s3manager/mocks/s3.go:395
MethodMakeBucket
MakeBucket calls MakeBucketFunc.
internal/app/s3manager/mocks/s3.go:412
MethodMakeBucketCalls
MakeBucketCalls gets all the calls that were made to MakeBucket. Check the length with: len(mockedS3.MakeBucketCalls())
internal/app/s3manager/mocks/s3.go:435
FunctionMe
(e)
web/static/js/beer.min.js:326
FunctionOe
(e)
web/static/js/beer.min.js:299
MethodPresignedGetObject
PresignedGetObject calls PresignedGetObjectFunc.
internal/app/s3manager/mocks/s3.go:452
MethodPresignedGetObjectCalls
PresignedGetObjectCalls gets all the calls that were made to PresignedGetObject. Check the length with: len(mockedS3.PresignedGetObjectCalls())
internal/app/s3manager/mocks/s3.go:479
MethodPutObject
PutObject calls PutObjectFunc.
internal/app/s3manager/mocks/s3.go:500
MethodPutObjectCalls
PutObjectCalls gets all the calls that were made to PutObject. Check the length with: len(mockedS3.PutObjectCalls())
internal/app/s3manager/mocks/s3.go:529
FunctionQe
(e)
web/static/js/beer.min.js:475
FunctionR
(e)
web/static/js/beer.min.js:194
MethodRemoveBucket
RemoveBucket calls RemoveBucketFunc.
internal/app/s3manager/mocks/s3.go:552
MethodRemoveBucketCalls
RemoveBucketCalls gets all the calls that were made to RemoveBucket. Check the length with: len(mockedS3.RemoveBucketCalls())
internal/app/s3manager/mocks/s3.go:573
MethodRemoveObjects
RemoveObjects calls RemoveObjectsFunc.
internal/app/s3manager/mocks/s3.go:588
MethodRemoveObjectsCalls
RemoveObjectsCalls gets all the calls that were made to RemoveObjects. Check the length with: len(mockedS3.RemoveObjectsCalls())
internal/app/s3manager/mocks/s3.go:613
MethodSetBucketPolicy
SetBucketPolicy calls SetBucketPolicyFunc.
internal/app/s3manager/mocks/s3.go:632
MethodSetBucketPolicyCalls
SetBucketPolicyCalls gets all the calls that were made to SetBucketPolicy. Check the length with: len(mockedS3.SetBucketPolicyCalls())
internal/app/s3manager/mocks/s3.go:655
MethodStatObject
StatObject calls StatObjectFunc.
internal/app/s3manager/mocks/s3.go:672
MethodStatObjectCalls
StatObjectCalls gets all the calls that were made to StatObject. Check the length with: len(mockedS3.StatObjectCalls())
internal/app/s3manager/mocks/s3.go:697
FunctionTestFormatFileSize
(t *testing.T)
internal/app/s3manager/format_size_test.go:5
FunctionTestHandleBucketView
(t *testing.T)
internal/app/s3manager/bucket_view_test.go:36
FunctionTestHandleBucketViewPaging
(t *testing.T)
internal/app/s3manager/bucket_view_test.go:572
FunctionTestHandleBucketsView
(t *testing.T)
internal/app/s3manager/buckets_view_test.go:21
FunctionTestHandleBulkDeleteObjects
(t *testing.T)
internal/app/s3manager/bulk_operations_test.go:21
FunctionTestHandleBulkDeleteObjectsWithFolders
(t *testing.T)
internal/app/s3manager/bulk_operations_test.go:119
FunctionTestHandleBulkDownloadObjects
(t *testing.T)
internal/app/s3manager/bulk_operations_test.go:253
← previousnext →101–200 of 238, ranked by callers