openstackclient.image.v1 package

Submodules

openstackclient.image.v1.image module

Image V1 Action Implementations

class openstackclient.image.v1.image.CreateImage(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.image.v1.image.CreateImage (WARNING)>
take_action(parsed_args)

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

class openstackclient.image.v1.image.DeleteImage(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.image.v1.image.DeleteImage (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.image.v1.image.HumanReadableSizeColumn(value)

Bases: FormattableColumn

human_readable()

Return a formatted visibility string

Return type:

A string formatted to public/private

class openstackclient.image.v1.image.ListImage(app, app_args, cmd_name=None)

Bases: Lister

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.image.v1.image.ListImage (WARNING)>
take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

class openstackclient.image.v1.image.SaveImage(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.image.v1.image.SaveImage (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.image.v1.image.SetImage(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.image.v1.image.SetImage (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.image.v1.image.ShowImage(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.image.v1.image.ShowImage (WARNING)>
take_action(parsed_args)

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

class openstackclient.image.v1.image.VisibilityColumn(value)

Bases: FormattableColumn

human_readable()

Return a formatted visibility string

Return type:

A string formatted to public/private

Module contents