Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommitError ¶ added in v1.3.0
type CommitError struct {
// contains filtered or unexported fields
}
func NewCommitError ¶ added in v1.3.0
func (CommitError) Commit ¶ added in v1.3.0
func (n CommitError) Commit() bool
func (CommitError) Error ¶ added in v1.3.0
func (n CommitError) Error() string
type FilesService ¶ added in v1.3.0
type FilesService interface { Checker(ctx context.Context, state *healthcheck.CheckState) error MarkFileMoved(ctx context.Context, path string, etag string) error }
type MoverCopier ¶ added in v1.3.0
type MoverCopier struct { PublicClient S3ClientV2 PrivateClient S3ClientV2 FilesService FilesService }
func NewMoverCopier ¶ added in v1.3.0
func NewMoverCopier(public, private S3ClientV2, filesClient FilesService) MoverCopier
func (MoverCopier) HandleFilePublishMessage ¶ added in v1.3.0
type S3ClientV2 ¶
type S3ClientV2 interface { Upload(input *s3manager.UploadInput, options ...func(*s3manager.Uploader)) (*s3manager.UploadOutput, error) Get(key string) (io.ReadCloser, *int64, error) FileExists(key string) (bool, error) }
Click to show internal directories.
Click to hide internal directories.