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 S3Client PrivateClient S3Client FilesService FilesService }
func NewMoverCopier ¶ added in v1.3.0
func NewMoverCopier(public, private S3Client, filesClient FilesService) MoverCopier
func (MoverCopier) HandleFilePublishMessage ¶ added in v1.3.0
type S3Client ¶ added in v1.4.1
type S3Client interface { BucketName() string Checker(ctx context.Context, state *healthcheck.CheckState) error FileExists(key string) (bool, error) Get(key string) (io.ReadCloser, *int64, error) Upload(input *s3manager.UploadInput, options ...func(*s3manager.Uploader)) (*s3manager.UploadOutput, error) Session() *session.Session }
Click to show internal directories.
Click to hide internal directories.