Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
The Plugins map contain all the registered plugins, whoses names must be the same as the ones used in the deployment file.
Functions ¶
func InitPlugins ¶
func InitPlugins()
Load all the plugins in ./plugins (relative to the current executable directory)
Types ¶
type Plugin ¶
type Plugin interface {
Execute(ctx *deployment.JobContext, data any) (string, error)
}
The Plugin interface define one method, which execute the content of the associated content in the deployment file. It return the command stdout output.
Click to show internal directories.
Click to hide internal directories.