Internals#
This documentation of the internal implementation details of Phalanx is intended primarily for people doing development on the Phalanx infrastructure itself, as opposed to a Phalanx application or environment. Most users of Phalanx and administrators of Phalanx environments do not need to know this information.
- JSON schema
- Phalanx internal API
- phalanx Package
- phalanx.constants Module
- phalanx.docs.crossref Module
- phalanx.docs.jinja Module
- phalanx.exceptions Module
- Classes
- ApplicationExistsError
- HelmFailedError
- InvalidApplicationConfigError
- InvalidEnvironmentConfigError
- InvalidSecretConfigError
- MalformedOnepasswordSecretError
- MissingOnepasswordSecretsError
- NoOnepasswordConfigError
- NoOnepasswordCredentialsError
- UnknownEnvironmentError
- UnresolvedSecretsError
- VaultNotFoundError
- Class Inheritance Diagram
- Classes
- phalanx.factory Module
- phalanx.models.applications Module
- Classes
- Application
- ApplicationConfig
ApplicationConfig
ApplicationConfig.chart
ApplicationConfig.doc_links
ApplicationConfig.environment_secrets
ApplicationConfig.environment_values
ApplicationConfig.name
ApplicationConfig.namespace
ApplicationConfig.secrets
ApplicationConfig.values
ApplicationConfig.homepage
ApplicationConfig.model_computed_fields
ApplicationConfig.source_urls
- ApplicationInstance
- DocLink
- Class Inheritance Diagram
- Classes
- phalanx.models.environments Module
- Classes
- ControlSystemConfig
ControlSystemConfig
ControlSystemConfig.app_namespace
ControlSystemConfig.image_tag
ControlSystemConfig.kafka_broker_address
ControlSystemConfig.kafka_topic_replication_factor
ControlSystemConfig.s3_endpoint_url
ControlSystemConfig.schema_registry_url
ControlSystemConfig.site_tag
ControlSystemConfig.topic_name
ControlSystemConfig.model_dump()
ControlSystemConfig.model_dump_json()
ControlSystemConfig.model_computed_fields
- Environment
Environment
Environment.applications
Environment.butler_repository_index
Environment.butler_server_repositories
Environment.control_system
Environment.fqdn
Environment.gcp
Environment.name
Environment.onepassword
Environment.vault_path_prefix
Environment.vault_url
Environment.all_applications()
Environment.all_secrets()
Environment.model_dump()
Environment.model_dump_json()
Environment.model_computed_fields
Environment.vault_path
Environment.vault_read_approle
Environment.vault_read_policy
Environment.vault_write_policy
Environment.vault_write_token
- EnvironmentBaseConfig
EnvironmentBaseConfig
EnvironmentBaseConfig.butler_repository_index
EnvironmentBaseConfig.butler_server_repositories
EnvironmentBaseConfig.control_system
EnvironmentBaseConfig.fqdn
EnvironmentBaseConfig.gcp
EnvironmentBaseConfig.name
EnvironmentBaseConfig.onepassword
EnvironmentBaseConfig.vault_path_prefix
EnvironmentBaseConfig.vault_url
EnvironmentBaseConfig.model_dump()
EnvironmentBaseConfig.model_dump_json()
EnvironmentBaseConfig.model_computed_fields
EnvironmentBaseConfig.vault_path
EnvironmentBaseConfig.vault_read_approle
EnvironmentBaseConfig.vault_read_policy
EnvironmentBaseConfig.vault_write_policy
EnvironmentBaseConfig.vault_write_token
- EnvironmentConfig
EnvironmentConfig
EnvironmentConfig.applications
EnvironmentConfig.butler_repository_index
EnvironmentConfig.butler_server_repositories
EnvironmentConfig.control_system
EnvironmentConfig.fqdn
EnvironmentConfig.gcp
EnvironmentConfig.name
EnvironmentConfig.onepassword
EnvironmentConfig.repo_url
EnvironmentConfig.target_revision
EnvironmentConfig.vault_path_prefix
EnvironmentConfig.vault_url
EnvironmentConfig.model_dump()
EnvironmentConfig.model_dump_json()
EnvironmentConfig.enabled_applications
EnvironmentConfig.model_computed_fields
EnvironmentConfig.vault_path
EnvironmentConfig.vault_read_approle
EnvironmentConfig.vault_read_policy
EnvironmentConfig.vault_write_policy
EnvironmentConfig.vault_write_token
- EnvironmentDetails
EnvironmentDetails
EnvironmentDetails.applications
EnvironmentDetails.argocd_rbac
EnvironmentDetails.argocd_url
EnvironmentDetails.butler_repository_index
EnvironmentDetails.butler_server_repositories
EnvironmentDetails.control_system
EnvironmentDetails.fqdn
EnvironmentDetails.gafaelfawr_scopes
EnvironmentDetails.gcp
EnvironmentDetails.identity_provider
EnvironmentDetails.name
EnvironmentDetails.onepassword
EnvironmentDetails.vault_path_prefix
EnvironmentDetails.vault_url
EnvironmentDetails.model_dump()
EnvironmentDetails.model_dump_json()
EnvironmentDetails.argocd_rbac_csv
EnvironmentDetails.model_computed_fields
EnvironmentDetails.vault_path
EnvironmentDetails.vault_read_approle
EnvironmentDetails.vault_read_policy
EnvironmentDetails.vault_write_policy
EnvironmentDetails.vault_write_token
- GCPMetadata
- GafaelfawrGitHubGroup
- GafaelfawrGitHubTeam
- GafaelfawrScope
- IdentityProvider
- OnepasswordConfig
- PhalanxConfig
- ControlSystemConfig
- Class Inheritance Diagram
- Classes
- phalanx.models.gafaelfawr Module
- phalanx.models.helm Module
- phalanx.models.secrets Module
- Classes
- ConditionalMixin
- ConditionalSecretConfig
- ConditionalSecretCopyRules
- ConditionalSimpleSecretGenerateRules
- ConditionalSourceSecretGenerateRules
- PullSecret
- RegistryPullSecret
- ResolvedSecrets
- Secret
- SecretConfig
- SecretCopyRules
- SecretGenerateType
- SecretOnepasswordConfig
- SimpleSecretGenerateRules
- SourceSecretGenerateRules
- StaticSecret
- StaticSecrets
- Variables
- Class Inheritance Diagram
- Classes
- phalanx.models.vault Module
- phalanx.services.application Module
- phalanx.services.environment Module
- phalanx.services.secrets Module
- phalanx.services.vault Module
- phalanx.storage.config Module
- Classes
- ConfigStorage
ConfigStorage
ConfigStorage.add_application_setting()
ConfigStorage.get_all_dependency_repositories()
ConfigStorage.get_application_chart_path()
ConfigStorage.get_application_environments()
ConfigStorage.get_dependency_repositories()
ConfigStorage.get_environment_chart_path()
ConfigStorage.get_modified_applications()
ConfigStorage.get_starter_path()
ConfigStorage.list_application_environments()
ConfigStorage.list_applications()
ConfigStorage.list_environments()
ConfigStorage.load_environment()
ConfigStorage.load_environment_config()
ConfigStorage.load_phalanx_config()
ConfigStorage.update_shared_chart_version()
ConfigStorage.write_application_template()
- ConfigStorage
- Class Inheritance Diagram
- Classes
- phalanx.storage.helm Module
- phalanx.storage.onepassword Module
- phalanx.storage.vault Module
- Classes
- VaultClient
VaultClient
VaultClient.create_approle()
VaultClient.create_policy()
VaultClient.create_token()
VaultClient.delete_application_secret()
VaultClient.get_application_secret()
VaultClient.get_approle()
VaultClient.get_environment_secrets()
VaultClient.get_policy()
VaultClient.get_token()
VaultClient.list_application_secrets()
VaultClient.list_token_accessors()
VaultClient.revoke_approle_secret_ids()
VaultClient.revoke_token()
VaultClient.store_application_secret()
VaultClient.update_application_secret()
- VaultStorage
- VaultClient
- Class Inheritance Diagram
- Classes
- phalanx.yaml Module