ps

package
v0.9.2-71-g479ba10e Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd() *cobra.Command

Types

type PsOptions

type PsOptions struct {
	Long    bool   `long:"long" short:"l" usage:"Show more information"`
	Orphans bool   `long:"orphans" usage:"Include orphaned services (default: true)" default:"true"`
	Output  string `long:"output" short:"o" usage:"Set output format. Options: table,yaml,json,list" default:"table"`
	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)"`
	// 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, args []string) error

Jump to

Keyboard shortcuts

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