Help us shape the future of Go! Take the 2026 Go Developer Survey

describe

package
v0.32.7 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package describe implements the `d8 snapshot describe` command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(log *slog.Logger) *cobra.Command

NewCommand builds the `d8 snapshot describe` cobra command.

func Run

func Run(ctx context.Context, kubeClient client.Client, namespace, name string, w io.Writer) error

Run resolves the snapshot tree and renders it to w as an ASCII tree.

The kubeClient parameter is injectable so tests can supply a controller-runtime fake client without a real cluster.

Types

This section is empty.

Jump to

Keyboard shortcuts

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