client

package
v0.0.383 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2026 License: Apache-2.0 Imports: 26 Imported by: 23

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