Documentation ¶
Index ¶
- type Dialog
- func (d *Dialog) AddProjectName() (string, error)
- func (d *Dialog) AddProjectPath(path string) (string, error)
- func (d *Dialog) CallAddProjectDialog(pc ProjectConfig) error
- func (d *Dialog) DockerCliXdebugIniFilePath(defaulPath string) (string, error)
- func (d *Dialog) DockerFpmXdebugIniFilePath(defaulPath string) (string, error)
- func (d *Dialog) DockerProjectPath(defaulPath string) (string, error)
- func (d *Dialog) DockerService() (string, error)
- func (d *Dialog) DockerShell() (int, string, error)
- func (d *Dialog) SelectProject(list []string) (int, string, error)
- func (d *Dialog) SetAddProjectNameTest(f func() (string, error))
- func (d *Dialog) SetAddProjectPathTest(f func(string) (string, error))
- func (d *Dialog) SetMainContaner(cl []string) (int, string, error)
- func (d *Dialog) SetMainContanerUser() (string, error)
- func (d *Dialog) SetSelectProjectTest(f func([]string) (int, string, error))
- func (d *Dialog) StartCommand() (string, error)
- func (d *Dialog) StartDocker() (string, error)
- func (d *Dialog) XDebugConfigLocation() (int, string, error)
- type ProjectConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dialog ¶
type Dialog struct {
// contains filtered or unexported fields
}
Dialog contains methods for the iteraction with promptui
func InitDialogFunctions ¶
func InitDialogFunctions() Dialog
InitDialogFunctions initiate all methods
func (*Dialog) AddProjectName ¶
AddProjectName sets project name
func (*Dialog) AddProjectPath ¶
AddProjectPath sets project path
func (*Dialog) CallAddProjectDialog ¶
func (d *Dialog) CallAddProjectDialog(pc ProjectConfig) error
CallAddProjectDialog calls project manager
func (*Dialog) DockerCliXdebugIniFilePath ¶
DockerCliXdebugIniFilePath gets the path to xdebug cli ini file
func (*Dialog) DockerFpmXdebugIniFilePath ¶
DockerFpmXdebugIniFilePath gets the path to xdebug fpm ini file
func (*Dialog) DockerProjectPath ¶
DockerProjectPath gets the path to container
func (*Dialog) DockerService ¶
DockerService call the request dialog to define docker service
func (*Dialog) DockerShell ¶
DockerShell defines shell type of docker main container
func (*Dialog) SelectProject ¶
SelectProject call project dropdown
func (*Dialog) SetAddProjectNameTest ¶ added in v1.8.2
SetAddProjectNameTest is used only for testing
func (*Dialog) SetAddProjectPathTest ¶ added in v1.8.2
SetAddProjectPathTest is used only for testing
func (*Dialog) SetMainContaner ¶
SetMainContaner sets main container name
func (*Dialog) SetMainContanerUser ¶ added in v1.8.3
SetMainContanerUser sets main container name
func (*Dialog) SetSelectProjectTest ¶ added in v1.8.2
SetSelectProjectTest is used only for testing
func (*Dialog) StartCommand ¶
StartCommand sets start docker command
func (*Dialog) StartDocker ¶
StartDocker call the request dialog to start docker