internal/

directory
v0.0.0-...-b5d3dca Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2026 License: Apache-2.0

Directories

Path Synopsis
app
auth
Package auth provides authentication functionality for divekit commands
Package auth provides authentication functionality for divekit commands
config/explain
Package explain contains CLI handlers for explaining configuration schemas.
Package explain contains CLI handlers for explaining configuration schemas.
detectionoutput
Package detectionoutput contains shared console rendering for token and variation detection results.
Package detectionoutput contains shared console rendering for token and variation detection results.
dev
Package dev implements the dev command functionality
Package dev implements the dev command functionality
distributions/actionexec
Package actionexec executes persisted distribution actions for the GUI.
Package actionexec executes persisted distribution actions for the GUI.
distributions/actionmode
Package actionmode centralizes provider and dry-run mode normalization for distribution actions.
Package actionmode centralizes provider and dry-run mode normalization for distribution actions.
distributions/detail
Package detail exposes the distribution detail flow to the app layer.
Package detail exposes the distribution detail flow to the app layer.
distributions/distcommon
Package distcommon provides shared distribution loading types and helpers.
Package distcommon provides shared distribution loading types and helpers.
distributions/distribute
Package distribute implements the distribute command functionality
Package distribute implements the distribute command functionality
distributions/distribute/progress
Package progress provides progress tracking functionality for repository deletion operations using bubble tea UI components.
Package progress provides progress tracking functionality for repository deletion operations using bubble tea UI components.
distributions/distribute/ui
Package ui provides output formatting and rendering utilities for the distribute command, including URL styling, warning boxes, and path utilities.
Package ui provides output formatting and rendering utilities for the distribute command, including URL styling, warning boxes, and path utilities.
distributions/feedback
Package feedback manages manually authored report feedback for distributions.
Package feedback manages manually authored report feedback for distributions.
distributions/globallist
Package globallist exposes the global distribution list flow to the app layer.
Package globallist exposes the global distribution list flow to the app layer.
distributions/list
Package list exposes the per-origin distribution list flow to the app layer.
Package list exposes the per-origin distribution list flow to the app layer.
distributions/members
Package members exposes the member configuration flow to the app layer.
Package members exposes the member configuration flow to the app layer.
distributions/overview
Package overview implements the overview command functionality
Package overview implements the overview command functionality
distributions/patch
Package patch implements the patch command functionality
Package patch implements the patch command functionality
distributions/purge
Package purge provides CLI handlers for deleting distributed repositories.
Package purge provides CLI handlers for deleting distributed repositories.
distributions/repositories
Package repositories exposes the distribution repository listing flow to the app layer.
Package repositories exposes the distribution repository listing flow to the app layer.
distributions/role
Package role provides error types for role-related operations.
Package role provides error types for role-related operations.
doctor
Package doctor exposes the environment doctor flow to the app layer.
Package doctor exposes the environment doctor flow to the app layer.
fetch
Package fetch implements the fetch command functionality
Package fetch implements the fetch command functionality
index
Package index provides application-level helpers around the project index.
Package index provides application-level helpers around the project index.
index/add
Package add provides error types for the index add command.
Package add provides error types for the index add command.
index/refresh
Package refresh defines typed errors for the index refresh command.
Package refresh defines typed errors for the index refresh command.
index/search
Package search contains logic used by the interactive and non-interactive search commands, including config loading, action execution, and error handling.
Package search contains logic used by the interactive and non-interactive search commands, including config loading, action execution, and error handling.
initialize
Package initialize provides error types for the initialize command.
Package initialize provides error types for the initialize command.
inject
Package inject provides error types for the inject app flow.
Package inject provides error types for the inject app flow.
install
Package install provides error handling functionality for the divekit installation process.
Package install provides error handling functionality for the divekit installation process.
origins/list
Package list exposes the origin listing flow to the app layer.
Package list exposes the origin listing flow to the app layer.
origins/refresh
Package refresh exposes the origin index refresh flow to the app layer.
Package refresh exposes the origin index refresh flow to the app layer.
origins/remove
Package remove exposes the origin removal flow to the app layer.
Package remove exposes the origin removal flow to the app layer.
origins/set
Package set exposes the origin update flow to the app layer.
Package set exposes the origin update flow to the app layer.
origins/show
Package show exposes the origin show flow to the app layer.
Package show exposes the origin show flow to the app layer.
passcheck
Package passcheck provides functionality for checking and displaying pass/fail results for distributions.
Package passcheck provides functionality for checking and displaying pass/fail results for distributions.
plugin
Package plugin provides errors for evaluation-pipeline plugin management.
Package plugin provides errors for evaluation-pipeline plugin management.
report
Package report normalizes imported test reports for legacy Divekit exports.
Package report normalizes imported test reports for legacy Divekit exports.
run
Package run provides functionality for executing scripts in the divekit context.
Package run provides functionality for executing scripts in the divekit context.
settings/listhosts
Package listhosts exposes the host listing flow to the app layer.
Package listhosts exposes the host listing flow to the app layer.
settings/removehost
Package removehost exposes the host removal flow to the app layer.
Package removehost exposes the host removal flow to the app layer.
settings/renamehost
Package renamehost exposes the host rename flow to the app layer.
Package renamehost exposes the host rename flow to the app layer.
settings/upserthost
Package upserthost exposes the host upsert flow to the app layer.
Package upserthost exposes the host upsert flow to the app layer.
snapshot
Package snapshot creates history-stripped research snapshots of distributed repositories.
Package snapshot creates history-stripped research snapshots of distributed repositories.
uninstall
Package uninstall provides the managed Divekit uninstall workflow.
Package uninstall provides the managed Divekit uninstall workflow.
update
Package update provides functionality for updating the divekit CLI tool.
Package update provides functionality for updating the divekit CLI tool.
Package appcontext provides helpers for sharing interaction settings via context values.
Package appcontext provides helpers for sharing interaction settings via context values.
Package apperror provides common error types and utilities for divekit application.
Package apperror provides common error types and utilities for divekit application.
Package assets provides embedded resources for the divekit CLI including CI templates, scripts, and example files used for project initialization and distribution.
Package assets provides embedded resources for the divekit CLI including CI templates, scripts, and example files used for project initialization and distribution.
Package cli defines the Cobra command surface for the divekit tool
Package cli defines the Cobra command surface for the divekit tool
cmd
flags
Package flags contains shared command flag helpers.
Package flags contains shared command flag helpers.
middleware
Package middleware provides middleware functionality for command execution, including context propagation, error handling, logging, and metrics.
Package middleware provides middleware functionality for command execution, including context propagation, error handling, logging, and metrics.
report
Package report provides the legacy HTML report command implementation.
Package report provides the legacy HTML report command implementation.
report/preview
Package preview drives a watch + serve loop around the divekit report renderer so that UI/UX changes to the report assets appear in the browser without a manual rebuild.
Package preview drives a watch + serve loop around the divekit report renderer so that UI/UX changes to the report assets appear in the browser without a manual rebuild.
Package constants defines global constants and utility functions for the divekit CLI.
Package constants defines global constants and utility functions for the divekit CLI.
Package homepath resolves the effective Divekit home directory path.
Package homepath resolves the effective Divekit home directory path.
Package infrastructure aggregates low-level concerns such as filesystem, local data, secrets and concurrency utilities behind a cohesive domain import.
Package infrastructure aggregates low-level concerns such as filesystem, local data, secrets and concurrency utilities behind a cohesive domain import.
concurrency
Package concurrency provides utilities for merging and resolving concurrency configuration settings from multiple sources with proper precedence handling.
Package concurrency provides utilities for merging and resolving concurrency configuration settings from multiple sources with proper precedence handling.
divekitdb
Package divekitdb resolves and migrates the central local Divekit database.
Package divekitdb resolves and migrates the central local Divekit database.
filesystem
Package filesystem provides filesystem abstraction interfaces and implementations.
Package filesystem provides filesystem abstraction interfaces and implementations.
jsonfile
Package jsonfile provides helpers for decoding local JSON files with user-facing location diagnostics.
Package jsonfile provides helpers for decoding local JSON files with user-facing location diagnostics.
localdata
Package localdata contains types and helpers for local data storage.
Package localdata contains types and helpers for local data storage.
secrets
Package secrets provides secure storage and retrieval of sensitive data like tokens.
Package secrets provides secure storage and retrieval of sensitive data like tokens.
Package installation manages the user-level Divekit install layout and shell PATH integration.
Package installation manages the user-level Divekit install layout and shell PATH integration.
orchestration
runs
Package runs provides contracts and persistence for orchestrated GUI actions.
Package runs provides contracts and persistence for orchestrated GUI actions.
Package pathutil contains helpers for working with Divekit-specific path suffixes.
Package pathutil contains helpers for working with Divekit-specific path suffixes.
Package project provides project-related utilities and configuration handling
Package project provides project-related utilities and configuration handling
Package report contains transport-neutral report data shapes shared by app and service packages.
Package report contains transport-neutral report data shapes shared by app and service packages.
Package repository aggregates repository-centric concerns such as providers, repository config, indexing and retry strategies under one import path.
Package repository aggregates repository-centric concerns such as providers, repository config, indexing and retry strategies under one import path.
config
Package config provides utilities for loading and saving Divekit CLI configuration files.
Package config provides utilities for loading and saving Divekit CLI configuration files.
config/individual
Package individual provides configuration structures and utilities for handling individualization.
Package individual provides configuration structures and utilities for handling individualization.
config/resolver
Package resolver provides functionality for resolving configuration keys and values with support for aliases and environment variable references.
Package resolver provides functionality for resolving configuration keys and values with support for aliases and environment variable references.
config/types
Package types defines shared configuration structures for Divekit distributions.
Package types defines shared configuration structures for Divekit distributions.
dataprovider
Package dataprovider provides error types for repository data providers.
Package dataprovider provides error types for repository data providers.
dataprovider/common
Package common contains shared helpers for dataprovider adapters.
Package common contains shared helpers for dataprovider adapters.
dataprovider/gitlab
Package gitlab provides error types for the GitLab data provider.
Package gitlab provides error types for the GitLab data provider.
dataprovider/localfs
Package localfs implements a dataprovider that works on the local filesystem.
Package localfs implements a dataprovider that works on the local filesystem.
dataprovider/mock
Package mock provides mock implementations of provider interfaces for testing.
Package mock provides mock implementations of provider interfaces for testing.
dataprovider/simulated
Package simulated implements an in-memory ResourceProvider used for tests and demos.
Package simulated implements an in-memory ResourceProvider used for tests and demos.
index
Package index provides a simple SQLite-backed project index for search.
Package index provides a simple SQLite-backed project index for search.
retry
Package retry provides helpers and typed errors for retrying operations.
Package retry provides helpers and typed errors for retrying operations.
typescompat
Package typescompat provides small shared utility types and helpers.
Package typescompat provides small shared utility types and helpers.
Package resource provides path and filesystem utilities and typed errors.
Package resource provides path and filesystem utilities and typed errors.
Package scripting provides functionality for discovering and loading Lua scripts used for customization and extension of divekit operations.
Package scripting provides functionality for discovering and loading Lua scripts used for customization and extension of divekit operations.
contracts
Package contracts defines interfaces for scripting and transformation operations.
Package contracts defines interfaces for scripting and transformation operations.
lua
Package lua provides Lua scripting engine integration
Package lua provides Lua scripting engine integration
server
gui
Package gui provides the embedded HTTP server and app-layer adapters for the GUI.
Package gui provides the embedded HTTP server and app-layer adapters for the GUI.
gui/openapi
Package openapi provides primitives to interact with the openapi HTTP API.
Package openapi provides primitives to interact with the openapi HTTP API.
gui/runtime
Package runtime wires the GUI command entry points to the shared server runtime.
Package runtime wires the GUI command entry points to the shared server runtime.
Package service hosts the shared service-layer contracts: typed errors, progress reporting interfaces, and cross-domain value types used by the domain sub-packages.
Package service hosts the shared service-layer contracts: typed errors, progress reporting interfaces, and cross-domain value types used by the domain sub-packages.
authentication
Package authentication implements auth setup and GitLab token validation.
Package authentication implements auth setup and GitLab token validation.
configuration
Package configuration manages user-level host and origin configuration.
Package configuration manages user-level host and origin configuration.
diagnostic
Package diagnostic implements doctor checks and environment diagnostics.
Package diagnostic implements doctor checks and environment diagnostics.
discovery
Package discovery indexes and finds Divekit projects on the local machine.
Package discovery indexes and finds Divekit projects on the local machine.
distribution
Package distribution executes distributions: project creation, content individualization, and member assignment.
Package distribution executes distributions: project creation, content individualization, and member assignment.
evaluation
Package evaluation implements evaluation-pipeline materialization, override handling, and pipeline asset rendering.
Package evaluation implements evaluation-pipeline materialization, override handling, and pipeline asset rendering.
individualization
Package individualization applies variation tokens and analyzes content.
Package individualization applies variation tokens and analyzes content.
initialization
Package initialization creates origin-repository scaffolding.
Package initialization creates origin-repository scaffolding.
injection
Package injection copies embedded default assets into projects.
Package injection copies embedded default assets into projects.
installation
Package installation manages the install lifecycle and release updates.
Package installation manages the install lifecycle and release updates.
naming
Package naming reconciles distributed repository names and URL paths.
Package naming reconciles distributed repository names and URL paths.
patching
Package patching orchestrates patch workflows over distributed repositories.
Package patching orchestrates patch workflows over distributed repositories.
repositories
Package repositories composes providers and handles fetch and download jobs.
Package repositories composes providers and handles fetch and download jobs.
roles
Package roles manages member access levels across projects.
Package roles manages member access levels across projects.
scriptexec
Package scriptexec executes user-provided scripts over repositories.
Package scriptexec executes user-provided scripts over repositories.
security
Package security implements password and access checks.
Package security implements password and access checks.
validation
Package validation checks distributed content for unresolved tokens.
Package validation checks distributed content for unresolved tokens.
Package shell aggregates user interaction concerns (userinput, ui, flags) behind a cohesive import for CLI-related functionality.
Package shell aggregates user interaction concerns (userinput, ui, flags) behind a cohesive import for CLI-related functionality.
flagsutil
Package flagsutil provides utility functions for command-line flag validation.
Package flagsutil provides utility functions for command-line flag validation.
input
Package input provides user input handling and validation functionality
Package input provides user input handling and validation functionality
log
Package log provides application-wide logging utilities and typed errors for consistent log level parsing and reporting.
Package log provides application-wide logging utilities and typed errors for consistent log level parsing and reporting.
output
Package output provides styled helpers for user-facing console messages.
Package output provides styled helpers for user-facing console messages.
progress
Package progress provides shared helpers around bubbles progress bars and programs.
Package progress provides shared helpers around bubbles progress bars and programs.
secretinput
Package secretinput provides masked terminal input with temporary reveal support.
Package secretinput provides masked terminal input with temporary reveal support.
theme
Package theme defines the shared color palette and base lipgloss styles.
Package theme defines the shared color palette and base lipgloss styles.
ui
Package ui provides styling and formatting utilities for terminal UI components.
Package ui provides styling and formatting utilities for terminal UI components.
uipreview
Package uipreview renders deterministic terminal UI component previews.
Package uipreview renders deterministic terminal UI component previews.
userinput
Package userinput provides error types for user input operations.
Package userinput provides error types for user input operations.
Package templating aggregates individualization, token generation and detection, as well as variable-value detection behind a cohesive import.
Package templating aggregates individualization, token generation and detection, as well as variable-value detection behind a cohesive import.
detectionutil
Package detectionutil provides helpers for loading detection-related configuration used by variable/token detection logic.
Package detectionutil provides helpers for loading detection-related configuration used by variable/token detection logic.
hashartifact
Package hashartifact renders hash directives into raw and hashed artifacts.
Package hashartifact renders hash directives into raw and hashed artifacts.
individualizer
Package individualizer provides a flexible token replacement and file manipulation system.
Package individualizer provides a flexible token replacement and file manipulation system.
solutiondeletion
Package solutiondeletion applies removal rules to filter solution content from repositories.
Package solutiondeletion applies removal rules to filter solution content from repositories.
tablehash
Package tablehash renders hashed solution tables for work repositories.
Package tablehash renders hashed solution tables for work repositories.
targetprocessing
Package targetprocessing wires built-in cross-target processors.
Package targetprocessing wires built-in cross-target processors.
targetprocessor
Package targetprocessor defines processors that can transform multiple target repository contents together after normal per-target individualization.
Package targetprocessor defines processors that can transform multiple target repository contents together after normal per-target individualization.
tokendetection
Package tokendetection provides functionality to detect and collect tokens in source code.
Package tokendetection provides functionality to detect and collect tokens in source code.
tokendetection/transformers
Package transformers provides various string transformation functions used for generating individualization tokens from class names.
Package transformers provides various string transformation functions used for generating individualization tokens from class names.
variablevalue
Package variablevalue provides detection utilities for spotting values from non-selected variations within individualized content.
Package variablevalue provides detection utilities for spotting values from non-selected variations within individualized content.
Package version provides version information for the application.
Package version provides version information for the application.
Package worker provides shared worker pool configuration and execution primitives.
Package worker provides shared worker pool configuration and execution primitives.

Jump to

Keyboard shortcuts

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