Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Action_ScpDownload ¶
func Action_ScpDownload(w *workflow.Workflow, m *workflow.TemplateData) error
func Action_ScpUpload ¶
func Action_ScpUpload(w *workflow.Workflow, m *workflow.TemplateData) error
func GetSchema ¶
func GetSchema() workflow.SchemaEndpoint
GetAction returns the action for the target
Types ¶
type SCP ¶
type SCP struct { Host string `json:"host" yaml:"host" flag:"host h" desc:"SCP host"` User string `json:"user" yaml:"user" flag:"user u" desc:"User for SCP"` Password string `json:"password" yaml:"password" flag:"password p" desc:"Password for SCP"` }
func CreateSCPOptions ¶
func CreateSCPOptions(env string, opts ...SCPOptions) *SCP
func (*SCP) Update ¶
func (m *SCP) Update(opts ...SCPOptions)
type SCPOptions ¶
type SCPOptions func(*SCP)
func OptionSCPHost ¶
func OptionSCPHost(host string) SCPOptions
func OptionSCPPassword ¶
func OptionSCPPassword(password string) SCPOptions
func OptionSCPUser ¶
func OptionSCPUser(user string) SCPOptions
type ScpSchema ¶
type ScpSchema struct { }
func (ScpSchema) GetActionSchema ¶
func (s ScpSchema) GetActionSchema() map[string]workflow.ActionSchema
GetActions returns the actions for this schema
func (ScpSchema) GetFunctionMap ¶
func (s ScpSchema) GetFunctionMap() map[string]workflow.FunctionSchema
GetFunctionMap returns the function map for this schema
func (ScpSchema) GetTargetSchema ¶
func (s ScpSchema) GetTargetSchema() map[string]workflow.TargetSchema
GetTargetSchema returns the target schema for this action
Click to show internal directories.
Click to hide internal directories.