remove

package
v0.7.0-119-gffe9125 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: 12 Imported by: 0

Documentation

Overview

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2022, Unikraft GmbH and The KraftKit Authors. Licensed under the BSD-3-Clause License (the "License"). You may not use this file except in compliance with the License.

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 stops and deletes a local Unikraft virtual machine.

Types

type RemoveOptions

type RemoveOptions struct {
	All      bool   `long:"all" usage:"Remove all machines"`
	Platform string `noattribute:"true"`
}

func (*RemoveOptions) Pre

func (opts *RemoveOptions) Pre(cmd *cobra.Command, _ []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