show

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2026 License: MIT Imports: 15 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"` //nolint:tagliatelle // snake_case for backwards compatibility
	Modified   string            `json:"modified,omitempty"`
	Tags       map[string]string `json:"tags"`
	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