set

package
v0.7.0-155-g3093d39 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd() *cobra.Command

func Set

func Set(ctx context.Context, opts *SetOptions, args ...string) error

Set a KConfig variable in a Unikraft project.

Types

type SetOptions

type SetOptions struct {
	Kraftfile string `long:"kraftfile" short:"K" usage:"Set an alternative path of the Kraftfile"`
	Workdir   string `long:"workdir" short:"w" usage:"Work on a unikernel at a path"`
}

func (*SetOptions) Pre

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

func (*SetOptions) Run

func (opts *SetOptions) 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