MCPcopy Create free account

hub / github.com/cloudlena/s3manager / functions

Functions238 in github.com/cloudlena/s3manager

↓ 16 callersMethodGet
Get returns the instance with the given ID or name.
internal/app/s3manager/instances.go:168
↓ 15 callersFunctionD
(e, t, n, r = !0)
web/static/js/beer.min.js:91
↓ 15 callersFunctionb
(e, t)
web/static/js/beer.min.js:64
↓ 12 callersFunctionhandleHTTPError
handleHTTPError responds with the error and a status code derived from it.
internal/app/s3manager/respond.go:15
↓ 9 callersFunctiony
(e, t)
web/static/js/beer.min.js:57
↓ 8 callersFunctionS
(e, t)
web/static/js/beer.min.js:74
↓ 7 callersFunctionT
(e, t)
web/static/js/beer.min.js:84
↓ 7 callersFunctionx
(e, t)
web/static/js/beer.min.js:71
↓ 6 callersFunctionw
(e, t)
web/static/js/beer.min.js:80
↓ 5 callersFunctionB
(e)
web/static/js/beer.min.js:261
↓ 5 callersFunctionE
(e, t, n, r = !0)
web/static/js/beer.min.js:88
↓ 5 callersFunctionresolveInstance
resolveInstance looks up the instance addressed by the request's {instance} variable, responding with a not found error if there is no such instance.
internal/app/s3manager/instances.go:198
↓ 5 callersFunctiont
()
web/static/js/beer.min.js:4
↓ 4 callersFunctionO
(e, t, n, r = !0)
web/static/js/beer.min.js:98
↓ 4 callersFunctionj
(e)
web/static/js/beer.min.js:110
↓ 4 callersFunctionwriteJSON
writeJSON responds with the JSON encoding of body. The status code is already written when encoding fails, so such an error can only be logged.
internal/app/s3manager/respond.go:42
↓ 3 callersFunctionA
(e)
web/static/js/beer.min.js:107
↓ 3 callersFunctionC
(e, t)
web/static/js/beer.min.js:77
↓ 3 callersFunctionH
(e, t)
web/static/js/beer.min.js:274
↓ 3 callersFunctionHandleBucketView
HandleBucketView shows the details page of a bucket. It expects the route to provide the bucket name as {bucketName} and the location within the bucke
internal/app/s3manager/bucket_view.go:49
↓ 3 callersFunctionHandleCheckPublicAccess
HandleCheckPublicAccess returns an object's public link and checks whether the object is actually accessible under it.
internal/app/s3manager/public_access.go:66
↓ 3 callersFunctionHandleGenerateURL
HandleGenerateURL generates a presigned URL. It is signed by the instance's Presigner, which may address S3 differently than the app itself does.
internal/app/s3manager/generate_presigned_url.go:18
↓ 3 callersFunctionL
(e)
web/static/js/beer.min.js:187
↓ 3 callersFunctionM
()
web/static/js/beer.min.js:124
↓ 3 callersFunctionNewS3Instances
NewS3Instances creates a client for every given configuration. Instances are addressable by their name and by their position in the list, starting at
internal/app/s3manager/instances.go:84
↓ 3 callersFunctionQ
(e, n, r, i)
web/static/js/beer.min.js:507
↓ 3 callersFunctionV
(e, t)
web/static/js/beer.min.js:264
↓ 3 callersFunctionhasS3ErrorCode
hasS3ErrorCode reports whether err is an S3 error response with one of the given codes.
internal/app/s3manager/respond.go:35
↓ 3 callersFunctionk
(e)
web/static/js/beer.min.js:104
↓ 3 callersFunctionlistWithV1Fallback
listWithV1Fallback lists a prefix and, when that comes back empty, lists it once more as a ListObjects V1 request. minio-go always speaks V2 and never
internal/app/s3manager/objects.go:161
↓ 3 callersFunctionmustParseURLFunc
mustParseURLFunc returns a mock's EndpointURL implementation for a fixed URL.
internal/app/s3manager/helpers_test.go:19
↓ 2 callersFunctionAe
(e)
web/static/js/beer.min.js:307
↓ 2 callersMethodEndpointURL
()
internal/app/s3manager/s3.go:28
↓ 2 callersMethodGetObject
(ctx context.Context, bucketName, objectName string, opts minio.GetObjectOptions)
internal/app/s3manager/s3.go:17
↓ 2 callersFunctionHandleBucketsView
HandleBucketsView renders all buckets of an S3 instance on an HTML page.
internal/app/s3manager/buckets_view.go:13
↓ 2 callersFunctionHandleBulkDeleteObjects
HandleBulkDeleteObjects deletes multiple objects from a bucket.
internal/app/s3manager/bulk_operations.go:21
↓ 2 callersFunctionHandleBulkDownloadObjects
HandleBulkDownloadObjects downloads multiple objects as a ZIP archive. Objects that cannot be read are skipped: the archive is already being streamed
internal/app/s3manager/bulk_operations.go:76
↓ 2 callersFunctionHandleCreateObject
32 MB HandleCreateObject uploads a new object.
internal/app/s3manager/create_object.go:21
↓ 2 callersFunctionJ
()
web/static/js/beer.min.js:458
↓ 2 callersMethodListObjects
(ctx context.Context, bucketName string, opts minio.ListObjectsOptions)
internal/app/s3manager/s3.go:20
↓ 2 callersFunctionN
()
web/static/js/beer.min.js:138
↓ 2 callersMethodPresignedGetObject
(ctx context.Context, bucketName, objectName string, expiry time.Duration, reqParams url.Values)
internal/app/s3manager/s3.go:22
↓ 2 callersMethodPublicObjectURL
PublicObjectURL returns the link under which an object can be read without credentials, provided the bucket allows it. A configured PublicURL template
internal/app/s3manager/public_access.go:23
↓ 2 callersFunctionTe
(e)
web/static/js/beer.min.js:284
↓ 2 callersFunctionW
(e, t)
web/static/js/beer.min.js:335
↓ 2 callersFunctionWe
(e)
web/static/js/beer.min.js:407
↓ 2 callersFunctionWithInstance
WithInstance resolves the instance addressed by the request's {instance} variable and delegates to a handler for that instance's client.
internal/app/s3manager/instances.go:185
↓ 2 callersFunctionannotateVersionGroups
annotateVersionGroups sets VersionCount, GroupIndex and IsPrimaryVersion on each object so the template can collapse older versions under their latest
internal/app/s3manager/objects.go:261
↓ 2 callersFunctionce
(e)
web/static/js/beer.min.js:154
↓ 2 callersFunctioncollectObjects
collectObjects drains up to limit objects off an S3 ListObjects channel, returning the first error encountered (if any) instead of a partial, half-lis
internal/app/s3manager/objects.go:194
↓ 2 callersFunctioncursorPagingPossible
cursorPagingPossible reports whether a request can be served by listing only the page it shows. S3 lists keys in ascending lexicographic order and can
internal/app/s3manager/bucket_view.go:156
↓ 2 callersFunctionforEachKey
forEachKey calls fn with every object key that the given keys stand for. A key ending in "/" is a folder, which stands for every object below it, the
internal/app/s3manager/bulk_operations.go:123
↓ 2 callersFunctionformatFileSize
formatFileSize converts a size in bytes to a human-readable string using the largest appropriate unit.
internal/app/s3manager/format_size.go:7
↓ 2 callersFunctionicon
icon returns an icon for a file type.
internal/app/s3manager/objects.go:236
↓ 2 callersFunctioninlineContentType
inlineContentType maps the content type stored in S3 to the one used when displaying an object in the browser. Textual objects that the browser can't
internal/app/s3manager/get_object.go:53
↓ 2 callersFunctionke
()
web/static/js/beer.min.js:302
↓ 2 callersFunctionnewPageRenderer
newPageRenderer returns a renderer for the given page template, parsed together with the layout. The templates are embedded into the binary, so one th
internal/app/s3manager/templates.go:48
↓ 2 callersFunctionnt
()
web/static/js/beer.min.js:534
↓ 2 callersFunctionpaginateObjects
paginateObjects sorts objects and slices out the requested page. When grouped is set (versioned listing), all versions of a key travel together: group
internal/app/s3manager/objects.go:435
↓ 2 callersFunctionparseList
parseList splits a comma-separated configuration value, dropping blanks.
main.go:127
↓ 2 callersFunctionqe
(e)
web/static/js/beer.min.js:427
↓ 2 callersFunctionremoveEmptyStrings
removeEmptyStrings drops the empty segments of a split path.
internal/app/s3manager/bucket_view.go:222
↓ 2 callersFunctionrequestedVersion
requestedVersion returns the object version a request asks for. It is ignored unless the versions feature is enabled, so disabling SHOW_VERSIONS also
internal/app/s3manager/get_object.go:126
↓ 2 callersFunctionv
(e)
web/static/js/beer.min.js:48
↓ 2 callersFunctionv2ListingUnsupported
v2ListingUnsupported reports whether a listing failed because the provider doesn't implement ListObjects V2 correctly. minio-go reports this as a NotI
internal/app/s3manager/objects.go:185
↓ 1 callersFunctionCe
()
web/static/js/beer.min.js:253
↓ 1 callersMethodCursor
Cursor is the key the current page's listing resumes after, empty on the first page.
internal/app/s3manager/bucket_view.go:38
↓ 1 callersMethodEndpointURL
EndpointURL calls EndpointURLFunc.
internal/app/s3manager/mocks/s3.go:233
↓ 1 callersFunctionF
(e, t)
web/static/js/beer.min.js:145
↓ 1 callersMethodFirstItem
FirstItem is the 1-based position of the page's first object within the whole listing, or 0 for an empty page.
internal/app/s3manager/objects.go:369
↓ 1 callersFunctionGe
()
web/static/js/beer.min.js:415
↓ 1 callersMethodGetBucketPolicy
(ctx context.Context, bucketName string)
internal/app/s3manager/s3.go:25
↓ 1 callersMethodGetObjectCalls
GetObjectCalls gets all the calls that were made to GetObject. Check the length with: len(mockedS3.GetObjectCalls())
internal/app/s3manager/mocks/s3.go:321
↓ 1 callersFunctionHandleCreateBucket
HandleCreateBucket creates a new bucket.
internal/app/s3manager/create_bucket.go:12
↓ 1 callersFunctionHandleDeleteBucket
HandleDeleteBucket deletes a bucket.
internal/app/s3manager/delete_bucket.go:11
↓ 1 callersFunctionHandleGetBucketPolicy
HandleGetBucketPolicy returns the policy of a bucket as JSON, or an empty body if the bucket has none.
internal/app/s3manager/bucket_policy.go:14
↓ 1 callersFunctionHandleGetObject
HandleGetObject serves an object to the client. It is downloaded as an attachment unless the inline query parameter is set, in which case it is served
internal/app/s3manager/get_object.go:80
↓ 1 callersFunctionHandleGetObjectMetadata
HandleGetObjectMetadata returns metadata for an object (optionally a specific version).
internal/app/s3manager/get_object_metadata.go:28
↓ 1 callersFunctionHandlePutBucketPolicy
HandlePutBucketPolicy replaces the policy of a bucket with the request body.
internal/app/s3manager/bucket_policy.go:32
↓ 1 callersMethodHasNextPage
HasNextPage reports whether there is a page after the current one.
internal/app/s3manager/objects.go:359
↓ 1 callersMethodHasPrevPage
HasPrevPage reports whether there is a page before the current one.
internal/app/s3manager/objects.go:356
↓ 1 callersFunctionIe
(e, t)
web/static/js/beer.min.js:349
↓ 1 callersMethodListBuckets
(ctx context.Context)
internal/app/s3manager/s3.go:19
↓ 1 callersMethodMakeBucket
(ctx context.Context, bucketName string, opts minio.MakeBucketOptions)
internal/app/s3manager/s3.go:21
↓ 1 callersFunctionNe
(e)
web/static/js/beer.min.js:332
↓ 1 callersFunctionNewServerSideEncryption
NewServerSideEncryption builds the encryption to store objects with from the SSE_TYPE and SSE_KEY configuration values, or nil for any other type, whi
internal/app/s3manager/create_object.go:71
↓ 1 callersFunctionP
(e, t, n)
web/static/js/beer.min.js:142
↓ 1 callersMethodPageLinks
PageLinks lists the page numbers the numbered pager shows: the current page with up to two neighbours on either side, plus the first and the last page
internal/app/s3manager/objects.go:393
↓ 1 callersFunctionPe
(e, t, n, r)
web/static/js/beer.min.js:342
↓ 1 callersMethodPutObject
(ctx context.Context, bucketName, objectName string, reader io.Reader, objectSize int64, opts minio.PutObjectO
internal/app/s3manager/s3.go:23
↓ 1 callersFunctionRe
(e)
web/static/js/beer.min.js:363
↓ 1 callersMethodRemoveBucket
(ctx context.Context, bucketName string)
internal/app/s3manager/s3.go:24
↓ 1 callersMethodRemoveObjects
(ctx context.Context, bucketName string, objectsCh <-chan minio.ObjectInfo, opts minio.RemoveObjectsOptions)
internal/app/s3manager/s3.go:27
↓ 1 callersFunctionSe
()
web/static/js/beer.min.js:249
↓ 1 callersMethodSetBucketPolicy
(ctx context.Context, bucketName string, policy string)
internal/app/s3manager/s3.go:26
↓ 1 callersMethodStatObject
(ctx context.Context, bucketName, objectName string, opts minio.StatObjectOptions)
internal/app/s3manager/s3.go:18
↓ 1 callersFunctionZe
()
web/static/js/beer.min.js:461
↓ 1 callersFunction_
()
web/static/js/beer.min.js:45
↓ 1 callersFunctionaddConfiguredBuckets
addConfiguredBuckets appends the configured bucket names that a listing does not already contain. Their creation date is unknown and stays zero.
internal/app/s3manager/buckets_view.go:57
↓ 1 callersFunctionaddObjectToZip
addObjectToZip streams a single object into the ZIP archive.
internal/app/s3manager/bulk_operations.go:202
next →1–100 of 238, ranked by callers