servicecmd

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: 13 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 {
	GetAllDomains(ctx context.Context) ([]string, error)
	ValidateInstanceName(instanceName string) error
	ValidatePkgName(pkgName string) error
	GetAllPorts(ctx context.Context) ([]string, error)
	CreateService(ctx context.Context, params model.CreateServiceParams) (string, error)
	GetAllServices(ctx context.Context, targetDomain string) ([]string, error)
}

type ServiceCommand

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

func NewServiceCommand

func NewServiceCommand() (*ServiceCommand, error)

func (*ServiceCommand) AddSubCommand added in v0.5.1

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

func (*ServiceCommand) Command

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

type ServiceCreateCommand

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

func NewServiceCreateCommand

func NewServiceCreateCommand(projectService ProjectService, cfg *config.Config, tl *tuilog.TUILog) (*ServiceCreateCommand, error)

func (*ServiceCreateCommand) AddSubCommand added in v0.5.1

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

func (*ServiceCreateCommand) Command

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

type ServiceLSCommand

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

func NewServiceLSCommand

func NewServiceLSCommand(projectService ProjectService, tl *tuilog.TUILog) (*ServiceLSCommand, error)

func (*ServiceLSCommand) AddSubCommand added in v0.5.1

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

func (*ServiceLSCommand) Command

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

Jump to

Keyboard shortcuts

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