Help us shape the future of Go! Take the 2026 Go Developer Survey

top

package
v2.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package top contains the top command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

type Cmd struct {
	Summary   bool   `` /* 136-byte string literal not displayed */
	Namespace string `` /* 175-byte string literal not displayed */

	Impersonation kube.ImpersonationFlags `embed:""`
}

Cmd represents the top command.

func (*Cmd) Help

func (c *Cmd) Help() string

Help returns help instructions for the top command.

func (*Cmd) Run

func (c *Cmd) Run(k *kong.Context, logger logging.Logger) error

Run runs the top command.

Jump to

Keyboard shortcuts

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