Python ToolboxΒΆ

Exceptions

genvid.toolbox.ExecutableNotInPathError Exception thrown when a file is not found in the path.
genvid.toolbox.ServiceIsNotRunningError Raise when a service is not running.
genvid.toolbox.HttpError An error from the Cluster API

Basic Tools

genvid.toolbox.AWSTool A set of utilities to access and manipulate cluster resources in AWS.
genvid.toolbox.BaseHttpApiTool This class is the basic class for HTTP API
genvid.toolbox.BaseTool Base class for all tools.
genvid.toolbox.ConsulTemplateTool A wrapper over consul-template to generated file from variables set in consul, vault or from the environment.
genvid.toolbox.ConsulTool This class allows you to access different consul services.
genvid.toolbox.DockerTool Handle manipulation of docker images archive.
genvid.toolbox.BastionAPI Client for the Bastion API.
genvid.toolbox.ClusterAPI Handles the communication with a cluster
genvid.toolbox.Clusters This class is used as a base class to manage clusters
genvid.toolbox.HttpError An error from the Cluster API
genvid.toolbox.SDK Common commands for setting up the SDK
genvid.toolbox.NetworkTool Platform abstraction of Network utilities
genvid.toolbox.NomadTool A class for handling nomad jobs.
genvid.toolbox.VaultTool A class for interfacing with Vault.

Services Base Tools

genvid.toolbox.ConsulService Base class for configuring the Consul service.
genvid.toolbox.NomadService Base Configuration of the nomad service.
genvid.toolbox.ServiceInstaller Base class for installing all services.
genvid.toolbox.ServiceTool Base class for all services.
genvid.toolbox.VaultService Base Configuration of the vault service.

Services Local Tools

genvid.toolbox.LocalService This class wraps a service to be run locally, as a background process.
genvid.toolbox.LocalServiceInstaller Installer for the local services.

Services Linux Tools

genvid.toolbox.LinuxDockerService(**kwargs) A ServiceTool for configuring docker on Linux server.
genvid.toolbox.LinuxConsulService(**kwargs) Configure consul as a service on Linux server.
genvid.toolbox.LinuxNomadService(**kwargs) Configure nomad as a service on Linux server.
genvid.toolbox.LinuxServiceInstaller(**kwargs) Install the supervisor services on a Linux server.
genvid.toolbox.LinuxVaultService(**kwargs) Configure vault as a service on Linux server.
genvid.toolbox.SystemdTool(**kwargs) Base ServiceTool for Linux servers under systemd.
genvid.toolbox.SystemdInstaller(**kwargs) Base ServiceInstaller for LinuxServiceInstaller under systemd.

Deprecated Tools

Warning

Those modules have been deprecated. Although the code is still working for our oldest model, it is not expected to work with the new Bastion API.

genvid.toolbox.AllInOneTool Main tool for managing the all-in-one local environment for development.
genvid.toolbox.ClusterTool This class allow the configuration of a cluster.
genvid.toolbox.ConfigTool Manage genvid configuration
genvid.toolbox.EventsTool Tool in charge of managing events configuration
genvid.toolbox.ProjectTool Tool for managing project files.
genvid.toolbox.RuntimeTool Common tool for managing the different environments.
genvid.toolbox.TerraformTool Main tool for managing the cloud environment using terraform.

The following classes have also been renamed (but an alias is still provided):