Expand description
Stripe Projects orchestration: project anchor, per-instance environments, resource add/remove, env materialization, and spend reporting.
Structs§
- Added
Resource - Result of
add_resource: the Stripe local name that was env-attached and theprojects addpayload (null on reuse).
Constants§
- INIT_
PREFLIGHT_ FLAGS - Shared flags for
init --preflight(doctor prefixesprojects/--json;run_init_preflightusesstripe.jsonwhich supplies those).
Functions§
- add_
resource - delete_
environment - ensure_
environment - ensure_
project - find_
env_ value - merge_
env_ lines - Parse
KEY=VALUElines intoout(comments and blank lines skipped). - project_
initialized_ in_ dir - Whether
.projects/exists underdefinition_dir(created byinit). Vault pull before firstupmust skip until this exists. - pull_
env_ value - pull_
env_ values - Pull the instance’s env once and read several keys from it, returning one
Option<String>per key in input order. Values are read from on-disk vault files afterenv --pull— the plugin still redacts values in JSON at 0.23.0. - recorded_
project_ id - The recorded Stripe Projects anchor from
[stack.projects.stripe].project. - refreshed_
env_ value - remove_
resource - resolve_
registered_ resource - Resolve an existing service/plan to reuse (exact name, else catalog
service_id), always scoped to the provider inreference. - resource_
registered - Whether a service or plan with this exact local name is already on the project.
- run_
init_ preflight - Run
init --preflightbefore project creation so auth/eligibility blockers surface once instead of mid-init. Uses the same consent flags as realinit. - set_
spend_ cap - spend_
summary - sync_
vault_ pull_ for_ instance - Select the target instance environment, then refresh its vault files.
- unquote_
env_ value - vault_
env_ from_ dir - Read env keys from pulled vault files. Scans
.envthen.env.<instance>(instance overrides base). Does not call the Stripe CLI. - write_
project_ anchor