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: cliff.lister.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: cliff.command.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.

class oio.cli.lifecycle.lifecycle.LifecycleSet(app, app_args, cmd_name=None)[source]

Bases: cliff.command.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.

Module contents