portcmd

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Commander

type Commander interface {
	Command() *cobra.Command
}

type PortCommand

type PortCommand struct {
	// contains filtered or unexported fields
}

func NewPortCommand

func NewPortCommand(i *do.Injector) (*PortCommand, error)

func (*PortCommand) AddCommand

func (c *PortCommand) AddCommand(cmds ...Commander)

func (*PortCommand) Command

func (c *PortCommand) Command() *cobra.Command

type PortLSCommand

type PortLSCommand struct {
	// contains filtered or unexported fields
}

func NewPortLSCommand

func NewPortLSCommand(i *do.Injector) (*PortLSCommand, error)

func (*PortLSCommand) AddCommand

func (c *PortLSCommand) AddCommand(cmds ...Commander)

func (*PortLSCommand) Command

func (c *PortLSCommand) Command() *cobra.Command

Jump to

Keyboard shortcuts

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