oio.cli.lifecycle package
Submodules
oio.cli.lifecycle.client module
-
oio.cli.lifecycle.client.
make_client
(instance)[source]
oio.cli.lifecycle.lifecycle module
Lifecycle-related commands
-
class
oio.cli.lifecycle.lifecycle.
LifecycleApply
(app, app_args, cmd_name=None)[source] Bases:
oio.cli.Lister
Synchronously apply lifecycle rules.
-
get_parser
(prog_name)[source] Return an
argparse.ArgumentParser
.
-
log
= <logging.Logger object>
-
take_action
(parsed_args)[source] Return a tuple containing the column names and an iterable containing the data to be listed.
-
-
class
oio.cli.lifecycle.lifecycle.
LifecycleGet
(app, app_args, cmd_name=None)[source] Bases:
oio.cli.Command
Get container lifecycle configuration.
-
get_parser
(prog_name)[source] Return an
argparse.ArgumentParser
.
-
log
= <logging.Logger object>
-
take_action
(parsed_args)[source] Override to do something useful.
The returned value will be returned by the program.
-
-
class
oio.cli.lifecycle.lifecycle.
LifecycleSet
(app, app_args, cmd_name=None)[source] Bases:
oio.cli.Command
Set container lifecycle configuration.
-
get_parser
(prog_name)[source] Return an
argparse.ArgumentParser
.
-
log
= <logging.Logger object>
-
take_action
(parsed_args)[source] Override to do something useful.
The returned value will be returned by the program.
-