trace

package
v1.16.1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: Apache-2.0 Imports: 18 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."`
	Name     string `arg:"" help:"Name of the Crossplane resource, can be passed as part of the resource too."          optional:""`

	// TODO(phisco): add support for all the usual kubectl flags; configFlags := genericclioptions.NewConfigFlags(true).AddFlags(...)
	Context                   string `` /* 181-byte string literal not displayed */
	Namespace                 string `` /* 181-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 */
}

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.
resource
Package resource contains the definition of the Resource used by all trace printers, and the client used to get a Resource and its children.
Package resource contains the definition of the Resource used by all trace printers, and the client used to get a Resource and its children.
resource/xpkg
Package xpkg contains the client to get a Crossplane package with all its dependencies as a tree of Resource.
Package xpkg contains the client to get a Crossplane package with all its dependencies as a tree of Resource.
resource/xrm
Package xrm contains the client to get a Crossplane resource with all its children as a tree of Resource.
Package xrm contains the client to get a Crossplane resource with all its children as a tree of Resource.

Jump to

Keyboard shortcuts

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