trace

package
v0.0.1-test Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2026 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Overview

Package trace contains the trace command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

type Cmd struct {
	Resource string `arg:"" help:"Kind of the Crossplane resource, accepts the 'TYPE[.VERSION][.GROUP][/NAME]' format." predictor:"k8s_resource"`
	Name     string `` /* 153-byte string literal not displayed */

	// TODO(phisco): add support for all the usual kubectl flags; configFlags := genericclioptions.NewConfigFlags(true).AddFlags(...)
	Context                   string `` /* 214-byte string literal not displayed */
	Namespace                 string `` /* 214-byte string literal not displayed */
	Output                    string `` /* 214-byte string literal not displayed */
	ShowConnectionSecrets     bool   `help:"Show connection secrets in the output." name:"show-connection-secrets"                     short:"s"`
	ShowPackageDependencies   string `` /* 204-byte string literal not displayed */
	ShowPackageRevisions      string `` /* 201-byte string literal not displayed */
	ShowPackageRuntimeConfigs bool   `` /* 132-byte string literal not displayed */
	Concurrency               int    `default:"5"                                   help:"load concurrency"                            name:"concurrency"`
	Watch                     bool   `` /* 181-byte string literal not displayed */

	Impersonation kube.ImpersonationFlags `embed:""`
}

Cmd builds the trace tree for a Crossplane resource.

func (*Cmd) Help

func (c *Cmd) Help() string

Help returns help message for the trace command.

func (*Cmd) Run

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

Run runs the trace command.

Directories

Path Synopsis
internal
printer
Package printer contains the definition of the Printer interface and the implementation of all the available printers implementing it.
Package printer contains the definition of the Printer interface and the implementation of all the available printers implementing it.

Jump to

Keyboard shortcuts

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