Python Toolbox API

Exceptions

genvid.toolbox.BucketRegionNotMatching

Raised if the existing bucket region doesn't match the one specified.

genvid.toolbox.ConsulTemplateError

Base error type for consul-template failures.

genvid.toolbox.ConsulTemplateExecutableNotFound

Raised when the executable for consul-template cannot be found.

genvid.toolbox.ConsulTemplateExecutionFailed

Raised when running consul-template yielded a non-zero exit code.

genvid.toolbox.ConsulTemplateInvalidUseOfFlag

Indicate a flag parameter was used with a non-trivial value.

genvid.toolbox.ConsulTemplateUseOfDisabledOption

Indicate a disabled option was used with ConsulTemplate.

genvid.toolbox.ConsulTemplateUseOfUnknownOption

Indicate an unknown option was used with ConsulTemplate.

genvid.toolbox.ExecutableNotInPathError

Exception thrown when a file is not found in the path.

genvid.toolbox.HttpError

An error from the Cluster API.

genvid.toolbox.HttpErrorNotFound

A not found HTTP error.

genvid.toolbox.HttpErrorBadGateway

A bad gateway HTTP error.

genvid.toolbox.InvalidInstallationFolderError

Exception thrown if the installation folder is invalid.

genvid.toolbox.NoSuchBucketError

Customized Exception when bucket does not exists.

genvid.toolbox.ServiceIsNotRunningError

Raise when a service is not running.

genvid.toolbox.TerraformCommandError

Error returns on a Terraform command.

Basic Tools

genvid.toolbox.AWSTool

Utilities to access and manipulate AWS resources.

genvid.toolbox.BaseHttpApiTool

This is the base class for the HTTP API.

genvid.toolbox.BaseTool

Base class for all tools.

genvid.toolbox.BastionAPI

Client for the Bastion API.

genvid.toolbox.BastionTool

A tool for seting up and managing a local Bastion.

genvid.toolbox.ClusterAPI

Handles the communication with a cluster.

genvid.toolbox.Clusters

Base class to manage clusters.

genvid.toolbox.ConsulTemplateTool

Wrapper around ConsulTemplate to integrate with the toolbox.

genvid.toolbox.ConsulTool

This class allows you to access different Consul services.

genvid.toolbox.DockerTool

Handle manipulation of Docker image archives.

genvid.toolbox.JobsAPI

The jobs api.

genvid.toolbox.LinksAPI

The links api.

genvid.toolbox.LogsAPI

The logs api.

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

A ServiceTool for configuring docker on a Linux server.

genvid.toolbox.LinuxConsulService

Configure Consul as a service on a Linux server.

genvid.toolbox.LinuxNomadService

Configure Nomad as a service on a Linux server.

genvid.toolbox.LinuxServiceInstaller

Install the supervisor services on a Linux server.

genvid.toolbox.LinuxVaultService

Configure Vault as a service on a Linux server.

genvid.toolbox.SystemdTool

Base ServiceTool for Linux servers under systemd.

genvid.toolbox.SystemdInstaller

Base ServiceInstaller for LinuxServiceInstaller under systemd.

Services: Installation Tools

genvid.toolbox.DefaultInstallationFolder

Abstract class to manage the installation folder.

genvid.toolbox.SDKInstallationFolder

Class to manage the Genvid MILE SDK installation folder.

genvid.toolbox.ToolboxInstallationFolder

Class to manage the Genvid MILE SDK installation folder.

Other classes

genvid.toolbox.AzureTool

Utilities to access and manipulate Azure resources.

genvid.toolbox.AzureImageAPI

Class that contains the business logic for manipulations with source game images in Azure.

genvid.toolbox.AzureStorageAccount

Utilities to create and manipulate Azure Storage Account.

genvid.toolbox.Backup

API to create backup archives and restore data from them.

genvid.toolbox.CertificateGenerator

Class that contains the business logic for managing ssl certificates using Vault pki engine.

genvid.toolbox.ConsulBackup

Logic to backup and restore Consul's state.

genvid.toolbox.ConsulTemplate

Thin wrapper API around consul-template.

genvid.toolbox.ConsulTemplateOutput

Object returned by successful executions of consul-template.

genvid.toolbox.FileStats

A structure containing the basic information about a file.

genvid.toolbox.FileSyncFolder

An implementation of SyncFolder for a local folder.

genvid.toolbox.Manifest

genvid.toolbox.PackageArchiver

This class is grouping the functions for creating a package suitable to be used as an artifact in Nomad.

genvid.toolbox.Profile

API for manipulating profiles.

genvid.toolbox.S3SyncFolder

An implementation of SyncFolder using S3.

genvid.toolbox.SyncComparisonMode

An enum.Enum of how to validate if a file has been modified or not.

genvid.toolbox.SyncFolder

genvid.toolbox.TerraformBackup

Logic to backup and restore Terraform's state.

genvid.toolbox.TerraformProvider

Class representing a Terraform provider configuration.

genvid.toolbox.VaultBackup

Logic to backup and restore Vault's state.

genvid.toolbox.VersionBackup

Logic to backup the SDK version.

genvid.toolbox.ZipSyncFolder

An implementation of SyncFolder for a read-only zip archives.

Deprecated Tools

Warning

These modules have been deprecated. Although they still work for our oldest version, they aren’t 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 allows the configuration of a cluster.

genvid.toolbox.ConfigurationLoader

This class provides methods to load or update configurations described by templates.

genvid.toolbox.ConfigTool

Manage Genvid configuration.

genvid.toolbox.ConsulTemplateLegacyTool

A wrapper over consul-template that generates files from variables set in Consul, Vault, or from the environment.

genvid.toolbox.DockerPackage

Deprecated since version 1.30.0.

genvid.toolbox.EventsTool

Tool that manages events configuration.

genvid.toolbox.Package

Deprecated since version 1.28.0.

genvid.toolbox.PackageFactory

Deprecated since version 1.30.0.

genvid.toolbox.ProjectTool

Tool for managing project files.

genvid.toolbox.RuntimeTool

Common tool for managing the different environments.

genvid.toolbox.SDK

Common commands for setting up the SDK.

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):