zun/api-ref/source
Hongbin Lu 21ae28cc1a Support file injection on container
Add support for file injection on creating the container.
API users need to pass the file contents by using the 'mounts'
attribute. The content will persist into a temp file in the
compute host and bind-mount into the container.

To achieve this, we introduce the volume driver called 'Local'.
This driver will implement the volume driver interface and
handle file injection related operations.

In data model, we adds a new field 'contents' into the volume_mapping
table. We also change 'volume_id' to be nullable because file
injection doesn't need a cinder volume.

A future work is to add the ability to limit the size and number
of injected files. The limits should be configurable either via
admin APIs or config options.

Implements: blueprint inject-files-to-container
Change-Id: I4ab6f50684f77bd7762e872d884ce11a7b0807ba
2018-08-12 21:34:21 +00:00
..
samples Add healthcheck to api-ref 2018-08-07 09:44:54 +08:00
conf.py Move openstackdocstheme to extensions in api-ref 2018-03-27 10:13:09 +08:00
containers.inc Add healthcheck to api-ref 2018-08-07 09:44:54 +08:00
hosts.inc api-ref: add parameters for host APIs 2018-05-03 03:42:12 +00:00
images.inc Add initial Zun API documentation 2017-02-03 05:10:20 +00:00
index.rst Update our project definition 2018-02-04 17:56:32 +00:00
parameters.yaml Support file injection on container 2018-08-12 21:34:21 +00:00
services.inc api-ref: add return code for services APIs 2018-08-06 17:01:37 +08:00
status.yaml Add initial Zun API documentation 2017-02-03 05:10:20 +00:00
urls.inc Update our project definition 2018-02-04 17:56:32 +00:00