delete

package
v0.33.7 Latest Latest
Warning

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

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

Documentation

Overview

Package delete implements the `d8 snapshot delete` command: it deletes one or more Snapshot objects by name, by label selector, or all in a namespace, and can optionally wait until they are fully removed.

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 delete` cobra command.

func Run

func Run(log *slog.Logger, cmd *cobra.Command, args []string) error

Run resolves flags, builds the dynamic client, and deletes the Snapshots.

Types

This section is empty.

Jump to

Keyboard shortcuts

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