client

package
v0.0.443 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2026 License: Apache-2.0 Imports: 26 Imported by: 24 modules, 23 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFixAcceptEncodingMiddleware added in v0.0.383

func AddFixAcceptEncodingMiddleware(stack *middleware.Stack) error

func NewAwsS3Client added in v0.0.291

func NewAwsS3Client(c *s3cli_config.S3Cli) (*s3.Client, error)

func NewAwsS3ClientWithApiOptions added in v0.0.383

func NewAwsS3ClientWithApiOptions(
	c *s3cli_config.S3Cli,
	apiOptions []func(stack *middleware.Stack) error,
) (*s3.Client, error)

Types

type S3CompatibleClient added in v0.0.291

type S3CompatibleClient interface {
	Get(src string, dest io.WriterAt) error
	Put(src io.ReadSeeker, dest string) error
	Delete(dest string) error
	Exists(dest string) (bool, error)
	Sign(objectID string, action string, expiration time.Duration) (string, error)
}

func New

func New(s3Client *s3.Client, s3cliConfig *config.S3Cli) S3CompatibleClient

New returns an S3CompatibleClient

Jump to

Keyboard shortcuts

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