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