internal/

directory
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2026 License: Apache-2.0

Directories

Path Synopsis
Package artifacts orchestrates the ocfp-artifacts VM (RustFS S3 blobstore).
Package artifacts orchestrates the ocfp-artifacts VM (RustFS S3 blobstore).
Package bastion orchestrates bastion host initialization and provisioning.
Package bastion orchestrates bastion host initialization and provisioning.
deployments
Package deployments resolves deployment modes and paths for bastion provisioning.
Package deployments resolves deployment modes and paths for bastion provisioning.
providers
Package providers implements cloud provider-specific bastion initialization.
Package providers implements cloud provider-specific bastion initialization.
provision
Package provision handles bastion provisioning script generation and configuration.
Package provision handles bastion provisioning script generation and configuration.
ssh
Package ssh provides SSH client operations for bastion host communication.
Package ssh provides SSH client operations for bastion host communication.
test
Package test provides test helpers and mock implementations for bastion tests.
Package test provides test helpers and mock implementations for bastion tests.
Package blocinv builds the inventory of blocs the CLI knows about.
Package blocinv builds the inventory of blocs the CLI knows about.
Package bootstrap handles infrastructure bootstrapping operations for OCFP environments.
Package bootstrap handles infrastructure bootstrapping operations for OCFP environments.
Package cli implements the root command and subcommand registration for the OCFP CLI.
Package cli implements the root command and subcommand registration for the OCFP CLI.
Package commands implements the CLI command handlers for OCFP operations.
Package commands implements the CLI command handlers for OCFP operations.
Package config handles OCFP CLI configuration file loading, validation, and bloc management.
Package config handles OCFP CLI configuration file loading, validation, and bloc management.
cpi
Package cpi provides the cloud provider interface abstraction layer.
Package cpi provides the cloud provider interface abstraction layer.
aws
Package aws implements the CPI provider for Amazon Web Services.
Package aws implements the CPI provider for Amazon Web Services.
azure
Package azure implements the CPI provider for Microsoft Azure.
Package azure implements the CPI provider for Microsoft Azure.
gcp
Package gcp implements the CPI provider for Google Cloud Platform.
Package gcp implements the CPI provider for Google Cloud Platform.
ownedvm
Package ownedvm finds a VM by name among those that carry a bloc's ownership tags, whichever provider holds it.
Package ownedvm finds a VM by name among those that carry a bloc's ownership tags, whichever provider holds it.
pve
Package pve implements the CPI provider for Proxmox Virtual Environment.
Package pve implements the CPI provider for Proxmox Virtual Environment.
stackit
Package stackit implements the CPI provider for STACKIT cloud.
Package stackit implements the CPI provider for STACKIT cloud.
Package exec provides subprocess helpers that keep secrets out of argv.
Package exec provides subprocess helpers that keep secrets out of argv.
Package jobexec runs jobs on a bastion for the instance that owns the bloc.
Package jobexec runs jobs on a bastion for the instance that owns the bloc.
Package keyfile reads, writes, and protects the key files of an inception vault: the root token in root.key, the unseal key, and the copy of the root token that safe holds for the bloc's own target.
Package keyfile reads, writes, and protects the key files of an inception vault: the root token in root.key, the unseal key, and the copy of the root token that safe holds for the bloc's own target.
Package knownhostsguard fails a test run that changes the developer's own known_hosts file.
Package knownhostsguard fails a test run that changes the developer's own known_hosts file.
Package logger provides structured file-based logging for the OCFP CLI using zap.
Package logger provides structured file-based logging for the OCFP CLI using zap.
Package netlayout defines the reserved-IP layout strategy abstraction shared by Layer A (bootstrap subnet carving) and Layer B (vault reserved-ips population).
Package netlayout defines the reserved-IP layout strategy abstraction shared by Layer A (bootstrap subnet carving) and Layer B (vault reserved-ips population).
Package output provides a multi-mode output rendering system for CLI operations.
Package output provides a multi-mode output rendering system for CLI operations.
Package ownerrecord defines the owner record, a controller lock that names the one managing system allowed to act on a bloc, and its signed form.
Package ownerrecord defines the owner record, a controller lock that names the one managing system allowed to act on a bloc, and its signed form.
ownerrecordtest
Package ownerrecordtest holds golden signed owner records for tests and the published test key that signs them.
Package ownerrecordtest holds golden signed owner records for tests and the published test key that signs them.
Package precompile populates the artifacts blobstore with compiled BOSH release tarballs and emits ops files that pin deployment releases to those tarballs, so create-env and CF deploys skip source compilation.
Package precompile populates the artifacts blobstore with compiled BOSH release tarballs and emits ops files that pin deployment releases to those tarballs, so create-env and CF deploys skip source compilation.
Package progress writes and reads the progress stream that a long-running ocfp command produces, one JSON object per line.
Package progress writes and reads the progress stream that a long-running ocfp command produces, one JSON object per line.
progresstest
Package progresstest holds golden progress streams for tests.
Package progresstest holds golden progress streams for tests.
Package providers defines interfaces and base types for cloud provider vault operations.
Package providers defines interfaces and base types for cloud provider vault operations.
pve
capacity
Package capacity resolves PVE cloud-config capacity values (workers, cf_max_in_flight) using a three-level priority chain per Decision D1:
Package capacity resolves PVE cloud-config capacity values (workers, cf_max_in_flight) using a three-level priority chain per Decision D1:
netvalidate
Package netvalidate detects mismatch between a BOSH director network CIDR and a CF cloud-config CIDR.
Package netvalidate detects mismatch between a BOSH director network CIDR and a CF cloud-config CIDR.
opsfiles
Package opsfiles embeds PVE-specific BOSH ops files and writes them to the bastion deployments ops directory during `ocfp init pve`.
Package opsfiles embeds PVE-specific BOSH ops files and writes them to the bastion deployments ops directory during `ocfp init pve`.
probes
Package probes provides a pre-deploy probe framework for PVE BOSH director environments.
Package probes provides a pre-deploy probe framework for PVE BOSH director environments.
stemcell
Package stemcell provides idempotent BOSH stemcell upload helpers for PVE environments.
Package stemcell provides idempotent BOSH stemcell upload helpers for PVE environments.
verify
Package verify provides out-of-band PVE REST API predicates independent of the CPI RPC channel.
Package verify provides out-of-band PVE REST API predicates independent of the CPI RPC channel.
Package recycle replaces a VM's operating system while carrying its persistent data disk across to the replacement.
Package recycle replaces a VM's operating system while carrying its persistent data disk across to the replacement.
Package reservedip computes per-tier reserved IP addresses for a subnet from its CIDR plus a static per-envType assignment table.
Package reservedip computes per-tier reserved IP addresses for a subnet from its CIDR plus a static per-envType assignment table.
Package safedir checks that no other user can change a path, so that a file under it can be trusted for what it says.
Package safedir checks that no other user can change a path, so that a file under it can be trusted for what it says.
Package security provides path validation, input sanitization, and shell metacharacter detection.
Package security provides path validation, input sanitization, and shell metacharacter detection.
Package state manages OCFP bloc state persistence, backup, reconciliation, and resource tracking.
Package state manages OCFP bloc state persistence, backup, reconciliation, and resource tracking.
Package strictjson decodes a JSON object only when every reader would read it the same way.
Package strictjson decodes a JSON object only when every reader would read it the same way.
Package testenv gives a test binary a home of its own.
Package testenv gives a test binary a home of its own.
Package ui provides terminal user interface components for the OCFP CLI.
Package ui provides terminal user interface components for the OCFP CLI.
Package vault provides Vault integration for secret management, initialization, migration, and cloud provider-specific vault configuration operations.
Package vault provides Vault integration for secret management, initialization, migration, and cloud provider-specific vault configuration operations.
Package vaultboot renders the systemd unit that brings a bloc's inception vault back when a bastion boots, and names the per-bloc instance of it.
Package vaultboot renders the systemd unit that brings a bloc's inception vault back when a bastion boots, and names the per-bloc instance of it.
Package version provides build and version information for the OCFP CLI.
Package version provides build and version information for the OCFP CLI.
Package writeguard stops a test process from writing under the developer's real ocfp directories.
Package writeguard stops a test process from writing under the developer's real ocfp directories.

Jump to

Keyboard shortcuts

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