delete

package
v0.53.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(factory framework.Factory) (*cobra.Command, framework.Runner)

NewCommand creates a new Cobra command for deleting a recipe pack.

Types

type Runner

type Runner struct {
	ConfigHolder      *framework.ConfigHolder
	ConnectionFactory connections.Factory
	Workspace         *workspaces.Workspace
	Output            output.Interface
	InputPrompter     prompt.Interface

	RecipePackName string
	Confirm        bool
}

Runner executes the recipe pack delete command.

func NewRunner

func NewRunner(factory framework.Factory) *Runner

NewRunner creates a new instance of the recipe pack delete runner.

func (*Runner) Run

func (r *Runner) Run(ctx context.Context) error

Run performs the delete operation for the recipe pack.

func (*Runner) Validate

func (r *Runner) Validate(cmd *cobra.Command, args []string) error

Validate ensures command arguments and flags are correct before execution.

Jump to

Keyboard shortcuts

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