openstackclient.image.v2 package

Submodules

openstackclient.image.v2.image module

Image V2 Action Implementations

class openstackclient.image.v2.image.AddProjectToImage(app, app_args, cmd_name=None)

Bases: osc_lib.command.command.ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.image.v2.image.AddProjectToImage (WARNING)>
take_action(parsed_args)

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

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

Bases: osc_lib.command.command.ShowOne

deadopts = ('size', 'location', 'copy-from', 'checksum', 'store')
get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.image.v2.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.v2.image.DeleteImage(app, app_args, cmd_name=None)

Bases: osc_lib.command.command.Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

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

Override to do something useful.

The returned value will be returned by the program.

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

Bases: osc_lib.command.command.Lister

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.image.v2.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.v2.image.ListImageProjects(app, app_args, cmd_name=None)

Bases: osc_lib.command.command.Lister

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.image.v2.image.ListImageProjects (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.v2.image.RemoveProjectImage(app, app_args, cmd_name=None)

Bases: osc_lib.command.command.Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.image.v2.image.RemoveProjectImage (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

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

Bases: osc_lib.command.command.Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

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

Override to do something useful.

The returned value will be returned by the program.

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

Bases: osc_lib.command.command.Command

deadopts = ('visibility',)
get_parser(prog_name)

Return an argparse.ArgumentParser.

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

Override to do something useful.

The returned value will be returned by the program.

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

Bases: osc_lib.command.command.ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.image.v2.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.v2.image.UnsetImage(app, app_args, cmd_name=None)

Bases: osc_lib.command.command.Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.image.v2.image.UnsetImage (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

openstackclient.image.v2.image.get_data_file(args)

Module contents