partitions

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func NewHandler

func NewHandler(ctx context.Context, pman *Manager) (*Handler, error)

func (*Handler) Handler added in v1.1.0

func (h *Handler) Handler(ctx context.Context, created S3ObjectCreated) (*S3ObjectCreated, error)

type Manager

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

func NewManager

func NewManager(queryBucket, region, database, table, athenaWorkGroupName string) (*Manager, error)

func (*Manager) CreatePartition

func (m *Manager) CreatePartition(ctx context.Context, year, month string) error

type S3ObjectCreated added in v1.1.0

type S3ObjectCreated struct {
	Bucket    string `json:"bucket"`
	Key       string `json:"key"`
	ETag      string `json:"etag"`
	Requester string `json:"requester"`
}

Jump to

Keyboard shortcuts

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