internal/

directory
v0.0.0-...-e67fd50 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2026 License: Apache-2.0

Directories

Path Synopsis
app
auth
Package auth exposes the authentication flows to the app layer.
Package auth exposes the authentication flows to the app layer.
config/explain
Package explain exposes the config explain command to the app layer.
Package explain exposes the config explain command to the app layer.
dev
Package dev exposes the development helper flow to the app layer.
Package dev exposes the development helper flow to the app layer.
distributions/actionexec
Package actionexec executes persisted distribution actions for the GUI.
Package actionexec executes persisted distribution actions for the GUI.
distributions/common
Package distcommon provides shared distribution loading types and helpers.
Package distcommon provides shared distribution loading types and helpers.
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/distribute
Package distribute exposes the distribution creation flow to the app layer.
Package distribute exposes the distribution creation flow to the app layer.
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 exposes the overview flow to the app layer.
Package overview exposes the overview flow to the app layer.
distributions/patch
Package patch exposes the distribution patch flow to the app layer.
Package patch exposes the distribution patch flow to the app layer.
distributions/purge
Package purge exposes the distribution purge flow to the app layer.
Package purge exposes the distribution purge flow to the app layer.
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 exposes the distribution role flow to the app layer.
Package role exposes the distribution role flow to the app layer.
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 exposes the distribution fetch flow to the app layer.
Package fetch exposes the distribution fetch flow to the app layer.
index/add
Package add exposes the index add flow to the app layer.
Package add exposes the index add flow to the app layer.
index/refresh
Package refresh exposes the index refresh flow to the app layer.
Package refresh exposes the index refresh flow to the app layer.
index/search
Package search exposes the index search flow to the app layer.
Package search exposes the index search flow to the app layer.
initialize
Package initialize exposes the initialization flow to the app layer.
Package initialize exposes the initialization flow to the app layer.
inject
Package inject exposes the inject flow to the app layer.
Package inject exposes the inject flow to the app layer.
install
Package install exposes the install flow to the app layer.
Package install exposes the install flow to the app layer.
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 exposes the passcheck flow to the app layer.
Package passcheck exposes the passcheck flow to the app layer.
run
Package run exposes the script execution flow to the app layer.
Package run exposes the script execution flow to the app layer.
settings/list_hosts
Package listhosts exposes the host listing flow to the app layer.
Package listhosts exposes the host listing flow to the app layer.
settings/remove_host
Package removehost exposes the host removal flow to the app layer.
Package removehost exposes the host removal flow to the app layer.
settings/rename_host
Package renamehost exposes the host rename flow to the app layer.
Package renamehost exposes the host rename flow to the app layer.
settings/upsert_host
Package upserthost exposes the host upsert flow to the app layer.
Package upserthost exposes the host upsert flow to the app layer.
uninstall
Package uninstall exposes the uninstall flow to the app layer.
Package uninstall exposes the uninstall flow to the app layer.
update
Package update exposes the self-update flow to the app layer.
Package update exposes the self-update flow to the app layer.
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.
cmd
divekit/auth
Package auth provides authentication functionality for divekit commands
Package auth provides authentication functionality for divekit commands
divekit/config/explain
Package explain contains CLI handlers for explaining configuration schemas.
Package explain contains CLI handlers for explaining configuration schemas.
divekit/config/hosts
Package hosts contains CLI handlers for managing authentication host config.
Package hosts contains CLI handlers for managing authentication host config.
divekit/config/origin
Package origin contains CLI handlers for managing origin/distribution config.
Package origin contains CLI handlers for managing origin/distribution config.
divekit/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.
divekit/dev
Package dev implements the dev command functionality
Package dev implements the dev command functionality
divekit/distribute
Package distribute implements the distribute command functionality
Package distribute implements the distribute command functionality
divekit/distribute/errors
Package disterrors provides constructor functions for creating typed errors used throughout the distribute command functionality.
Package disterrors provides constructor functions for creating typed errors used throughout the distribute command functionality.
divekit/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.
divekit/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.
divekit/doctor
Package doctor provides diagnostic checks and supporting types used by the divekit CLI to validate local setup and project consistency.
Package doctor provides diagnostic checks and supporting types used by the divekit CLI to validate local setup and project consistency.
divekit/fetch
Package fetch implements the fetch command functionality
Package fetch implements the fetch command functionality
divekit/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.
divekit/index/add
Package add provides error types for the index add command.
Package add provides error types for the index add command.
divekit/index/refresh
Package refresh defines typed errors for the index refresh command.
Package refresh defines typed errors for the index refresh command.
divekit/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.
divekit/initialize
Package initialize provides error types for the initialize command.
Package initialize provides error types for the initialize command.
divekit/inject
Package inject provides error types for the inject command.
Package inject provides error types for the inject command.
divekit/install
Package install provides error handling functionality for the divekit installation process.
Package install provides error handling functionality for the divekit installation process.
divekit/overview
Package overview implements the overview command functionality
Package overview implements the overview command functionality
divekit/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.
divekit/patch
Package patch implements the patch command functionality
Package patch implements the patch command functionality
divekit/plugin
Package plugin provides errors for evaluation-pipeline plugin management.
Package plugin provides errors for evaluation-pipeline plugin management.
divekit/purge
Package purge provides CLI handlers for deleting distributed repositories.
Package purge provides CLI handlers for deleting distributed repositories.
divekit/role
Package role provides error types for role-related operations.
Package role provides error types for role-related operations.
divekit/run
Package run provides functionality for executing scripts in the divekit context.
Package run provides functionality for executing scripts in the divekit context.
divekit/uninstall
Package uninstall provides the managed Divekit uninstall workflow.
Package uninstall provides the managed Divekit uninstall workflow.
divekit/update
Package update provides functionality for updating the divekit CLI tool.
Package update provides functionality for updating the divekit CLI tool.
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.
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 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 helper provides utility functions and error types for common operations.
Package helper provides utility functions and error types for common operations.
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.
filesystem
Package filesystem provides filesystem abstraction interfaces and implementations.
Package filesystem provides filesystem abstraction interfaces and implementations.
localdata
Package localdata contains types and helpers for local data storage.
Package localdata contains types and helpers for local data storage.
secrets
Package secret provides secure storage and retrieval of sensitive data like tokens.
Package secret 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.
pkg
report
Package report normalizes imported test reports for legacy Divekit exports.
Package report normalizes imported test reports for legacy Divekit exports.
Package project provides project-related utilities and configuration handling
Package project provides project-related utilities and configuration handling
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 configresolver provides functionality for resolving configuration keys and values with support for aliases and environment variable references.
Package configresolver 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.
indexing
Package index provides a simple SQLite-backed project index for search.
Package index provides a simple SQLite-backed project index for search.
provider
Package dataprovider provides error types for repository data providers.
Package dataprovider provides error types for repository data providers.
provider/common
Package common contains shared helpers for dataprovider adapters.
Package common contains shared helpers for dataprovider adapters.
provider/gitlab
Package gitlab provides error types for the GitLab data provider.
Package gitlab provides error types for the GitLab data provider.
provider/localfs
Package localfs implements a dataprovider that works on the local filesystem.
Package localfs implements a dataprovider that works on the local filesystem.
provider/mock
Package mock provides mock implementations of provider interfaces for testing.
Package mock provides mock implementations of provider interfaces for testing.
provider/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.
retry
Package retry provides helpers and typed errors for retrying operations.
Package retry provides helpers and typed errors for retrying operations.
typescompat
Package pkgtypes provides small shared utility types and helpers.
Package pkgtypes 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.
Package service provides high-level business logic services for divekit commands.
Package service provides high-level business logic services for divekit commands.
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.
flags
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
logging
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.
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.
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.
tokens
Package tokendetection provides functionality to detect and collect tokens in source code.
Package tokendetection provides functionality to detect and collect tokens in source code.
tokens/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.
variable
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 test contains shared test helpers and assertions.
Package test contains shared test helpers and assertions.
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