Documentation
¶
Index ¶
- type S3AttachmentStore
- func (s *S3AttachmentStore) Delete(ctx context.Context, storageKey string) error
- func (s *S3AttachmentStore) GetSignedURL(ctx context.Context, storageKey string, expiry time.Duration) (*url.URL, error)
- func (s *S3AttachmentStore) Retrieve(ctx context.Context, storageKey string) (io.ReadCloser, error)
- func (s *S3AttachmentStore) Store(ctx context.Context, data io.Reader, maxSize int64, contentType string) (*registryattach.FileStoreResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S3AttachmentStore ¶
type S3AttachmentStore struct {
// contains filtered or unexported fields
}
func (*S3AttachmentStore) Delete ¶
func (s *S3AttachmentStore) Delete(ctx context.Context, storageKey string) error
func (*S3AttachmentStore) GetSignedURL ¶
func (*S3AttachmentStore) Retrieve ¶
func (s *S3AttachmentStore) Retrieve(ctx context.Context, storageKey string) (io.ReadCloser, error)
func (*S3AttachmentStore) Store ¶
func (s *S3AttachmentStore) Store(ctx context.Context, data io.Reader, maxSize int64, contentType string) (*registryattach.FileStoreResult, error)
Click to show internal directories.
Click to hide internal directories.