pause

package
v0.9.2-149-g7a8394f8 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2024 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Overview

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2024, 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 Pause

func Pause(ctx context.Context, opts *PauseOptions, args ...string) error

Pause a local Unikraft virtual machine.

Types

type PauseOptions

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

func (*PauseOptions) Pre

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

func (*PauseOptions) Run

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