internal/

directory
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2026 License: MIT

Directories

Path Synopsis
Package budgets is the Cloud Billing Budgets API as bedrock uses it: the budgets of one billing account, listed, made and brought to the amount a placement names (org.Budget).
Package budgets is the Cloud Billing Budgets API as bedrock uses it: the budgets of one billing account, listed, made and brought to the amount a placement names (org.Budget).
Package check compares a committed application stack with what the code declares: it renders the stack afresh and reports every owned file whose committed content differs, which is the drift between the code and the infrastructure.
Package check compares a committed application stack with what the code declares: it renders the stack afresh and reports every owned file whose committed content differs, which is the drift between the code and the infrastructure.
Package cli is the command tree of the bedrock tool.
Package cli is the command tree of the bedrock tool.
Package create is how a root organization creates a hosting organization from its apply trigger's run (README.md, "Creating a hosting organization"): for each hosting organization placement.json records without a folder yet, the run, as the root organization's creating identity, makes under a new folder what the first applies need and runs them (nothing of a hosting organization is made by hand), pushes the rendered repository, takes its own creator grants off, and hands the organization off with a pull request that records its folder.
Package create is how a root organization creates a hosting organization from its apply trigger's run (README.md, "Creating a hosting organization"): for each hosting organization placement.json records without a folder yet, the run, as the root organization's creating identity, makes under a new folder what the first applies need and runs them (nothing of a hosting organization is made by hand), pushes the rendered repository, takes its own creator grants off, and hands the organization off with a pull request that records its folder.
createtest
Package createtest is a stand-in for the creation's Google seam: what the creation asks Google Cloud, answered from memory and recorded, so a test can read what a creation made and granted, and start from an organization half made.
Package createtest is a stand-in for the creation's Google seam: what the creation asks Google Cloud, answered from memory and recorded, so a test can read what a creation made and granted, and start from an organization half made.
Package deploy is the deploy sequence as commands: each step of the pipeline (the deployment record first; the others follow) over the same inputs, the facts the pipeline's resolve step writes to the workspace and the build's own substitutions, so a pipeline file composes them and an application with nothing custom lists them all.
Package deploy is the deploy sequence as commands: each step of the pipeline (the deployment record first; the others follow) over the same inputs, the facts the pipeline's resolve step writes to the workspace and the build's own substitutions, so a pipeline file composes them and an application with nothing custom lists them all.
Package derive turns what impulse's reader reports about an application, plus a placement, into the application's infrastructure model: the processes that run, the configuration levels they construct, every environment variable by level with where a running process gets its value, the secrets among them, the auths with their login callback, and the database and schema the migration owns.
Package derive turns what impulse's reader reports about an application, plus a placement, into the application's infrastructure model: the processes that run, the configuration levels they construct, every environment variable by level with where a running process gets its value, the secrets among them, the auths with their login callback, and the database and schema the migration owns.
Package domain puts a domain registration into the placement of the network layer, where the layer's domains.tf registers it through Cloud Domains.
Package domain puts a domain registration into the placement of the network layer, where the layer's domains.tf registers it through Cloud Domains.
Package gitcmd runs git in a repository for the commands that read the committed state beside the working tree: the default branch's ref, a file as the branch holds it, the tracked files under a directory, and a rename the index follows.
Package gitcmd runs git in a repository for the commands that read the committed state beside the working tree: the default branch's ref, a file as the branch holds it, the tracked files under a directory, and a rename the index follows.
Package github is the small GitHub REST client bedrock needs: the organization's installed apps, its Actions secrets, its rulesets and its policy on immutable releases, a repository's rulesets, its refs, tags, comparisons and directory listings, whether it is empty, its workflows, the check runs on a commit, its deployment environments, its issues, its pull requests with their comments and deployments, and a GitHub App's installation token.
Package github is the small GitHub REST client bedrock needs: the organization's installed apps, its Actions secrets, its rulesets and its policy on immutable releases, a repository's rulesets, its refs, tags, comparisons and directory listings, whether it is empty, its workflows, the check runs on a commit, its deployment environments, its issues, its pull requests with their comments and deployments, and a GitHub App's installation token.
githubtest
Package githubtest is a GitHub API stand-in for tests: in-memory organizations with their installed apps, Actions secrets and rulesets, and one or more repositories with rulesets, refs, tags, check runs, environments and issues, served over httptest so the real client speaks to it unchanged.
Package githubtest is a GitHub API stand-in for tests: in-memory organizations with their installed apps, Actions secrets and rulesets, and one or more repositories with rulesets, refs, tags, check runs, environments and issues, served over httptest so the real client speaks to it unchanged.
Package hook names the stages of the deploy sequence where an application's own work runs, and where that work is found.
Package hook names the stages of the deploy sequence where an application's own work runs, and where that work is found.
Package layers plans and applies the organization's layers from the Cloud Build triggers 0-bootstrap renders: bedrock org plan on the plan trigger, on a pull request, and bedrock org apply on the apply trigger, on a push to the default branch or started by hand for one layer.
Package layers plans and applies the organization's layers from the Cloud Build triggers 0-bootstrap renders: bedrock org plan on the plan trigger, on a pull request, and bedrock org apply on the apply trigger, on a push to the default branch or started by hand for one layer.
Package migration renumbers a branch's own schema migrations.
Package migration renumbers a branch's own schema migrations.
Package org renders an organization foundation: the six layers of the CCC provisioning model (the bootstrap, the organization, the shared registry, the shared Spanner instance, the network, and the environments) from an organization placement, the way the application stack is rendered from an application; or, for a root organization (zones.go), the bootstrap and the one layer that holds its DNS zones.
Package org renders an organization foundation: the six layers of the CCC provisioning model (the bootstrap, the organization, the shared registry, the shared Spanner instance, the network, and the environments) from an organization placement, the way the application stack is rendered from an application; or, for a root organization (zones.go), the bootstrap and the one layer that holds its DNS zones.
Package patch starts a patch line: the branch patch/<major>.<minor>.x at the commit of a release on the default branch, on which fixes are released by release-please as the line's next patch versions.
Package patch starts a patch line: the branch patch/<major>.<minor>.x at the commit of a release on the default branch, on which fixes are released by release-please as the line's next patch versions.
Package prompt asks a person at the terminal for what the command line left out: the question is printed with the choices, one line is read back, and a line that answers nothing has the question asked again, a few times, before the command gives up.
Package prompt asks a person at the terminal for what the command line left out: the question is printed with the choices, one line is read back, and a line that answers nothing has the question asked again, a few times, before the command gives up.
Package release is bedrock's own distribution: where a copy of the tool comes from, what it is made of, and how it is fetched and verified.
Package release is bedrock's own distribution: where a copy of the tool comes from, what it is made of, and how it is fetched and verified.
Package render writes an application stack from the derived model: every file the stack is made of, rendered from an embedded template, and which of them the tool owns.
Package render writes an application stack from the derived model: every file the stack is made of, rendered from an embedded template, and which of them the tool owns.
Package root is the root organization's engine: the one organization made by hand, by bedrock org bootstrap, and kept true by its triggers' runs with no terraform.
Package root is the root organization's engine: the one organization made by hand, by bedrock org bootstrap, and kept true by its triggers' runs with no terraform.
roottest
Package roottest is a stand-in for the root engine's Google seams: secrets, zones, Cloud Build, IAM and the lock, answered from memory and recorded, so a test can read what an apply made and start from an organization that stands in part.
Package roottest is a stand-in for the root engine's Google seams: secrets, zones, Cloud Build, IAM and the lock, answered from memory and recorded, so a test can read what an apply made and start from an organization that stands in part.
Package secret pins the version of a secret an environment runs.
Package secret pins the version of a secret an environment runs.
Package where finds, for a command run from anywhere inside a repository with nothing typed, what the command line used to spell out: the repository, its infrastructure root, the application layer, the environments the layer pins secrets for, the secret variables the application declares, and, in Google Cloud, the environment project, the secret container and its versions.
Package where finds, for a command run from anywhere inside a repository with nothing typed, what the command line used to spell out: the repository, its infrastructure root, the application layer, the environments the layer pins secrets for, the secret variables the application declares, and, in Google Cloud, the environment project, the secret container and its versions.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL