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

local

package
v0.33.13 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package local implements the offline `d8 snapshot local` command group. All subcommands operate on a locally downloaded snapshot archive directory and never contact a cluster or read a kubeconfig.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

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

NewCommand returns the parent cobra command for the offline `d8 snapshot local` group. It never registers kubeconfig or context flags; all subcommands are fully offline.

func NewDescribeCommand

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

NewDescribeCommand builds the `d8 snapshot local describe` cobra command.

func NewGetCommand

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

NewGetCommand builds the `d8 snapshot local get <DIR>` cobra command. The command is fully offline: it scans the archive directory with localscan and prints a brief one-line summary of the root node without contacting a cluster.

Types

This section is empty.

Jump to

Keyboard shortcuts

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