oio.cli.events package

Submodules

oio.cli.events.client module

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

Build an EventClient that will be added as “event” field of instance.

Parameters:instance – an instance of ClientManager
Returns:an instance of EventClient

oio.cli.events.events module

class oio.cli.events.events.EventsExhume(app, app_args, cmd_name=None)[source]

Bases: oio.cli.ShowOne

Exhume (replay) events that have been buried.

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

Bases: oio.cli.ShowOne

Stats events

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.

Module contents