internal/

directory
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2026 License: MIT

Directories

Path Synopsis
cli
colors
Package colors provides per-destination colored output for the CLI.
Package colors provides per-destination colored output for the CLI.
commands
Package commands provides the command-line interface for suve.
Package commands provides the command-line interface for suve.
commands/aws
Package aws provides the "suve aws" command group: the explicit, always-present home for the AWS backends (Parameter Store, Secrets Manager, and the AWS-only staging workflow).
Package aws provides the "suve aws" command group: the explicit, always-present home for the AWS backends (Parameter Store, Secrets Manager, and the AWS-only staging workflow).
commands/azure
Package azure provides CLI commands for Microsoft Azure, exposed as the "suve azure secret <op>" (Key Vault) and "suve azure param <op>" (App Configuration) command groups.
Package azure provides CLI commands for Microsoft Azure, exposed as the "suve azure secret <op>" (Key Vault) and "suve azure param <op>" (App Configuration) command groups.
commands/azure/param
Package param provides CLI commands for Azure App Configuration, exposed as the "suve azure param <op>" command group.
Package param provides CLI commands for Azure App Configuration, exposed as the "suve azure param <op>" command group.
commands/azure/secret
Package secret provides CLI commands for Azure Key Vault secrets, exposed as the "suve azure secret <op>" command group.
Package secret provides CLI commands for Azure Key Vault secrets, exposed as the "suve azure secret <op>" command group.
commands/gcloud
Package gcloud provides CLI commands for Google Cloud Secret Manager, exposed as the "suve gcloud secret <op>" command group plus the "suve gcloud stage <op>" staging workflow.
Package gcloud provides CLI commands for Google Cloud Secret Manager, exposed as the "suve gcloud secret <op>" command group plus the "suve gcloud stage <op>" staging workflow.
commands/generic/diff
Package diff provides the generic diff command shared by every provider.
Package diff provides the generic diff command shared by every provider.
commands/generic/list
Package list provides the generic list command shared by every provider.
Package list provides the generic list command shared by every provider.
commands/generic/log
Package log provides the generic log command shared by every provider.
Package log provides the generic log command shared by every provider.
commands/generic/show
Package show provides the generic show command shared by every provider.
Package show provides the generic show command shared by every provider.
commands/generic/tag
Package tag provides the generic tag/untag commands shared by every provider (AWS SSM Parameter Store, AWS Secrets Manager, and future providers).
Package tag provides the generic tag/untag commands shared by every provider (AWS SSM Parameter Store, AWS Secrets Manager, and future providers).
commands/internal
Package internal provides shared utilities for CLI commands.
Package internal provides shared utilities for CLI commands.
commands/internal/apptest
Package apptest provides helpers for constructing the CLI app with a deterministic provider-detection result, so command tests do not depend on the ambient environment (which decides the top-level param/secret aliases).
Package apptest provides helpers for constructing the CLI app with a deterministic provider-detection result, so command tests do not depend on the ambient environment (which decides the top-level param/secret aliases).
commands/param
Package param provides CLI commands for AWS SSM Parameter Store.
Package param provides CLI commands for AWS SSM Parameter Store.
commands/param/create
Package create provides the SSM Parameter Store create command.
Package create provides the SSM Parameter Store create command.
commands/param/delete
Package delete provides the SSM Parameter Store delete command.
Package delete provides the SSM Parameter Store delete command.
commands/param/paramopts
Package paramopts builds AWS Parameter Store provider write options from CLI flag values, keeping the flag-to-option mapping in one place shared by the param create and update commands.
Package paramopts builds AWS Parameter Store provider write options from CLI flag values, keeping the flag-to-option mapping in one place shared by the param create and update commands.
commands/param/paramtype
Package paramtype maps between the provider-neutral domain.ValueType and the AWS SSM Parameter Store type names ("String", "SecureString", "StringList") used in CLI output and in the --type flag.
Package paramtype maps between the provider-neutral domain.ValueType and the AWS SSM Parameter Store type names ("String", "SecureString", "StringList") used in CLI output and in the --type flag.
commands/param/update
Package update provides the SSM Parameter Store update command.
Package update provides the SSM Parameter Store update command.
commands/secret
Package secret provides CLI commands for AWS Secrets Manager.
Package secret provides CLI commands for AWS Secrets Manager.
commands/secret/create
Package create provides the Secrets Manager create command.
Package create provides the Secrets Manager create command.
commands/secret/delete
Package delete provides the Secrets Manager delete command.
Package delete provides the Secrets Manager delete command.
commands/secret/restore
Package restore provides the Secrets Manager restore command.
Package restore provides the Secrets Manager restore command.
commands/secret/update
Package update provides the Secrets Manager update command.
Package update provides the Secrets Manager update command.
commands/stage
Package stage provides the global stage command for managing staged changes.
Package stage provides the global stage command for managing staged changes.
commands/stage/apply
Package apply provides the global apply command for applying all staged changes.
Package apply provides the global apply command for applying all staged changes.
commands/stage/diff
Package diff provides the global diff command for viewing staged changes.
Package diff provides the global diff command for viewing staged changes.
commands/stage/param
Package param provides the param stage subcommand for staging operations.
Package param provides the param stage subcommand for staging operations.
commands/stage/reset
Package reset provides the global reset command for unstaging all changes.
Package reset provides the global reset command for unstaging all changes.
commands/stage/secret
Package secret provides the secret stage subcommand for staging operations.
Package secret provides the secret stage subcommand for staging operations.
commands/stage/status
Package status provides the global status command for viewing all staged changes.
Package status provides the global status command for viewing all staged changes.
confirm
Package confirm provides confirmation prompts for destructive operations.
Package confirm provides confirmation prompts for destructive operations.
diffargs
Package diffargs provides shared diff command argument parsing logic for SSM Parameter Store and Secrets Manager.
Package diffargs provides shared diff command argument parsing logic for SSM Parameter Store and Secrets Manager.
editor
Package editor provides functionality for opening external editors.
Package editor provides functionality for opening external editors.
output
Package output handles formatted output for the CLI.
Package output handles formatted output for the CLI.
pager
Package pager provides terminal pager functionality for long outputs.
Package pager provides terminal pager functionality for long outputs.
passphrase
Package passphrase provides passphrase input handling for encryption.
Package passphrase provides passphrase input handling for encryption.
terminal
Package terminal provides terminal-related utilities.
Package terminal provides terminal-related utilities.
Package debug carries an opt-in, SDK-neutral debug switch through the request context.
Package debug carries an opt-in, SDK-neutral debug switch through the request context.
Package domain defines provider-neutral value types shared across every storage backend (AWS SSM, AWS Secrets Manager, and future providers).
Package domain defines provider-neutral value types shared across every storage backend (AWS SSM, AWS Secrets Manager, and future providers).
Package infra provides AWS client initialization.
Package infra provides AWS client initialization.
Package jsonutil provides JSON formatting utilities.
Package jsonutil provides JSON formatting utilities.
Package maputil provides utilities for working with maps.
Package maputil provides utilities for working with maps.
Package parallel provides utilities for parallel execution of operations.
Package parallel provides utilities for parallel execution of operations.
Package provider defines the provider-neutral storage seam: the interfaces and opaque reference types that every backend (AWS SSM, AWS Secrets Manager, and future providers) implements.
Package provider defines the provider-neutral storage seam: the interfaces and opaque reference types that every backend (AWS SSM, AWS Secrets Manager, and future providers) implements.
aws
Package aws wires the AWS parameter and secret adapters into a provider.Factory / provider.Registry.
Package aws wires the AWS parameter and secret adapters into a provider.Factory / provider.Registry.
aws/param
Package param implements the provider.Store contract for AWS Systems Manager Parameter Store.
Package param implements the provider.Store contract for AWS Systems Manager Parameter Store.
aws/secret
Package secret implements the provider.Store, provider.Restorer and provider.Describer contracts for AWS Secrets Manager.
Package secret implements the provider.Store, provider.Restorer and provider.Describer contracts for AWS Secrets Manager.
azure
Package azure wires the two Azure adapters into a provider.Factory / provider.Registry:
Package azure wires the two Azure adapters into a provider.Factory / provider.Registry:
azure/appconfig
Package appconfig implements the provider.Store contract (Reader/Writer/Tagger) for Azure App Configuration, confining all App Configuration SDK types to this package.
Package appconfig implements the provider.Store contract (Reader/Writer/Tagger) for Azure App Configuration, confining all App Configuration SDK types to this package.
azure/appconfig/aznamespace
Package aznamespace parses the value of the Azure App Configuration --namespace / --ns flag (env AZURE_APPCONFIG_NAMESPACE).
Package aznamespace parses the value of the Azure App Configuration --namespace / --ns flag (env AZURE_APPCONFIG_NAMESPACE).
azure/keyvault
Package keyvault implements the provider.Store contract (Reader/Writer/Tagger) for Azure Key Vault secrets.
Package keyvault implements the provider.Store contract (Reader/Writer/Tagger) for Azure Key Vault secrets.
detect
Package detect resolves which cloud provider should back the flat `param` / `secret` command aliases (and, later, the GUI's initial provider selection), based purely on environment variables.
Package detect resolves which cloud provider should back the flat `param` / `secret` command aliases (and, later, the GUI's initial provider selection), based purely on environment variables.
gcloud
Package gcloud wires the Google Cloud Secret Manager adapter into a provider.Factory / provider.Registry.
Package gcloud wires the Google Cloud Secret Manager adapter into a provider.Factory / provider.Registry.
gcloud/secret
Package secret implements the provider.Store contract (Reader/Writer/Tagger) for Google Cloud Secret Manager.
Package secret implements the provider.Store contract (Reader/Writer/Tagger) for Google Cloud Secret Manager.
providermock
Package providermock provides a configurable mock implementation of the provider interfaces (Reader/Writer/Tagger/Store) for use in unit tests.
Package providermock provides a configurable mock implementation of the provider interfaces (Reader/Writer/Tagger/Store) for use in unit tests.
Package staging provides staging functionality for AWS parameter and secret changes.
Package staging provides staging functionality for AWS parameter and secret changes.
cli
Package cli provides shared runners and command builders for stage commands.
Package cli provides shared runners and command builders for stage commands.
store
Package store provides storage interfaces and implementations for staging.
Package store provides storage interfaces and implementations for staging.
store/file
Package file provides file-based staging storage.
Package file provides file-based staging storage.
store/file/internal/crypt
Package crypt provides encryption for staging files.
Package crypt provides encryption for staging files.
store/file/internal/keyprovider
Package keyprovider resolves the AES-256 data key used to encrypt the working staging state files (param.json/secret.json).
Package keyprovider resolves the AES-256 data key used to encrypt the working staging state files (param.json/secret.json).
store/testutil
Package testutil provides test utilities for staging package.
Package testutil provides test utilities for staging package.
transition
Package transition implements state machine logic for staging operations.
Package transition implements state machine logic for staging operations.
Package timeutil provides timezone-aware time formatting utilities.
Package timeutil provides timezone-aware time formatting utilities.
Package updatecheck provides a notify-only, non-blocking, opt-out check for newer releases of suve on GitHub.
Package updatecheck provides a notify-only, non-blocking, opt-out check for newer releases of suve on GitHub.
usecase
azure
Package azure provides use cases for the two Azure adapters (Key Vault secrets and App Configuration params).
Package azure provides use cases for the two Azure adapters (Key Vault secrets and App Configuration params).
gcloud
Package gcloud provides use cases for Google Cloud Secret Manager operations.
Package gcloud provides use cases for Google Cloud Secret Manager operations.
param
Package param provides use cases for SSM Parameter Store operations.
Package param provides use cases for SSM Parameter Store operations.
secret
Package secret provides use cases for Secrets Manager operations.
Package secret provides use cases for Secrets Manager operations.
staging
Package staging provides use cases for staging operations.
Package staging provides use cases for staging operations.
Package version provides shared version specification parsing logic for SSM Parameter Store and Secrets Manager version specifiers.
Package version provides shared version specification parsing logic for SSM Parameter Store and Secrets Manager version specifiers.
azureappconfigversion
Package azureappconfigversion provides version spec parsing for Azure App Configuration (bare key names only).
Package azureappconfigversion provides version spec parsing for Azure App Configuration (bare key names only).
azurekvversion
Package azurekvversion provides version spec parsing for Azure Key Vault secrets (name#VERSION~SHIFT).
Package azurekvversion provides version spec parsing for Azure Key Vault secrets (name#VERSION~SHIFT).
gcloudversion
Package gcloudversion provides version spec parsing for Google Cloud Secret Manager (name#VERSION~SHIFT).
Package gcloudversion provides version spec parsing for Google Cloud Secret Manager (name#VERSION~SHIFT).
internal
Package internal provides shared utilities for version parsing.
Package internal provides shared utilities for version parsing.
paramversion
Package paramversion provides version spec parsing for AWS Systems Manager Parameter Store (name#VERSION~SHIFT).
Package paramversion provides version spec parsing for AWS Systems Manager Parameter Store (name#VERSION~SHIFT).
secretversion
Package secretversion provides version spec parsing and display helpers for AWS Secrets Manager.
Package secretversion provides version spec parsing and display helpers for AWS Secrets Manager.

Jump to

Keyboard shortcuts

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