juju: github.com/juju/juju/cmd/jujud/introspect Index | Files

package introspect

import "github.com/juju/juju/cmd/jujud/introspect"


Package Files


func New Uses

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

New initializes IntrospectCommand.

type IntrospectCommand Uses

type IntrospectCommand struct {

    // 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 Uses

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

Info returns usage information for the command.

func (*IntrospectCommand) Init Uses

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

func (*IntrospectCommand) Run Uses

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

func (*IntrospectCommand) SetFlags Uses

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

Package introspect imports 17 packages (graph) and is imported by 6 packages. Updated 2020-09-03. Refresh now. Tools for package owners.