Documentation ¶
Overview ¶
Package rundaemon implements rundaemon plugin and its configuration
Package rundaemon implements rundaemon plugin and its configuration
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateDaemonInput ¶
func ValidateDaemonInput(input ConfigureDaemonPluginInput) error
ValidateDaemonInput validates the input given to configure daemon
Types ¶
type ConfigureDaemonPluginInput ¶
type ConfigureDaemonPluginInput struct { contracts.PluginInput Name string `json:"name"` Action string `json:"action"` PackageLocation string `json:"packagelocation"` Command string `json:"command"` }
ConfigureDaemonPluginInput represents an action to run a package as a daemon.
type Plugin ¶
type Plugin struct { iohandler.PluginConfig // Context is the agent context for config, identity and logger Context context.T // ExeLocation is the location directory for a particular daemon ExeLocation string // Name is the name of the daemon Name string // CommandLine is the command line to launch the daemon (On Windows, ame of executable or a powershell script) CommandLine string }
Plugin is the type for the configureDaemon plugin.
Click to show internal directories.
Click to hide internal directories.