The mito-attachment Reference Manual

Next: , Previous: , Up: (dir)   [Contents][Index]

The mito-attachment Reference Manual

This is the mito-attachment Reference Manual, version 0.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Mon Aug 15 05:23:45 2022 GMT+0.

Table of Contents


1 Introduction

mito-attachment

The place to store files would be a problem when you intend to write a web application which allows file-uploading. These days, AWS S3 is a common place to store/serve files, however, it's not easy to manage like RDBMS.

Mito-attachment provides a Mito mixin class for managing files outside of RDBMS. It stores files before mito:save-dao and deletes them before mito:delete-dao.

Besides, the backend storage can be replaced easily. This makes it easy that using cloud storage services for production environment and using local filesystem for development environment.

Usage

Setting up the storage

(defvar *appenv* (uiop:getenv "APP_ENV"))

;; Setup storage class
(setf *storage*
      (if (string= *appenv* "production")
          ;; Store files in AWS S3 for production environment
          (make-instance 's3-storage
                         :bucket "mito-attachment-example"
                         :endpoint "s3-ap-northeast-1.amazonaws.com"
                         :access-key (uiop:getenv "AWS_ACCESS_KEY")
                         :secret-key (uiop:getenv "AWS_SECRET_KEY"))
          ;; Store files in local filesystem for development environment
          (make-instance 'disk-storage
                         :bucket "mito-attachment-example"
                         :directory #P"/tmp/attachment/")))

Defining an attachment Mito class

;; Attachment class for saving metadata into RDBMS
(defclass image (attachment) ()
  (:metaclass mito:dao-table-class))

Saving

;; :content can be specified as a pathname or a stream.
(mito:create-dao 'image :content #P"uploaded-file.png")

;; Override the file content-type
(mito:create-dao 'image :content #P"uploaded-file.png" :content-type "image/png")

;; Use an original file-key
(mito:create-dao 'image :content #P"uploaded-file.png" :file-key "image.png")

Getting the URL

(let ((file (mito:find-dao 'image :id 1)))
  (file-url file))
;-> ;; SELECT * FROM "image" WHERE ("id" = ?) LIMIT 1 (1) [1 row] | MITO.DB:RETRIEVE-BY-SQL
;=> "/mito-attachment-example/3616D80112884799B272DC962F4BBF97.jpg"

See example.lisp for getting the full example. It's a Lack web application which allows users to upload image files.

Installation

(ql:quickload :mito-attachment)

See Also

Author

Copyright

Copyright (c) 2016 Eitaro Fukamachi (e.arrows@gmail.com)

License

Licensed under the LLGPL License.


2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 mito-attachment

Mito mixin class for file management

Author

Eitaro Fukamachi

License

LLGPL

Long Description

# mito-attachment

The place to store files would be a problem when you intend to write a web application which allows file-uploading. These days, AWS S3 is a common place to store/serve files, however, it’s not easy to manage like RDBMS.

Mito-attachment provides a Mito mixin class for managing files outside of RDBMS. It stores files before ‘mito:save-dao‘ and deletes them before ‘mito:delete-dao‘.

Besides, the backend storage can be replaced easily. This makes it easy that using cloud storage services for production environment and using local filesystem for development environment.

## Usage

### Setting up the storage

“‘common-lisp
(defvar *appenv* (uiop:getenv "APP_ENV"))

;; Setup storage class
(setf *storage*
(if (string= *appenv* "production")
;; Store files in AWS S3 for production environment
(make-instance ’s3-storage
:bucket "mito-attachment-example"
:endpoint "s3-ap-northeast-1.amazonaws.com"
:access-key (uiop:getenv "AWS_ACCESS_KEY")
:secret-key (uiop:getenv "AWS_SECRET_KEY"))
;; Store files in local filesystem for development environment
(make-instance ’disk-storage
:bucket "mito-attachment-example"
:directory #P"/tmp/attachment/")))

“‘

### Defining an attachment Mito class

“‘common-lisp
;; Attachment class for saving metadata into RDBMS
(defclass image (attachment) ()
(:metaclass mito:dao-table-class))
“‘

### Saving

“‘common-lisp
;; :content can be specified as a pathname or a stream.
(mito:create-dao ’image :content #P"uploaded-file.png")

;; Override the file content-type
(mito:create-dao ’image :content #P"uploaded-file.png" :content-type "image/png")

;; Use an original file-key
(mito:create-dao ’image :content #P"uploaded-file.png" :file-key "image.png")
“‘

### Getting the URL

“‘common-lisp
(let ((file (mito:find-dao ’image :id 1)))
(file-url file))
;-> ;; SELECT * FROM "image" WHERE ("id" = ?) LIMIT 1 (1) [1 row] | MITO.DB:RETRIEVE-BY-SQL
;=> "/mito-attachment-example/3616D80112884799B272DC962F4BBF97.jpg"
“‘

See [example.lisp](example.lisp) for getting the full example. It’s a Lack web application which allows users to upload image files.

## Installation

“‘common-lisp
(ql:quickload :mito-attachment)
“‘

## See Also

* [Mito](https://github.com/fukamachi/mito)
* [Clipper](https://github.com/Rudolph-Miller/clipper) for Integral

## Author

* Eitaro Fukamachi (e.arrows@gmail.com)

## Copyright

Copyright (c) 2016 Eitaro Fukamachi (e.arrows@gmail.com)

## License

Licensed under the LLGPL License.

Version

0.1

Dependencies
  • mito (system).
  • zs3 (system).
  • lack-component (system).
  • trivial-mimes (system).
  • uuid (system).
  • cl-reexport (system).
  • uiop (system).
  • alexandria (system).
Source

mito-attachment.asd.

Child Component

src (module).


3 Modules

Modules are listed depth-first from the system components tree.


3.1 mito-attachment/src

Source

mito-attachment.asd.

Parent Component

mito-attachment (system).

Child Components

Previous: , Up: Modules   [Contents][Index]

3.2 mito-attachment/src/storage-components

Dependencies
Source

mito-attachment.asd.

Parent Component

src (module).

Child Components

4 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

4.1 Lisp


4.1.1 mito-attachment/mito-attachment.asd

Source

mito-attachment.asd.

Parent Component

mito-attachment (system).

ASDF Systems

mito-attachment.

Packages

mito-attachment-asd.


4.1.2 mito-attachment/src/mito-attachment.lisp

Dependencies
Source

mito-attachment.asd.

Parent Component

src (module).

Packages

mito-attachment.


4.1.3 mito-attachment/src/mixin.lisp

Dependencies
Source

mito-attachment.asd.

Parent Component

src (module).

Packages

mito.attachment.mixin.

Public Interface
Internals

initialize-with-content (function).


4.1.4 mito-attachment/src/storage.lisp

Source

mito-attachment.asd.

Parent Component

src (module).

Packages

mito.attachment.storage.

Public Interface

4.1.5 mito-attachment/src/storage-components/disk.lisp

Source

mito-attachment.asd.

Parent Component

storage-components (module).

Packages

mito.attachment.storage.disk.

Public Interface
Internals

4.1.6 mito-attachment/src/storage-components/s3.lisp

Source

mito-attachment.asd.

Parent Component

storage-components (module).

Packages

mito.attachment.storage.s3.

Public Interface
Internals

4.1.7 mito-attachment/src/util.lisp

Source

mito-attachment.asd.

Parent Component

src (module).

Packages

mito-attachment.util.

Public Interface

slurp-stream (function).


5 Packages

Packages are listed by definition order.


5.1 mito-attachment.util

Source

util.lisp.

Use List

common-lisp.

Public Interface

slurp-stream (function).


5.2 mito.attachment.storage

Source

storage.lisp.

Use List

common-lisp.

Used By List
Public Interface

5.3 mito.attachment.storage.disk

Source

disk.lisp.

Use List
Public Interface
Internals

5.4 mito-attachment-asd

Source

mito-attachment.asd.

Use List
  • asdf/interface.
  • common-lisp.

5.5 mito-attachment

Source

mito-attachment.lisp.

Nickname

mito.attachment

Use List

common-lisp.


5.6 mito.attachment.mixin

Source

mixin.lisp.

Use List

common-lisp.

Public Interface
Internals

initialize-with-content (function).


5.7 mito.attachment.storage.s3

Source

s3.lisp.

Use List
Public Interface
Internals

6 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

6.1 Public Interface


6.1.1 Special variables

Special Variable: *storage*
Package

mito.attachment.storage.

Source

storage.lisp.


6.1.2 Ordinary functions

Function: slurp-stream (stream &optional size)
Package

mito-attachment.util.

Source

util.lisp.


6.1.3 Generic functions

Generic Reader: content (object)
Package

mito.attachment.mixin.

Methods
Reader Method: content ((attachment attachment))

automatically generated reader method

Source

mixin.lisp.

Target Slot

content.

Generic Function: (setf content) (object)
Package

mito.attachment.mixin.

Methods
Writer Method: (setf content) :after ((attachment attachment))
Source

mixin.lisp.

Target Slot

content.

Method: (setf content) ((attachment attachment))

automatically generated writer method

Source

mixin.lisp.

Generic Reader: content-type (object)
Package

mito.attachment.mixin.

Methods
Reader Method: content-type ((attachment attachment))

automatically generated reader method

Source

mixin.lisp.

Target Slot

content-type.

Generic Writer: (setf content-type) (object)
Package

mito.attachment.mixin.

Methods
Writer Method: (setf content-type) ((attachment attachment))

automatically generated writer method

Source

mixin.lisp.

Target Slot

content-type.

Generic Function: delete-object-from-storage (storage file-key)
Package

mito.attachment.storage.

Source

storage.lisp.

Methods
Method: delete-object-from-storage ((storage s3-storage) file-key)
Source

s3.lisp.

Method: delete-object-from-storage ((storage disk-storage) file-key)
Source

disk.lisp.

Generic Function: disk-storage-bucket-directory (storage)
Package

mito.attachment.storage.disk.

Source

disk.lisp.

Methods
Method: disk-storage-bucket-directory ((storage disk-storage))
Generic Reader: disk-storage-directory (object)
Package

mito.attachment.storage.disk.

Methods
Reader Method: disk-storage-directory ((disk-storage disk-storage))

automatically generated reader method

Source

disk.lisp.

Target Slot

directory.

Generic Writer: (setf disk-storage-directory) (object)
Package

mito.attachment.storage.disk.

Methods
Writer Method: (setf disk-storage-directory) ((disk-storage disk-storage))

automatically generated writer method

Source

disk.lisp.

Target Slot

directory.

Generic Function: disk-storage-file (storage file-key)
Package

mito.attachment.storage.disk.

Source

disk.lisp.

Methods
Method: disk-storage-file ((storage disk-storage) file-key)
Generic Function: disk-storage-mount-path (storage)
Package

mito.attachment.storage.disk.

Source

disk.lisp.

Methods
Method: disk-storage-mount-path ((storage disk-storage))
Generic Reader: file-key (object)
Package

mito.attachment.mixin.

Methods
Reader Method: file-key ((attachment attachment))

automatically generated reader method

Source

mixin.lisp.

Target Slot

file-key.

Generic Writer: (setf file-key) (object)
Package

mito.attachment.mixin.

Methods
Writer Method: (setf file-key) ((attachment attachment))

automatically generated writer method

Source

mixin.lisp.

Target Slot

file-key.

Generic Reader: file-size (object)
Package

mito.attachment.mixin.

Methods
Reader Method: file-size ((attachment attachment))

automatically generated reader method

Source

mixin.lisp.

Target Slot

file-size.

Generic Writer: (setf file-size) (object)
Package

mito.attachment.mixin.

Methods
Writer Method: (setf file-size) ((attachment attachment))

automatically generated writer method

Source

mixin.lisp.

Target Slot

file-size.

Generic Function: file-url (attachment)
Package

mito.attachment.mixin.

Source

mixin.lisp.

Methods
Method: file-url ((attachment attachment))
Generic Function: get-object (attachment)
Package

mito.attachment.mixin.

Source

mixin.lisp.

Methods
Method: get-object ((attachment attachment))
Generic Function: get-object-in-storage (storage file-key)
Package

mito.attachment.storage.

Source

storage.lisp.

Methods
Method: get-object-in-storage ((storage s3-storage) file-key)
Source

s3.lisp.

Method: get-object-in-storage ((storage disk-storage) file-key)
Source

disk.lisp.

Generic Function: s3-storage-credentials (storage)
Package

mito.attachment.storage.s3.

Source

s3.lisp.

Methods
Method: s3-storage-credentials ((storage s3-storage))
Generic Reader: storage-bucket (object)
Package

mito.attachment.storage.

Methods
Reader Method: storage-bucket ((storage storage))

automatically generated reader method

Source

storage.lisp.

Target Slot

bucket.

Generic Writer: (setf storage-bucket) (object)
Package

mito.attachment.storage.

Methods
Writer Method: (setf storage-bucket) ((storage storage))

automatically generated writer method

Source

storage.lisp.

Target Slot

bucket.

Generic Reader: storage-endpoint (object)
Package

mito.attachment.storage.

Methods
Reader Method: storage-endpoint ((storage storage))

automatically generated reader method

Source

storage.lisp.

Target Slot

endpoint.

Generic Writer: (setf storage-endpoint) (object)
Package

mito.attachment.storage.

Methods
Writer Method: (setf storage-endpoint) ((storage storage))

automatically generated writer method

Source

storage.lisp.

Target Slot

endpoint.

Generic Function: storage-file-url (storage file-key)
Package

mito.attachment.storage.

Source

storage.lisp.

Methods
Method: storage-file-url ((storage s3-storage) file-key)
Source

s3.lisp.

Method: storage-file-url ((storage disk-storage) file-key)
Source

disk.lisp.

Generic Reader: storage-prefix (object)
Package

mito.attachment.storage.

Methods
Reader Method: storage-prefix ((storage storage))

automatically generated reader method

Source

storage.lisp.

Target Slot

prefix.

Generic Writer: (setf storage-prefix) (object)
Package

mito.attachment.storage.

Methods
Writer Method: (setf storage-prefix) ((storage storage))

automatically generated writer method

Source

storage.lisp.

Target Slot

prefix.

Generic Function: store-object-in-storage (storage object file-key)
Package

mito.attachment.storage.

Source

storage.lisp.

Methods
Method: store-object-in-storage ((storage s3-storage) (object sequence) file-key)
Source

s3.lisp.

Method: store-object-in-storage ((storage s3-storage) (object stream) file-key)
Source

s3.lisp.

Method: store-object-in-storage ((storage s3-storage) (object pathname) file-key)
Source

s3.lisp.

Method: store-object-in-storage ((storage disk-storage) (object sequence) file-key)
Source

disk.lisp.

Method: store-object-in-storage ((storage disk-storage) (object stream) file-key)
Source

disk.lisp.

Method: store-object-in-storage ((storage disk-storage) (object pathname) file-key)
Source

disk.lisp.


6.1.4 Standalone methods

Method: call ((storage disk-storage) env)
Package

lack.component.

Source

disk.lisp.

Method: delete-dao :before ((attachment attachment))
Package

mito.dao.

Source

mixin.lisp.

Method: initialize-instance :after ((attachment attachment) &rest initargs &key content &allow-other-keys)
Source

mixin.lisp.

Method: save-dao :before ((attachment attachment))
Package

mito.dao.

Source

mixin.lisp.


6.1.5 Classes

Class: attachment
Package

mito.attachment.mixin.

Source

mixin.lisp.

Direct methods
Direct slots
Slot: file-key
Initargs

:file-key

Readers

file-key.

Writers

(setf file-key).

Slot: content-type
Initargs

:content-type

Readers

content-type.

Writers

(setf content-type).

Slot: file-size
Initargs

:file-size

Readers

file-size.

Writers

(setf file-size).

Slot: content
Initargs

:content

Readers

content.

Writers

(setf content).

Class: disk-storage
Package

mito.attachment.storage.disk.

Source

disk.lisp.

Direct superclasses
Direct methods
Direct slots
Slot: directory
Package

common-lisp.

Initargs

:directory

Readers

disk-storage-directory.

Writers

(setf disk-storage-directory).

Slot: mount-path-prefix
Initargs

:mount-path-prefix

Readers

disk-storage-mount-path-prefix.

Writers

(setf disk-storage-mount-path-prefix).

Class: s3-storage
Package

mito.attachment.storage.s3.

Source

s3.lisp.

Direct superclasses

storage.

Direct methods
Direct Default Initargs
InitargValue
:endpoint*s3-endpoint*
Direct slots
Slot: access-key
Initargs

:access-key

Readers

s3-storage-access-key.

Writers

(setf s3-storage-access-key).

Slot: secret-key
Initargs

:secret-key

Readers

s3-storage-secret-key.

Writers

(setf s3-storage-secret-key).

Slot: session-token
Initargs

:session-token

Readers

s3-storage-session-token.

Writers

(setf s3-storage-session-token).

Slot: region
Initform

zs3:*s3-region*

Initargs

:region

Readers

s3-storage-region.

Writers

(setf s3-storage-region).

Class: storage
Package

mito.attachment.storage.

Source

storage.lisp.

Direct subclasses
Direct methods
Direct slots
Slot: bucket
Initargs

:bucket

Readers

storage-bucket.

Writers

(setf storage-bucket).

Slot: prefix
Initargs

:prefix

Readers

storage-prefix.

Writers

(setf storage-prefix).

Slot: endpoint
Initargs

:endpoint

Readers

storage-endpoint.

Writers

(setf storage-endpoint).


6.2 Internals


Next: , Previous: , Up: Internals   [Contents][Index]

6.2.1 Macros

Macro: with-s3-storage (storage &body body)
Package

mito.attachment.storage.s3.

Source

s3.lisp.


Next: , Previous: , Up: Internals   [Contents][Index]

6.2.2 Ordinary functions

Function: initialize-with-content (attachment content)
Package

mito.attachment.mixin.

Source

mixin.lisp.

Function: s3-file-key (storage file-key)
Package

mito.attachment.storage.s3.

Source

s3.lisp.


6.2.3 Generic functions

Generic Reader: disk-storage-mount-path-prefix (object)
Package

mito.attachment.storage.disk.

Methods
Reader Method: disk-storage-mount-path-prefix ((disk-storage disk-storage))

automatically generated reader method

Source

disk.lisp.

Target Slot

mount-path-prefix.

Generic Writer: (setf disk-storage-mount-path-prefix) (object)
Package

mito.attachment.storage.disk.

Methods
Writer Method: (setf disk-storage-mount-path-prefix) ((disk-storage disk-storage))

automatically generated writer method

Source

disk.lisp.

Target Slot

mount-path-prefix.

Generic Reader: s3-storage-access-key (object)
Package

mito.attachment.storage.s3.

Methods
Reader Method: s3-storage-access-key ((s3-storage s3-storage))

automatically generated reader method

Source

s3.lisp.

Target Slot

access-key.

Generic Writer: (setf s3-storage-access-key) (object)
Package

mito.attachment.storage.s3.

Methods
Writer Method: (setf s3-storage-access-key) ((s3-storage s3-storage))

automatically generated writer method

Source

s3.lisp.

Target Slot

access-key.

Generic Reader: s3-storage-region (object)
Package

mito.attachment.storage.s3.

Methods
Reader Method: s3-storage-region ((s3-storage s3-storage))

automatically generated reader method

Source

s3.lisp.

Target Slot

region.

Generic Writer: (setf s3-storage-region) (object)
Package

mito.attachment.storage.s3.

Methods
Writer Method: (setf s3-storage-region) ((s3-storage s3-storage))

automatically generated writer method

Source

s3.lisp.

Target Slot

region.

Generic Reader: s3-storage-secret-key (object)
Package

mito.attachment.storage.s3.

Methods
Reader Method: s3-storage-secret-key ((s3-storage s3-storage))

automatically generated reader method

Source

s3.lisp.

Target Slot

secret-key.

Generic Writer: (setf s3-storage-secret-key) (object)
Package

mito.attachment.storage.s3.

Methods
Writer Method: (setf s3-storage-secret-key) ((s3-storage s3-storage))

automatically generated writer method

Source

s3.lisp.

Target Slot

secret-key.

Generic Reader: s3-storage-session-token (object)
Package

mito.attachment.storage.s3.

Methods
Reader Method: s3-storage-session-token ((s3-storage s3-storage))

automatically generated reader method

Source

s3.lisp.

Target Slot

session-token.

Generic Writer: (setf s3-storage-session-token) (object)
Package

mito.attachment.storage.s3.

Methods
Writer Method: (setf s3-storage-session-token) ((s3-storage s3-storage))

automatically generated writer method

Source

s3.lisp.

Target Slot

session-token.


Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts


Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   (  
C   D   F   G   I   M   S   W  
Index Entry  Section

(
(setf content): Public generic functions
(setf content): Public generic functions
(setf content): Public generic functions
(setf content-type): Public generic functions
(setf content-type): Public generic functions
(setf disk-storage-directory): Public generic functions
(setf disk-storage-directory): Public generic functions
(setf disk-storage-mount-path-prefix): Private generic functions
(setf disk-storage-mount-path-prefix): Private generic functions
(setf file-key): Public generic functions
(setf file-key): Public generic functions
(setf file-size): Public generic functions
(setf file-size): Public generic functions
(setf s3-storage-access-key): Private generic functions
(setf s3-storage-access-key): Private generic functions
(setf s3-storage-region): Private generic functions
(setf s3-storage-region): Private generic functions
(setf s3-storage-secret-key): Private generic functions
(setf s3-storage-secret-key): Private generic functions
(setf s3-storage-session-token): Private generic functions
(setf s3-storage-session-token): Private generic functions
(setf storage-bucket): Public generic functions
(setf storage-bucket): Public generic functions
(setf storage-endpoint): Public generic functions
(setf storage-endpoint): Public generic functions
(setf storage-prefix): Public generic functions
(setf storage-prefix): Public generic functions

C
call: Public standalone methods
content: Public generic functions
content: Public generic functions
content-type: Public generic functions
content-type: Public generic functions

D
delete-dao: Public standalone methods
delete-object-from-storage: Public generic functions
delete-object-from-storage: Public generic functions
delete-object-from-storage: Public generic functions
disk-storage-bucket-directory: Public generic functions
disk-storage-bucket-directory: Public generic functions
disk-storage-directory: Public generic functions
disk-storage-directory: Public generic functions
disk-storage-file: Public generic functions
disk-storage-file: Public generic functions
disk-storage-mount-path: Public generic functions
disk-storage-mount-path: Public generic functions
disk-storage-mount-path-prefix: Private generic functions
disk-storage-mount-path-prefix: Private generic functions

F
file-key: Public generic functions
file-key: Public generic functions
file-size: Public generic functions
file-size: Public generic functions
file-url: Public generic functions
file-url: Public generic functions
Function, initialize-with-content: Private ordinary functions
Function, s3-file-key: Private ordinary functions
Function, slurp-stream: Public ordinary functions

G
Generic Function, (setf content): Public generic functions
Generic Function, (setf content-type): Public generic functions
Generic Function, (setf disk-storage-directory): Public generic functions
Generic Function, (setf disk-storage-mount-path-prefix): Private generic functions
Generic Function, (setf file-key): Public generic functions
Generic Function, (setf file-size): Public generic functions
Generic Function, (setf s3-storage-access-key): Private generic functions
Generic Function, (setf s3-storage-region): Private generic functions
Generic Function, (setf s3-storage-secret-key): Private generic functions
Generic Function, (setf s3-storage-session-token): Private generic functions
Generic Function, (setf storage-bucket): Public generic functions
Generic Function, (setf storage-endpoint): Public generic functions
Generic Function, (setf storage-prefix): Public generic functions
Generic Function, content: Public generic functions
Generic Function, content-type: Public generic functions
Generic Function, delete-object-from-storage: Public generic functions
Generic Function, disk-storage-bucket-directory: Public generic functions
Generic Function, disk-storage-directory: Public generic functions
Generic Function, disk-storage-file: Public generic functions
Generic Function, disk-storage-mount-path: Public generic functions
Generic Function, disk-storage-mount-path-prefix: Private generic functions
Generic Function, file-key: Public generic functions
Generic Function, file-size: Public generic functions
Generic Function, file-url: Public generic functions
Generic Function, get-object: Public generic functions
Generic Function, get-object-in-storage: Public generic functions
Generic Function, s3-storage-access-key: Private generic functions
Generic Function, s3-storage-credentials: Public generic functions
Generic Function, s3-storage-region: Private generic functions
Generic Function, s3-storage-secret-key: Private generic functions
Generic Function, s3-storage-session-token: Private generic functions
Generic Function, storage-bucket: Public generic functions
Generic Function, storage-endpoint: Public generic functions
Generic Function, storage-file-url: Public generic functions
Generic Function, storage-prefix: Public generic functions
Generic Function, store-object-in-storage: Public generic functions
get-object: Public generic functions
get-object: Public generic functions
get-object-in-storage: Public generic functions
get-object-in-storage: Public generic functions
get-object-in-storage: Public generic functions

I
initialize-instance: Public standalone methods
initialize-with-content: Private ordinary functions

M
Macro, with-s3-storage: Private macros
Method, (setf content): Public generic functions
Method, (setf content): Public generic functions
Method, (setf content-type): Public generic functions
Method, (setf disk-storage-directory): Public generic functions
Method, (setf disk-storage-mount-path-prefix): Private generic functions
Method, (setf file-key): Public generic functions
Method, (setf file-size): Public generic functions
Method, (setf s3-storage-access-key): Private generic functions
Method, (setf s3-storage-region): Private generic functions
Method, (setf s3-storage-secret-key): Private generic functions
Method, (setf s3-storage-session-token): Private generic functions
Method, (setf storage-bucket): Public generic functions
Method, (setf storage-endpoint): Public generic functions
Method, (setf storage-prefix): Public generic functions
Method, call: Public standalone methods
Method, content: Public generic functions
Method, content-type: Public generic functions
Method, delete-dao: Public standalone methods
Method, delete-object-from-storage: Public generic functions
Method, delete-object-from-storage: Public generic functions
Method, disk-storage-bucket-directory: Public generic functions
Method, disk-storage-directory: Public generic functions
Method, disk-storage-file: Public generic functions
Method, disk-storage-mount-path: Public generic functions
Method, disk-storage-mount-path-prefix: Private generic functions
Method, file-key: Public generic functions
Method, file-size: Public generic functions
Method, file-url: Public generic functions
Method, get-object: Public generic functions
Method, get-object-in-storage: Public generic functions
Method, get-object-in-storage: Public generic functions
Method, initialize-instance: Public standalone methods
Method, s3-storage-access-key: Private generic functions
Method, s3-storage-credentials: Public generic functions
Method, s3-storage-region: Private generic functions
Method, s3-storage-secret-key: Private generic functions
Method, s3-storage-session-token: Private generic functions
Method, save-dao: Public standalone methods
Method, storage-bucket: Public generic functions
Method, storage-endpoint: Public generic functions
Method, storage-file-url: Public generic functions
Method, storage-file-url: Public generic functions
Method, storage-prefix: Public generic functions
Method, store-object-in-storage: Public generic functions
Method, store-object-in-storage: Public generic functions
Method, store-object-in-storage: Public generic functions
Method, store-object-in-storage: Public generic functions
Method, store-object-in-storage: Public generic functions
Method, store-object-in-storage: Public generic functions

S
s3-file-key: Private ordinary functions
s3-storage-access-key: Private generic functions
s3-storage-access-key: Private generic functions
s3-storage-credentials: Public generic functions
s3-storage-credentials: Public generic functions
s3-storage-region: Private generic functions
s3-storage-region: Private generic functions
s3-storage-secret-key: Private generic functions
s3-storage-secret-key: Private generic functions
s3-storage-session-token: Private generic functions
s3-storage-session-token: Private generic functions
save-dao: Public standalone methods
slurp-stream: Public ordinary functions
storage-bucket: Public generic functions
storage-bucket: Public generic functions
storage-endpoint: Public generic functions
storage-endpoint: Public generic functions
storage-file-url: Public generic functions
storage-file-url: Public generic functions
storage-file-url: Public generic functions
storage-prefix: Public generic functions
storage-prefix: Public generic functions
store-object-in-storage: Public generic functions
store-object-in-storage: Public generic functions
store-object-in-storage: Public generic functions
store-object-in-storage: Public generic functions
store-object-in-storage: Public generic functions
store-object-in-storage: Public generic functions
store-object-in-storage: Public generic functions

W
with-s3-storage: Private macros

Jump to:   (  
C   D   F   G   I   M   S   W  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   A   C   D   F   M   P   S   U  
Index Entry  Section

A
attachment: Public classes

C
Class, attachment: Public classes
Class, disk-storage: Public classes
Class, s3-storage: Public classes
Class, storage: Public classes

D
disk-storage: Public classes
disk.lisp: The mito-attachment/src/storage-components/disk․lisp file

F
File, disk.lisp: The mito-attachment/src/storage-components/disk․lisp file
File, mito-attachment.asd: The mito-attachment/mito-attachment․asd file
File, mito-attachment.lisp: The mito-attachment/src/mito-attachment․lisp file
File, mixin.lisp: The mito-attachment/src/mixin․lisp file
File, s3.lisp: The mito-attachment/src/storage-components/s3․lisp file
File, storage.lisp: The mito-attachment/src/storage․lisp file
File, util.lisp: The mito-attachment/src/util․lisp file

M
mito-attachment: The mito-attachment system
mito-attachment: The mito-attachment package
mito-attachment-asd: The mito-attachment-asd package
mito-attachment.asd: The mito-attachment/mito-attachment․asd file
mito-attachment.lisp: The mito-attachment/src/mito-attachment․lisp file
mito-attachment.util: The mito-attachment․util package
mito.attachment.mixin: The mito․attachment․mixin package
mito.attachment.storage: The mito․attachment․storage package
mito.attachment.storage.disk: The mito․attachment․storage․disk package
mito.attachment.storage.s3: The mito․attachment․storage․s3 package
mixin.lisp: The mito-attachment/src/mixin․lisp file
Module, src: The mito-attachment/src module
Module, storage-components: The mito-attachment/src/storage-components module

P
Package, mito-attachment: The mito-attachment package
Package, mito-attachment-asd: The mito-attachment-asd package
Package, mito-attachment.util: The mito-attachment․util package
Package, mito.attachment.mixin: The mito․attachment․mixin package
Package, mito.attachment.storage: The mito․attachment․storage package
Package, mito.attachment.storage.disk: The mito․attachment․storage․disk package
Package, mito.attachment.storage.s3: The mito․attachment․storage․s3 package

S
s3-storage: Public classes
s3.lisp: The mito-attachment/src/storage-components/s3․lisp file
src: The mito-attachment/src module
storage: Public classes
storage-components: The mito-attachment/src/storage-components module
storage.lisp: The mito-attachment/src/storage․lisp file
System, mito-attachment: The mito-attachment system

U
util.lisp: The mito-attachment/src/util․lisp file

Jump to:   A   C   D   F   M   P   S   U