list

package
v0.7.6 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package list provides the SSM Parameter Store list command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command() *cli.Command

Command returns the list command.

Types

type JSONOutputItem

type JSONOutputItem struct {
	Name  string  `json:"name"`
	Value *string `json:"value,omitempty"` // nil when error or not requested, pointer to distinguish from empty string
	Error string  `json:"error,omitempty"`
}

JSONOutputItem represents a single item in JSON output.

type Options

type Options struct {
	Prefix    string
	Recursive bool
	Filter    string // Regex filter pattern
	Show      bool   // Show parameter values
	Output    output.Format
}

Options holds the options for the list command.

type Runner

type Runner struct {
	UseCase *param.ListUseCase
	Stdout  io.Writer
	Stderr  io.Writer
}

Runner executes the list command.

func (*Runner) Run

func (r *Runner) Run(ctx context.Context, opts Options) error

Run executes the list command.

Jump to

Keyboard shortcuts

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