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
- CommandFailedError
- CommandTimedOutError
- GitRemoteError
- InvalidApplicationConfigError
- InvalidEnvironmentConfigError
- InvalidSecretConfigError
- MalformedOnepasswordSecretError
- MissingOnepasswordSecretsError
- NoOnepasswordConfigError
- NoOnepasswordCredentialsError
- UnknownEnvironmentError
- UnresolvedSecretsError
- VaultNotFoundError
- Class Inheritance Diagram
- Classes
- phalanx.factory Module
- phalanx.github 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.project
ApplicationConfig.secrets
ApplicationConfig.values
ApplicationConfig.homepage
ApplicationConfig.source_urls
- ApplicationInstance
- DocLink
- Project
- Class Inheritance Diagram
- Classes
- phalanx.models.environments Module
- Classes
- ControlSystemConfig
- Environment
Environment
Environment.app_of_apps_name
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.vault_path
Environment.vault_read_approle
Environment.vault_read_policy
Environment.vault_write_policy
Environment.vault_write_token
- EnvironmentBaseConfig
EnvironmentBaseConfig
EnvironmentBaseConfig.app_of_apps_name
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.vault_path
EnvironmentBaseConfig.vault_read_approle
EnvironmentBaseConfig.vault_read_policy
EnvironmentBaseConfig.vault_write_policy
EnvironmentBaseConfig.vault_write_token
- EnvironmentConfig
EnvironmentConfig
EnvironmentConfig.app_of_apps_name
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.enabled_applications
EnvironmentConfig.vault_path
EnvironmentConfig.vault_read_approle
EnvironmentConfig.vault_read_policy
EnvironmentConfig.vault_write_policy
EnvironmentConfig.vault_write_token
- EnvironmentDetails
EnvironmentDetails
EnvironmentDetails.app_of_apps_name
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.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
- 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.argocd Module
- phalanx.storage.command 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_git_branch()
ConfigStorage.get_git_url()
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.kubernetes Module
- phalanx.storage.onepassword Module
- phalanx.storage.vault Module
- Classes
- VaultClient
VaultClient
VaultClient.url
VaultClient.path
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