introspect

package
v0.0.0-...-a753888 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: AGPL-3.0 Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(sockNameGetter func(names.Tag) string) cmd.Command

New initializes IntrospectCommand.

Types

type IntrospectCommand

type IntrospectCommand struct {
	cmd.CommandBase

	// IntrospectionSocketName returns the socket name
	// for a given tag. If IntrospectionSocketName is nil,
	// agent.DefaultIntrospectionSocketName is used.
	IntrospectionSocketName func(names.Tag) string
	// contains filtered or unexported fields
}

func (*IntrospectCommand) Info

func (c *IntrospectCommand) Info() *cmd.Info

Info returns usage information for the command.

func (*IntrospectCommand) Init

func (c *IntrospectCommand) Init(args []string) error

func (*IntrospectCommand) Run

func (c *IntrospectCommand) Run(ctx *cmd.Context) error

func (*IntrospectCommand) SetFlags

func (c *IntrospectCommand) SetFlags(f *gnuflag.FlagSet)

Jump to

Keyboard shortcuts

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