Versions in this module Expand all Collapse all v0 v0.4.1 Jan 17, 2024 Changes in this version + func Action_SSHDownload(w *workflow.Workflow, m *workflow.TemplateData) error + func Action_SSHRunCMD(w *workflow.Workflow, m *workflow.TemplateData) error + func Action_SSHRunScript(w *workflow.Workflow, m *workflow.TemplateData) error + func Action_SSHRunScriptFile(w *workflow.Workflow, m *workflow.TemplateData) error + func Action_SSHUpload(w *workflow.Workflow, m *workflow.TemplateData) error + func GetSchema() workflow.SchemaEndpoint + type SSH struct + Host string + Password string + PrivateKeyFile string + User string + func CreateSSH(env string, host string, user string, password string) *SSH + func CreateSSHOptions(env string, opts ...SSHOptions) *SSH + func (m *SSH) CreateSSHClient() (*ssh_client.Client, error) + func (m *SSH) SSHDownloadFile(src string, dest string) error + func (m *SSH) SSHRunCMD(cmd string) (string, error) + func (m *SSH) SSHRunScript(script string) (string, error) + func (m *SSH) SSHRunScriptFile(script_file string) (string, error) + func (m *SSH) SSHUploadFile(src string, dest string) error + func (m *SSH) String() string + func (m *SSH) Update(opts ...SSHOptions) + type SSHOptions func(*SSH) + func OptionSSHHost(host string) SSHOptions + func OptionSSHPassword(password string) SSHOptions + func OptionSSHPrivateKeyFile(privatekeyfile string) SSHOptions + func OptionSSHUser(user string) SSHOptions + type SSHSchema struct + func (s SSHSchema) GetActionSchema() map[string]workflow.ActionSchema + func (s SSHSchema) GetFunctionMap() map[string]workflow.FunctionSchema + func (s SSHSchema) GetTargetSchema() map[string]workflow.TargetSchema