Documentation
¶
Overview ¶
Package shell is the shell probe package
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NotifyConfig ¶
type NotifyConfig struct { base.DefaultNotify `yaml:",inline"` Cmd string `yaml:"cmd" json:"cmd" jsonschema:"required,title=Command,description=the command to run"` Args []string `yaml:"args,omitempty" json:"args,omitempty" jsonschema:"title=Arguments,description=the arguments for command"` Env []string `` /* 132-byte string literal not displayed */ CleanEnv bool `` /* 184-byte string literal not displayed */ }
NotifyConfig is the config for shell notify
func (*NotifyConfig) Config ¶
func (c *NotifyConfig) Config(gConf global.NotifySettings) error
Config is the config for shell probe
func (*NotifyConfig) RunShell ¶
func (c *NotifyConfig) RunShell(title, msg string) error
RunShell is the shell for shell notify
Click to show internal directories.
Click to hide internal directories.