s3

package
v0.0.0-...-7aa6a20 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(endpoint string, options *Options) (persistedoperation.Client, error)

NewClient creates a new S3 client that can be used to retrieve persisted operations

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func (Client) Close

func (c Client) Close()

func (Client) PersistedOperation

func (c Client) PersistedOperation(ctx context.Context, clientName, sha256Hash string) ([]byte, bool, error)

type Option

type Option func(*Client)

type Options

type Options struct {
	AccessKeyID      string
	SecretAccessKey  string
	Region           string
	UseSSL           bool
	BucketName       string
	ObjectPathPrefix string
	TraceProvider    *sdktrace.TracerProvider
}

Jump to

Keyboard shortcuts

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