Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PM2RestartStep ¶
type PM2RestartStep struct {
ProcessName string
}
PM2RestartStep restarts a process managed by PM2.
func (*PM2RestartStep) Name ¶
func (s *PM2RestartStep) Name() string
func (*PM2RestartStep) Run ¶
func (s *PM2RestartStep) Run( context deploycontext.DeploymentContext, ) error
type PM2SaveStep ¶
type PM2SaveStep struct{}
PM2SaveStep saves the current PM2 process list for reboot persistence.
func (*PM2SaveStep) Name ¶
func (s *PM2SaveStep) Name() string
func (*PM2SaveStep) Run ¶
func (s *PM2SaveStep) Run( context deploycontext.DeploymentContext, ) error
type PM2StartOrRestartStep ¶
type PM2StartOrRestartStep struct {
ProcessName string
StartCommand string
Arguments []string
DirectoryPath string
}
PM2StartOrRestartStep restarts an existing PM2 process or starts it if it does not exist yet.
func (*PM2StartOrRestartStep) Name ¶
func (s *PM2StartOrRestartStep) Name() string
func (*PM2StartOrRestartStep) Run ¶
func (s *PM2StartOrRestartStep) Run( context deploycontext.DeploymentContext, ) error
type PM2StatusStep ¶
type PM2StatusStep struct {
ProcessName string
}
PM2StatusStep checks whether a PM2 process exists and is visible to PM2.
func (*PM2StatusStep) Name ¶
func (s *PM2StatusStep) Name() string
func (*PM2StatusStep) Run ¶
func (s *PM2StatusStep) Run( context deploycontext.DeploymentContext, ) error
Click to show internal directories.
Click to hide internal directories.