oio.cli.object package

Submodules

oio.cli.object.client module

oio.cli.object.client.make_client(instance)[source]

oio.cli.object.object module

class oio.cli.object.object.ContainerCommandMixin[source]

Bases: object

Command taking a container name as parameter

flatns_manager
patch_parser(parser)[source]
take_action(parsed_args)[source]
class oio.cli.object.object.CreateObject(app, app_args, cmd_name=None)[source]

Bases: oio.cli.object.object.ContainerCommandMixin, cliff.lister.Lister

Upload object

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.object.object.DeleteObject(app, app_args, cmd_name=None)[source]

Bases: oio.cli.object.object.ContainerCommandMixin, cliff.lister.Lister

Delete object from container

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.object.object.DrainObject(app, app_args, cmd_name=None)[source]

Bases: oio.cli.object.object.ContainerCommandMixin, cliff.command.Command

Remove all the chunks of a content but keep the properties. We can replace the data or the properties of the content but no action needing the removed chunks are accepted

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.object.object.LinkObject(app, app_args, cmd_name=None)[source]

Bases: oio.cli.object.object.ObjectCommandMixin, cliff.command.Command

Make a shallow copy of an object.

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.object.object.ListObject(app, app_args, cmd_name=None)[source]

Bases: oio.cli.object.object.ContainerCommandMixin, cliff.lister.Lister

List objects in a container.

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.object.object.LocateObject(app, app_args, cmd_name=None)[source]

Bases: oio.cli.object.object.ObjectCommandMixin, cliff.lister.Lister

Locate the parts of an object

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.object.object.ObjectCommandMixin[source]

Bases: oio.cli.object.object.ContainerCommandMixin

Command taking an object name as parameter

patch_parser(parser)[source]
class oio.cli.object.object.PurgeObject(app, app_args, cmd_name=None)[source]

Bases: oio.cli.object.object.ObjectCommandMixin, cliff.command.Command

Purge exceeding object versions.

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.object.object.SaveObject(app, app_args, cmd_name=None)[source]

Bases: oio.cli.object.object.ObjectCommandMixin, cliff.command.Command

Save object locally

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.object.object.SetObject(app, app_args, cmd_name=None)[source]

Bases: oio.cli.object.object.ObjectCommandMixin, cliff.command.Command

Set object properties

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.object.object.ShowObject(app, app_args, cmd_name=None)[source]

Bases: oio.cli.object.object.ObjectCommandMixin, cliff.show.ShowOne

Show information about an object

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <logging.Logger object>
take_action(parsed_args)[source]

Return a two-part tuple with a tuple of column names and a tuple of values.

class oio.cli.object.object.TouchObject(app, app_args, cmd_name=None)[source]

Bases: oio.cli.object.object.ContainerCommandMixin, cliff.command.Command

Touch an object in a container, re-triggers asynchronous treatments

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.object.object.UnsetObject(app, app_args, cmd_name=None)[source]

Bases: oio.cli.object.object.ObjectCommandMixin, cliff.command.Command

Unset object properties

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