MCPcopy Create free account

hub / github.com/cloudlena/s3manager / types & classes

Types & classes17 in github.com/cloudlena/s3manager

StructOptions
Options holds the features and presentation settings the handlers share.
internal/app/s3manager/s3.go:32
InterfaceS3
go:generate go tool moq -out mocks/s3.go -pkg mocks . S3 S3 is a client to interact with S3 storage.
internal/app/s3manager/s3.go:16
StructS3Instance
S3Instance is a configured S3 instance and its client.
internal/app/s3manager/instances.go:41
StructS3InstanceConfig
S3InstanceConfig holds the configuration of a single S3 instance.
internal/app/s3manager/instances.go:19
TypeAliasS3Instances
S3Instances is the ordered set of configured S3 instances. It is built once at start-up and never modified, so handlers can read it concurrently.
internal/app/s3manager/instances.go:61
StructS3Mock
S3Mock is a mock implementation of s3manager.S3. func TestSomethingThatUsesS3(t *testing.T) { // make and configure a mocked s3manager.S3 mocke
internal/app/s3manager/mocks/s3.go:68
Structconfiguration
main.go:26
StructfakeListing
fakeListing serves a bucket listing of fixed keys, honouring Prefix and StartAfter the way S3 does, and records the options every call was made with.
internal/app/s3manager/bucket_view_test.go:490
Structid
internal/app/s3manager/objects.go:304
StructlistedObject
listedObject is an S3 object as shown in the bucket view.
internal/app/s3manager/objects.go:15
StructlistingQuery
listingQuery holds the sorting, pagination and search parameters of a bucket view request.
internal/app/s3manager/bucket_view.go:22
StructobjectListing
objectListing is the outcome of listing a bucket prefix for the bucket view.
internal/app/s3manager/objects.go:47
StructobjectMetadata
objectMetadata is the JSON shape returned by HandleGetObjectMetadata.
internal/app/s3manager/get_object_metadata.go:13
StructobjectPage
objectPage is the slice of a bucket's objects shown on a single page.
internal/app/s3manager/objects.go:335
StructpageData
internal/app/s3manager/buckets_view.go:14
StructpageData
internal/app/s3manager/bucket_view.go:50
FuncTypepageRenderer
pageRenderer renders one page template with the data of a single request.
internal/app/s3manager/templates.go:43