Documentation ¶
Index ¶
Constants ¶
View Source
const NAME = "process"
Name of Mode
Variables ¶
View Source
var PROCESS_SUGGESTIONS = []prompt.Suggest{ {Text: process_commands.START, Description: "Start a process and manage its lifetime."}, {Text: process_commands.STOP, Description: "Stop a managed process."}, {Text: process_commands.RESTART, Description: "Restart a managed process."}, {Text: process_commands.LIST, Description: "List running processes."}, {Text: process_commands.VERSION, Description: "Show version of each component."}, {Text: process_commands.UTIL, Description: "Utility commands"}, {Text: modes.RETURN_TO_ROOT, Description: "Return to home menu"}, {Text: modes.EXIT_CMD, Description: "Exit mcli"}, }
Mode suggestions
View Source
var PROCESS_UTIL_SUGGESTIONS = []prompt.Suggest{
{Text: process_commands.RESET, Description: "Back up user credentials and clean up all the files of gmeth, marconid and middleware."},
}
Mode suggestions
Functions ¶
This section is empty.
Types ¶
type ProcessMode ¶
Menu/Mode for process operations
func NewProcessMode ¶
func NewProcessMode(c *context.Context) *ProcessMode
Create a new process cmd struct, use this to create a ProcessMode otherwise suggestion and handlers wont be properly initialized
func (*ProcessMode) CliPrefix ¶
func (pm *ProcessMode) CliPrefix() (string, bool)
func (*ProcessMode) HandleCommand ¶
func (pm *ProcessMode) HandleCommand(args []string)
func (*ProcessMode) Name ¶
func (pm *ProcessMode) Name() string
Click to show internal directories.
Click to hide internal directories.