The bareon.utils.artifact
Module¶
-
class
bareon.utils.artifact.
ForwardFileStream
(stream)¶ Bases:
bareon.utils.artifact.Target
-
close
()¶
-
next
()¶
-
read
(length=None)¶
-
seek
(position)¶
-
tell
()¶
-
-
class
bareon.utils.artifact.
GunzipStream
(stream)¶ Bases:
bareon.utils.artifact.Target
-
next
()¶
-
-
class
bareon.utils.artifact.
HttpUrl
(url)¶ Bases:
bareon.utils.artifact.Target
-
next
()¶
-
-
class
bareon.utils.artifact.
LocalFile
(filename)¶ Bases:
bareon.utils.artifact.Target
-
next
()¶
-
-
class
bareon.utils.artifact.
TarStream
(stream)¶ Bases:
bareon.utils.artifact.Target
-
target
(filename=None)¶
-
-
bareon.utils.artifact.
list_opts
()¶ Returns a list of oslo.config options available in the library.
The returned list includes all oslo.config options which may be registered at runtime by the library.
Each element of the list is a tuple. The first element is the name of the group under which the list of elements in the second element will be registered. A group name of None corresponds to the [DEFAULT] group in config files.
The purpose of this is to allow tools like the Oslo sample config file generator (oslo-config-generator) to discover the options exposed to users by this library.
Returns: a list of (group_name, opts) tuples