Merge "Doc: Add appcontainer image delete, appcontainer image search and appcontainer image pull"

This commit is contained in:
Zuul 2018-08-18 18:01:40 +00:00 committed by Gerrit Code Review
commit a2cdcb9097

View File

@ -137,3 +137,159 @@ Describe a specific image
.. option:: --prefix PREFIX
add a prefix to all variable names
appcontainer image delete
-------------------------
Delete specified image from a host
.. program:: appcontainer image delete
.. code:: bash
openstack appcontainer image delete [-h] <uuid> <host>
.. describe:: <uuid>
UUID of image to describe
.. describe:: <host>
Name or UUID of the host
.. option:: -h, --help
show this help message and exit
appcontainer image pull
-----------------------
Pull specified image into a host
.. program:: appcontainer image pull
.. code:: bash
openstack appcontainer image pull [-h]
[-f {json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--fit-width] [--print-empty]
[--noindent] [--prefix PREFIX]
<image> <host>
.. describe:: <image>
Name of the image
.. describe:: <host>
Name or UUID of the host
.. option:: -h, --help
show this help message and exit
.. option:: -f {json,shell,table,value,yaml},
--format {json,shell,table,value,yaml}
the output format, defaults to table
.. option:: -c COLUMN, --column COLUMN
specify the column(s) to include, can be repeated
.. option:: --max-width <integer>
Maximum display width, <1 to disable. You can also use
the CLIFF_MAX_TERM_WIDTH environment variable, but the
parameter takes precedence.
.. option:: --fit-width
Fit the table to the display width. Implied if --max-
width greater than 0. Set the environment variable
CLIFF_FIT_WIDTH=1 to always enable
.. option:: --print-empty
Print empty table if there is no data to show.
.. option:: --noindent
whether to disable indenting the JSON
.. option:: --prefix PREFIX
add a prefix to all variable names
appcontainer image search
-------------------------
Search the image repository for images
.. program:: appcontainer image search
.. code:: bash
openstack appcontainer image search [-h]
[-f {csv,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--fit-width] [--print-empty]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--sort-column SORT_COLUMN]
[--image-driver <image-driver>]
[--exact-match]
<image_name>
.. describe:: <image_name>
Name of the image
.. option:: -h, --help
show this help message and exit
.. option:: --image-driver <image-driver>
Name of the image driver
.. option:: --exact-match
exact match image name
.. option:: -f {csv,json,table,value,yaml},
--format {csv,json,table,value,yaml}
the output format, defaults to table
.. option:: -c COLUMN, --column COLUMN
specify the column(s) to include, can be repeated
.. option:: --sort-column SORT_COLUMN
specify the column(s) to sort the data (columns
specified first have a priority, non-existing columns
are ignored), can be repeated
.. option:: --max-width <integer>
Maximum display width, <1 to disable. You can also use
the CLIFF_MAX_TERM_WIDTH environment variable, but the
parameter takes precedence.
.. option:: --fit-width
Fit the table to the display width. Implied if --max-
width greater than 0. Set the environment variable
CLIFF_FIT_WIDTH=1 to always enable
.. option:: --print-empty
Print empty table if there is no data to show.
.. option:: --noindent
whether to disable indenting the JSON
.. option:: --quote {all,minimal,none,nonnumeric}
when to include quotes, defaults to nonnumeric