utils

package module
v0.0.0-...-8c189a3 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArchiveFile

func ArchiveFile(client *s3.Client, bucketName, objectKey string) error

func CheckBucketExists

func CheckBucketExists(client *s3.Client, bucket string) (bool, error)

func ExportToS3

func ExportToS3(client *s3.Client, bucketName, objectKey string, file []byte) error

func ImportS3File

func ImportS3File(client *s3.Client, bucketName, objectKey string) ([]byte, error)

func S3AssumeRole

func S3AssumeRole(roleArn, roleSessionName string) (*s3.Client, error)

func S3Client

func S3Client() (*s3.Client, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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