create

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: 18 Imported by: 0

Documentation

Overview

Package create implements the `d8 snapshot create` command: it creates a Snapshot object in a namespace, optionally narrowing the captured set with a label selector and waiting until the Snapshot becomes Ready.

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

func Run

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

Run resolves flags, builds the dynamic client, and creates the Snapshot.

Types

This section is empty.

Jump to

Keyboard shortcuts

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