ApplicationService#

class phalanx.services.application.ApplicationService(path, config_storage, helm_storage)#

Bases: object

Service for manipulating Phalanx applications.

Parameters:
  • path (Path) – Root path to the Phalanx directory structure.

  • config_storage (ConfigStorage) – Storage object for the Phalanx configuration.

  • helm_storage (HelmStorage) – Interface to Helm actions.

Methods Summary

create_application(name, starter, description)

Create configuration for a new application.

Methods Documentation

create_application(name, starter, description)#

Create configuration for a new application.

Parameters:
  • name (str) – Name of the application.

  • starter (HelmStarter) – Name of the Helm starter to use as the template for the application.

  • description (str) – Short description of the application.

Raises:

ApplicationExistsError – Raised if the application being created already exists.

Return type:

None