remove

package
v0.7.0-115-g4a447ab Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd() *cobra.Command

func Remove

func Remove(ctx context.Context, opts *RemoveOptions, args ...string) error

Remove a Unikraft component.

Types

type RemoveOptions

type RemoveOptions struct {
	Name   string `long:"name" short:"n" usage:"Specify the package name that has to be pruned" default:""`
	All    bool   `long:"all" short:"a" usage:"Prunes all the packages available on the host machine"`
	Format string `long:"format" short:"f" usage:"Set the package format." default:"any"`
}

func (*RemoveOptions) Pre

func (opts *RemoveOptions) Pre(cmd *cobra.Command, args []string) error

func (*RemoveOptions) Run

func (opts *RemoveOptions) Run(ctx context.Context, args []string) error

Jump to

Keyboard shortcuts

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