top

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package top provides the container top command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdTop

func NewCmdTop(f *cmdutil.Factory, runF func(context.Context, *TopOptions) error) *cobra.Command

NewCmdTop creates a new top command.

Types

type TopOptions

type TopOptions struct {
	TUI            *tui.TUI
	Client         func(context.Context) (*docker.Client, error)
	ProjectManager func() (project.ProjectManager, error)

	Agent bool
	Args  []string
}

TopOptions holds options for the top command.

Jump to

Keyboard shortcuts

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