Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudlena/s3manager
/ functions
Functions
238 in github.com/cloudlena/s3manager
⨍
Functions
238
◇
Types & classes
17
↓ 16 callers
Method
Get
Get returns the instance with the given ID or name.
internal/app/s3manager/instances.go:168
↓ 15 callers
Function
D
(e, t, n, r = !0)
web/static/js/beer.min.js:91
↓ 15 callers
Function
b
(e, t)
web/static/js/beer.min.js:64
↓ 12 callers
Function
handleHTTPError
handleHTTPError responds with the error and a status code derived from it.
internal/app/s3manager/respond.go:15
↓ 9 callers
Function
y
(e, t)
web/static/js/beer.min.js:57
↓ 8 callers
Function
S
(e, t)
web/static/js/beer.min.js:74
↓ 7 callers
Function
T
(e, t)
web/static/js/beer.min.js:84
↓ 7 callers
Function
x
(e, t)
web/static/js/beer.min.js:71
↓ 6 callers
Function
w
(e, t)
web/static/js/beer.min.js:80
↓ 5 callers
Function
B
(e)
web/static/js/beer.min.js:261
↓ 5 callers
Function
E
(e, t, n, r = !0)
web/static/js/beer.min.js:88
↓ 5 callers
Function
resolveInstance
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 callers
Function
t
()
web/static/js/beer.min.js:4
↓ 4 callers
Function
O
(e, t, n, r = !0)
web/static/js/beer.min.js:98
↓ 4 callers
Function
j
(e)
web/static/js/beer.min.js:110
↓ 4 callers
Function
writeJSON
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 callers
Function
A
(e)
web/static/js/beer.min.js:107
↓ 3 callers
Function
C
(e, t)
web/static/js/beer.min.js:77
↓ 3 callers
Function
H
(e, t)
web/static/js/beer.min.js:274
↓ 3 callers
Function
HandleBucketView
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 callers
Function
HandleCheckPublicAccess
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 callers
Function
HandleGenerateURL
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 callers
Function
L
(e)
web/static/js/beer.min.js:187
↓ 3 callers
Function
M
()
web/static/js/beer.min.js:124
↓ 3 callers
Function
NewS3Instances
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 callers
Function
Q
(e, n, r, i)
web/static/js/beer.min.js:507
↓ 3 callers
Function
V
(e, t)
web/static/js/beer.min.js:264
↓ 3 callers
Function
hasS3ErrorCode
hasS3ErrorCode reports whether err is an S3 error response with one of the given codes.
internal/app/s3manager/respond.go:35
↓ 3 callers
Function
k
(e)
web/static/js/beer.min.js:104
↓ 3 callers
Function
listWithV1Fallback
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 callers
Function
mustParseURLFunc
mustParseURLFunc returns a mock's EndpointURL implementation for a fixed URL.
internal/app/s3manager/helpers_test.go:19
↓ 2 callers
Function
Ae
(e)
web/static/js/beer.min.js:307
↓ 2 callers
Method
EndpointURL
()
internal/app/s3manager/s3.go:28
↓ 2 callers
Method
GetObject
(ctx context.Context, bucketName, objectName string, opts minio.GetObjectOptions)
internal/app/s3manager/s3.go:17
↓ 2 callers
Function
HandleBucketsView
HandleBucketsView renders all buckets of an S3 instance on an HTML page.
internal/app/s3manager/buckets_view.go:13
↓ 2 callers
Function
HandleBulkDeleteObjects
HandleBulkDeleteObjects deletes multiple objects from a bucket.
internal/app/s3manager/bulk_operations.go:21
↓ 2 callers
Function
HandleBulkDownloadObjects
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 callers
Function
HandleCreateObject
32 MB HandleCreateObject uploads a new object.
internal/app/s3manager/create_object.go:21
↓ 2 callers
Function
J
()
web/static/js/beer.min.js:458
↓ 2 callers
Method
ListObjects
(ctx context.Context, bucketName string, opts minio.ListObjectsOptions)
internal/app/s3manager/s3.go:20
↓ 2 callers
Function
N
()
web/static/js/beer.min.js:138
↓ 2 callers
Method
PresignedGetObject
(ctx context.Context, bucketName, objectName string, expiry time.Duration, reqParams url.Values)
internal/app/s3manager/s3.go:22
↓ 2 callers
Method
PublicObjectURL
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 callers
Function
Te
(e)
web/static/js/beer.min.js:284
↓ 2 callers
Function
W
(e, t)
web/static/js/beer.min.js:335
↓ 2 callers
Function
We
(e)
web/static/js/beer.min.js:407
↓ 2 callers
Function
WithInstance
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 callers
Function
annotateVersionGroups
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 callers
Function
ce
(e)
web/static/js/beer.min.js:154
↓ 2 callers
Function
collectObjects
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 callers
Function
cursorPagingPossible
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 callers
Function
forEachKey
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 callers
Function
formatFileSize
formatFileSize converts a size in bytes to a human-readable string using the largest appropriate unit.
internal/app/s3manager/format_size.go:7
↓ 2 callers
Function
icon
icon returns an icon for a file type.
internal/app/s3manager/objects.go:236
↓ 2 callers
Function
inlineContentType
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 callers
Function
ke
()
web/static/js/beer.min.js:302
↓ 2 callers
Function
newPageRenderer
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 callers
Function
nt
()
web/static/js/beer.min.js:534
↓ 2 callers
Function
paginateObjects
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 callers
Function
parseList
parseList splits a comma-separated configuration value, dropping blanks.
main.go:127
↓ 2 callers
Function
qe
(e)
web/static/js/beer.min.js:427
↓ 2 callers
Function
removeEmptyStrings
removeEmptyStrings drops the empty segments of a split path.
internal/app/s3manager/bucket_view.go:222
↓ 2 callers
Function
requestedVersion
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 callers
Function
v
(e)
web/static/js/beer.min.js:48
↓ 2 callers
Function
v2ListingUnsupported
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 callers
Function
Ce
()
web/static/js/beer.min.js:253
↓ 1 callers
Method
Cursor
Cursor is the key the current page's listing resumes after, empty on the first page.
internal/app/s3manager/bucket_view.go:38
↓ 1 callers
Method
EndpointURL
EndpointURL calls EndpointURLFunc.
internal/app/s3manager/mocks/s3.go:233
↓ 1 callers
Function
F
(e, t)
web/static/js/beer.min.js:145
↓ 1 callers
Method
FirstItem
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 callers
Function
Ge
()
web/static/js/beer.min.js:415
↓ 1 callers
Method
GetBucketPolicy
(ctx context.Context, bucketName string)
internal/app/s3manager/s3.go:25
↓ 1 callers
Method
GetObjectCalls
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 callers
Function
HandleCreateBucket
HandleCreateBucket creates a new bucket.
internal/app/s3manager/create_bucket.go:12
↓ 1 callers
Function
HandleDeleteBucket
HandleDeleteBucket deletes a bucket.
internal/app/s3manager/delete_bucket.go:11
↓ 1 callers
Function
HandleGetBucketPolicy
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 callers
Function
HandleGetObject
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 callers
Function
HandleGetObjectMetadata
HandleGetObjectMetadata returns metadata for an object (optionally a specific version).
internal/app/s3manager/get_object_metadata.go:28
↓ 1 callers
Function
HandlePutBucketPolicy
HandlePutBucketPolicy replaces the policy of a bucket with the request body.
internal/app/s3manager/bucket_policy.go:32
↓ 1 callers
Method
HasNextPage
HasNextPage reports whether there is a page after the current one.
internal/app/s3manager/objects.go:359
↓ 1 callers
Method
HasPrevPage
HasPrevPage reports whether there is a page before the current one.
internal/app/s3manager/objects.go:356
↓ 1 callers
Function
Ie
(e, t)
web/static/js/beer.min.js:349
↓ 1 callers
Method
ListBuckets
(ctx context.Context)
internal/app/s3manager/s3.go:19
↓ 1 callers
Method
MakeBucket
(ctx context.Context, bucketName string, opts minio.MakeBucketOptions)
internal/app/s3manager/s3.go:21
↓ 1 callers
Function
Ne
(e)
web/static/js/beer.min.js:332
↓ 1 callers
Function
NewServerSideEncryption
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 callers
Function
P
(e, t, n)
web/static/js/beer.min.js:142
↓ 1 callers
Method
PageLinks
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 callers
Function
Pe
(e, t, n, r)
web/static/js/beer.min.js:342
↓ 1 callers
Method
PutObject
(ctx context.Context, bucketName, objectName string, reader io.Reader, objectSize int64, opts minio.PutObjectO
internal/app/s3manager/s3.go:23
↓ 1 callers
Function
Re
(e)
web/static/js/beer.min.js:363
↓ 1 callers
Method
RemoveBucket
(ctx context.Context, bucketName string)
internal/app/s3manager/s3.go:24
↓ 1 callers
Method
RemoveObjects
(ctx context.Context, bucketName string, objectsCh <-chan minio.ObjectInfo, opts minio.RemoveObjectsOptions)
internal/app/s3manager/s3.go:27
↓ 1 callers
Function
Se
()
web/static/js/beer.min.js:249
↓ 1 callers
Method
SetBucketPolicy
(ctx context.Context, bucketName string, policy string)
internal/app/s3manager/s3.go:26
↓ 1 callers
Method
StatObject
(ctx context.Context, bucketName, objectName string, opts minio.StatObjectOptions)
internal/app/s3manager/s3.go:18
↓ 1 callers
Function
Ze
()
web/static/js/beer.min.js:461
↓ 1 callers
Function
_
()
web/static/js/beer.min.js:45
↓ 1 callers
Function
addConfiguredBuckets
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 callers
Function
addObjectToZip
addObjectToZip streams a single object into the ZIP archive.
internal/app/s3manager/bulk_operations.go:202
next →
1–100 of 238, ranked by callers