genvid.toolbox.AllInOneTool

Warning

This module has been deprecated. Although the code is still working for our oldest model, it is not expected to work with the new Bastion API. Please use the new genvid-bastion and genvid-sdk tools.

class genvid.toolbox.AllInOneTool(**kwargs)

Bases: genvid.toolbox.runtime.RuntimeTool

Main tool for managing the all-in-one local environment for development.

Deprecated since version 1.7.0.

NAME = 'all-in-one'
DESCRIPTION = 'Set up all-in-one local environment.'
GENVID_STATIC_BINDING = None

A mirror of GENVID_STATIC_BINDING for using static ports in a local configuration.

setup_jobs()

Insert important resource locations in Consul.

This method will probe the location of important binairies and define some other important paths. Those are then passed to ConfigTool.set_config_value() to be registered in Consul.

Changed in version 1.20.0: Non-functional refactoring to clarify intent.

add_allinone_commands()

Delegate to add_runtime_commands().

run_allinone_command(command, options)

Delegate to run_runtime_command().

class allinone.AllInOneTool

Implementation of genvid.toolbox.AllInOneTool