reflabel

package
v0.45.2 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package reflabel provides terminal output convenience helpers for cgroup information rendering.

Index

Constants

View Source
const (
	AllLeadersFlagName = "all-leaders"
)

Names of the CLI flags defined and used in this package.

Variables

This section is empty.

Functions

func LabelSetupCLI

func LabelSetupCLI(cmd *cobra.Command)

LabelSetupCLI adds the flags for controlling control group name display.

func NamespaceReferenceLabel

func NamespaceReferenceLabel(cmd *cobra.Command) func(model.Namespace) string

NamespaceReferenceLabel returns a string describing a reference to the specified namespace, either in form of a (leader) process name and PID, or if there is no such process then in form of a filesystem reference.

Types

This section is empty.

Jump to

Keyboard shortcuts

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