Documentation ¶ Index ¶ func NewCmd() *cobra.Command func Set(ctx context.Context, opts *SetOptions, args ...string) error type SetOptions func (*SetOptions) Pre(cmd *cobra.Command, _ []string) error func (opts *SetOptions) Run(ctx context.Context, args []string) error 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 Source Files ¶ View all Source files set.go Click to show internal directories. Click to hide internal directories.