summaryrefslogtreecommitdiffstats
path: root/src/virtBootstrap
diff options
context:
space:
mode:
authorRadostin Stoyanov <rstoyanov1@gmail.com>2017-07-18 10:12:51 +0100
committerCédric Bosdonnat <cbosdonnat@suse.com>2017-07-18 17:43:14 +0200
commit0ea92b352ad4495a9ee902f00773272df6676487 (patch)
treeedba08855231ec86e3b9e89e2b41ab25bc2b9073 /src/virtBootstrap
parent4a0152f73fcf94c739836e4b8bbe969b56daddba (diff)
downloadvirt-bootstrap.git-0ea92b352ad4495a9ee902f00773272df6676487.tar.gz
virt-bootstrap.git-0ea92b352ad4495a9ee902f00773272df6676487.tar.xz
virt-bootstrap.git-0ea92b352ad4495a9ee902f00773272df6676487.zip
sources: Update doc strings
Diffstat (limited to 'src/virtBootstrap')
-rw-r--r--src/virtBootstrap/sources.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/virtBootstrap/sources.py b/src/virtBootstrap/sources.py
index 9432937..b832e34 100644
--- a/src/virtBootstrap/sources.py
+++ b/src/virtBootstrap/sources.py
@@ -40,6 +40,13 @@ class FileSource(object):
Extract root filesystem from file.
"""
def __init__(self, **kwargs):
+ """
+ Bootstrap root filesystem from tarball
+
+ @param uri: Path to tar archive file.
+ @param fmt: Format used to store image [dir, qcow2]
+ @param progress: Instance of the progress module
+ """
self.path = kwargs['uri'].path
self.output_format = kwargs['fmt']
self.progress = kwargs['progress'].update_progress
@@ -86,11 +93,11 @@ class DockerSource(object):
"""
Bootstrap root filesystem from Docker registry
- @param url: Address of source registry
+ @param uri: Address of source registry
@param username: Username to access source registry
@param password: Password to access source registry
@param fmt: Format used to store image [dir, qcow2]
- @param insecure: Do not require HTTPS and certificate verification
+ @param not_secure: Do not require HTTPS and certificate verification
@param no_cache: Whether to store downloaded images or not
@param progress: Instance of the progress module
"""