treecmd

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProjectService added in v0.5.1

type ProjectService interface {
	GetModuleName(modulePath ...string) (string, error)
	GetAllEntryPoints(ctx context.Context) ([]string, error)
	GetAllDomains(ctx context.Context) ([]string, error)
	GetAllServices(ctx context.Context, targetDomain string) ([]string, error)
	GetAllApplications(ctx context.Context, targetDomain string) ([]string, error)
	GetAllPackages(ctx context.Context, showGlobal bool) ([]string, error)
	GetAllInfrastructures(ctx context.Context) ([]string, error)
	GetAllPorts(ctx context.Context) ([]string, error)
}

type TreeCommand

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

func NewTreeCommand

func NewTreeCommand(projectService ProjectService, tl *tuilog.TUILog) (*TreeCommand, error)

func (*TreeCommand) AddSubCommand added in v0.5.1

func (c *TreeCommand) AddSubCommand(cmd port.Commander)

func (*TreeCommand) Command

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

Jump to

Keyboard shortcuts

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