aws

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoTableName                 = fmt.Errorf(`no table and / or namespace name provided`)
	ErrMissingCatalogTableMetadata = fmt.Errorf(`missing table metadata in the glue catalog`)
)

Functions

func GetTableMetadata

func GetTableMetadata(ctx context.Context, catalogID, tableName string) ([]byte, error)

func PullLogs added in v1.3.0

func PullLogs(ctx context.Context, writer *os.File, logGroup, logStream string, chunkSize int, memoryLimit int64) error

func ReadFromS3

func ReadFromS3(ctx context.Context, name string) ([]byte, error)

func WriteToS3

func WriteToS3(ctx context.Context, name string, data []byte, _ os.FileMode) error

WriteToS3 writes a file to S3, providing the same interface as os.WriteFile function

Types

This section is empty.

Jump to

Keyboard shortcuts

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