Factory#
- class phalanx.factory.Factory(path)#
Bases:
object
Factory to create Phalanx components.
- Parameters:
path (
Path
) – Path to the root of the Phalanx configuration tree.
Methods Summary
Create service for manipulating Phalanx applications.
Create storage layer for the Phalanx configuration.
Create service for manipulating Phalanx environments.
Create storage object for interacting with Kubernetes.
Create storage object for interacting with 1Password.
Create service for manipulating Phalanx secrets.
Create service for managing Vault tokens and policies.
Methods Documentation
- create_application_service()#
Create service for manipulating Phalanx applications.
- Returns:
Service for manipulating applications.
- Return type:
- create_config_storage()#
Create storage layer for the Phalanx configuration.
- Returns:
Storage service for loading the Phalanx configuration.
- Return type:
- create_environment_service()#
Create service for manipulating Phalanx environments.
- Returns:
Service for manipulating environments.
- Return type:
- create_kubernetes_storage()#
Create storage object for interacting with Kubernetes.
- Returns:
Storage object for interacting with Kubernetes.
- Return type:
- create_onepassword_storage()#
Create storage object for interacting with 1Password.
- Returns:
Storage object for interacting with 1Password.
- Return type:
- create_secrets_service()#
Create service for manipulating Phalanx secrets.
- Returns:
Service for manipulating secrets.
- Return type:
- create_vault_service()#
Create service for managing Vault tokens and policies.
- Returns:
Service for managing Vault tokens and policies.
- Return type: