commands

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2025 License: MIT Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCompletionCommand

func NewCompletionCommand(cfg *config.Config) *cobra.Command

NewCompletionCommand creates the completion command for generating shell completions.

func NewDoctorCommand

func NewDoctorCommand(cfg *config.Config) *cobra.Command

func NewExecCommand

func NewExecCommand(cfg *config.Config) *cobra.Command

func NewGetCommand

func NewGetCommand(cfg *config.Config) *cobra.Command

func NewGuardCommand

func NewGuardCommand(cfg *config.Config) *cobra.Command

func NewGuardGitignoreCommand

func NewGuardGitignoreCommand(cfg *config.Config) *cobra.Command

func NewGuardRepoCommand

func NewGuardRepoCommand(cfg *config.Config) *cobra.Command

func NewInitCommand

func NewInitCommand(cfg *config.Config) *cobra.Command

func NewInstallHookCommand

func NewInstallHookCommand(cfg *config.Config) *cobra.Command

func NewLeakCommand

func NewLeakCommand(cfg *config.Config) *cobra.Command

func NewLeakListCommand

func NewLeakListCommand(cfg *config.Config) *cobra.Command

func NewLeakReportCommand

func NewLeakReportCommand(cfg *config.Config) *cobra.Command

func NewLeakResolveCommand

func NewLeakResolveCommand(cfg *config.Config) *cobra.Command

func NewLeakShowCommand

func NewLeakShowCommand(cfg *config.Config) *cobra.Command

func NewLeakUpdateCommand

func NewLeakUpdateCommand(cfg *config.Config) *cobra.Command

func NewLoginCommand

func NewLoginCommand(cfg *config.Config) *cobra.Command

func NewPlanCommand

func NewPlanCommand(cfg *config.Config) *cobra.Command

func NewProvidersCommand

func NewProvidersCommand(cfg *config.Config) *cobra.Command

func NewRenderCommand

func NewRenderCommand(cfg *config.Config) *cobra.Command

func NewRotationCommand

func NewRotationCommand(cfg *config.Config) *cobra.Command

NewRotationCommand creates the parent 'rotation' command

func NewRotationHistoryCmd

func NewRotationHistoryCmd(cfg *config.Config) *cobra.Command

NewRotationHistoryCmd creates the rotation history command

func NewRotationRollbackCmd

func NewRotationRollbackCmd(cfg *config.Config) *cobra.Command

NewRotationRollbackCmd creates the rotation rollback command

func NewRotationStatusCmd

func NewRotationStatusCmd(cfg *config.Config) *cobra.Command

NewRotationStatusCmd creates the rotation status command

func NewSecretsCommand

func NewSecretsCommand(cfg *config.Config) *cobra.Command

NewSecretsCommand creates the parent 'secrets' command

func NewSecretsHistoryCommand

func NewSecretsHistoryCommand(cfg *config.Config) *cobra.Command

NewSecretsHistoryCommand creates the secrets history command

func NewSecretsRotateCommand

func NewSecretsRotateCommand(cfg *config.Config) *cobra.Command

func NewSecretsStatusCommand

func NewSecretsStatusCommand(cfg *config.Config) *cobra.Command

NewSecretsStatusCommand creates the secrets status command

func NewShredCommand

func NewShredCommand(cfg *config.Config) *cobra.Command

Types

type ProviderHealth

type ProviderHealth struct {
	Name         string
	Type         string
	Status       string // healthy, error, checking
	Error        string
	Message      string
	Capabilities provider.Capabilities
	Suggestions  []string
}

ProviderHealth represents the health status of a provider

type SecretFinding

type SecretFinding struct {
	Description string
	Commit      string
	File        string
	Line        int
	Match       string
}

type SecretRotationResult

type SecretRotationResult struct {
	Key        string     `json:"key"`
	Provider   string     `json:"provider"`
	Status     string     `json:"status"` // "success", "failed", "skipped", "not_supported"
	Strategy   string     `json:"strategy"`
	NewVersion string     `json:"new_version,omitempty"`
	OldVersion string     `json:"old_version,omitempty"`
	RotatedAt  *time.Time `json:"rotated_at,omitempty"`
	Error      string     `json:"error,omitempty"`
	DryRun     bool       `json:"dry_run"`
	Reason     string     `json:"reason,omitempty"`
}

Jump to

Keyboard shortcuts

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