package
0.0.0-20240213125631-d88ec871d766
Repository: https://github.com/allegro/akubra.git
Documentation: pkg.go.dev
# Functions
CopyBucket creates copy of source bucket on destination cluster.
DeleteObject deletes object from cluster.
GetHTTPStatusCodeFromError extracts http code from s3.Error value.
GetS3Client returns s3 client for given MigrationAuth.
NewMigrationTaskData constructs an instance of MigrationTaskData.
NewMigrationTaskResult creates MigrationTaskResult.
# Constants
AmzMetadataPrefix is constant for s3 specific header prefix.
ErrMsgNotFound issued if object does not exist.
# Variables
ErrContentLengthMaxValue is the error returned when object in SRC has no content.
ErrDatabaseIntegrity is the error returned for all abnormal database cases.
ErrEmptyContentType is the error returned when object hasn't Content-Type header.
ErrZeroContentLenthValue is the error returned when object in SRC has no content.
# Structs
No description provided by the author
MigrationAuth keeps auth data.
MigrationTaskData validates and extracts object location data.
MigrationTaskResult keeps track on migration task.
No description provided by the author
No description provided by the author
TaskMigrator encapsulates all necessary routines to execute task.
TextErr is an error that also implements the TextMarshaller interface for serializing out to various plain text encodings.