s3

package
v0.0.237 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Package__tcv5qc = &core.Package{
		PackageName: "namespacelabs.dev/foundation/universe/development/localstack/s3",
	}

	Provider__tcv5qc = core.Provider{
		Package:     Package__tcv5qc,
		Instantiate: makeDeps__tcv5qc,
	}
)
View Source
var File_universe_development_localstack_s3_provider_proto protoreflect.FileDescriptor

Functions

func CreateLocalstackS3Client

func CreateLocalstackS3Client(ctx context.Context, config LocalstackConfig) (*s3.Client, error)

func ProvideBucket

func ProvideBucket(ctx context.Context, config *BucketConfig, deps ExtensionDeps) (*fns3.Bucket, error)

Types

type BucketConfig

type BucketConfig = s3.BucketConfig

type ExtensionDeps

type ExtensionDeps struct {
	ReadinessCheck core.Check
}

Dependencies that are instantiated once for the lifetime of the extension.

type LocalstackConfig

type LocalstackConfig struct {
	Region, LocalstackEndpoint string
}

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL