show

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package show provides the SSM Parameter Store show command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command() *cli.Command

Command returns the show command.

Types

type JSONOutput

type JSONOutput struct {
	Name       string `json:"name"`
	Version    int64  `json:"version"`
	Type       string `json:"type"`
	JsonParsed *bool  `json:"json_parsed,omitempty"` // Only when --parse-json is used
	Modified   string `json:"modified,omitempty"`
	Value      string `json:"value"`
}

JSONOutput represents the JSON output structure for the show command.

type Options

type Options struct {
	Spec      *paramversion.Spec
	ParseJSON bool
	NoPager   bool
	Raw       bool
	Output    output.Format
}

Options holds the options for the show command.

type Runner

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

Runner executes the show command.

func (*Runner) Run

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

Run executes the show command.

Jump to

Keyboard shortcuts

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