ps

package
v0.7.0-146-g8456572 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: 11 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

View Source
const (
	MemoryMiB = 1024 * 1024
)

Variables

This section is empty.

Functions

func NewCmd

func NewCmd() *cobra.Command

Types

type PsOptions

type PsOptions struct {
	Architecture string `long:"arch" short:"m" usage:"Filter the list by architecture"`
	Long         bool   `long:"long" short:"l" usage:"Show more information"`

	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)"`
	Output  string `long:"output" short:"o" usage:"Set output format" default:"table"`
	// contains filtered or unexported fields
}

func (*PsOptions) Pre

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

func (*PsOptions) Run

func (opts *PsOptions) Run(ctx context.Context, _ []string) error

Jump to

Keyboard shortcuts

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