s3

package
v0.0.41 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthMethod

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

func NewAuthMethod

func NewAuthMethod(endpoint string, options ...AuthMethodOption) (*AuthMethod, error)

func (*AuthMethod) Endpoint

func (am *AuthMethod) Endpoint() string

func (*AuthMethod) Name

func (am *AuthMethod) Name() string

func (*AuthMethod) Session

func (am *AuthMethod) Session() *session.Session

func (*AuthMethod) String

func (am *AuthMethod) String() string

type AuthMethodOption

type AuthMethodOption func(session *session.Session)

func WithCredentials

func WithCredentials(accessKeyID, secretKey, sessionToken string) AuthMethodOption

func WithDisableSSL

func WithDisableSSL(disable bool) AuthMethodOption

func WithRegion

func WithRegion(region string) AuthMethodOption

Jump to

Keyboard shortcuts

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