unsource

package
v0.9.2-43-ge6149f0d Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Package unsource implements the `kraft pkg unsource` command

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd() *cobra.Command

NewCmd returns a new unsource command

func Unsource

func Unsource(ctx context.Context, opts *UnsourceOptions, args ...string) error

Unsource a remote location representing one-or-many Unikraft components.

Types

type UnsourceOptions

type UnsourceOptions struct{}

func (*UnsourceOptions) Pre

func (*UnsourceOptions) Pre(cmd *cobra.Command, _ []string) error

func (*UnsourceOptions) Run

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

Run executes the unsource command

Jump to

Keyboard shortcuts

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