ps

package
v0.2.2-2-g52bb9ff Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2022 License: BSD-3-Clause Imports: 13 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 expect in compliance with the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New added in v0.2.0

func New() *cobra.Command

Types

type Ps added in v0.2.0

type Ps struct {
	Architecture string `long:"arch" short:"m" usage:"Filter the list by architecture"`
	Hypervisor   string
	Long         bool   `long:"long" short:"l" usage:"Show more information"`
	Platform     string `long:"plat" short:"p" usage:"Filter the list by platform"`
	Quiet        bool   `long:"quiet" short:"q" usage:"Only display machine IDs"`
	ShowAll      bool   `long:"all" short:"a" usage:"Show all machines (default shows just running)"`
}

func (*Ps) Run added in v0.2.0

func (opts *Ps) Run(cmd *cobra.Command, args []string) error

Jump to

Keyboard shortcuts

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