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
Click to show internal directories.
Click to hide internal directories.