app

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRunningProject

func NewRunningProject() *runningProject

Types

type App

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

func NewApp

func NewApp() *App

func (*App) AddCommand

func (a *App) AddCommand(name string, command string) error

func (*App) AddProject

func (a *App) AddProject(name string, port int64, commandNames []string, projectDir string) error

func (*App) CommandPlaceholder

func (a *App) CommandPlaceholder() core.Command

func (*App) DomainAliasPlaceholder

func (a *App) DomainAliasPlaceholder() core.DomainAlias

func (*App) FollowProjectLogs

func (a *App) FollowProjectLogs(projectName string) error

func (*App) GetCommands

func (a *App) GetCommands() []core.Command

func (*App) GetProjects

func (a *App) GetProjects() []core.Project

func (*App) GetSpinupVersion

func (a *App) GetSpinupVersion() string

func (*App) ProjectPlaceholder

func (a *App) ProjectPlaceholder() core.Project

func (*App) RemoveCommand

func (a *App) RemoveCommand(id int64) error

func (*App) RemoveProject

func (a *App) RemoveProject(id int64) error

func (*App) RunProject

func (a *App) RunProject(projectName string) error

func (*App) SelectProjectDirectory

func (a *App) SelectProjectDirectory(projectName string, defaultDir string) (string, error)

func (*App) Startup

func (a *App) Startup(ctx context.Context)

func (*App) StopFollowingProjectLogs

func (a *App) StopFollowingProjectLogs(projectName string) error

func (*App) StopProject

func (a *App) StopProject(projectName string) string

func (*App) UpdateCommand

func (a *App) UpdateCommand(id int64, name string, command string) error

func (*App) UpdateProject

func (a *App) UpdateProject(id int64, name string, port int64, commandNames []string, projectDir string) error

func (*App) UpdateProjectDirectory added in v0.15.0

func (a *App) UpdateProjectDirectory(projectName string, defaultDir string) error

func (*App) VariablePlaceholder

func (a *App) VariablePlaceholder() core.Variable

type LogEvent

type LogEvent struct {
	NewLogData string `json:"newLogData"`
}

Jump to

Keyboard shortcuts

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