s3

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2023 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetStaticCredentials

func GetStaticCredentials() (*credentials.Credentials, error)

GetStaticCredentials generates credentials.Credentials using environtment variables: - static key (`YC_STORAGE_ACCESS_KEY` + `YC_STORAGE_SECRET_KEY`) - yaml file (`YC_SA_STATIC_KEY_FILE`)

func NewS3Client

func NewS3Client(creds *credentials.Credentials, sdk *ycsdk.SDK, logger zerolog.Logger) (*s3.S3, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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