Documentation ¶
Index ¶
- Constants
- type FileUploadStep
- func (bs *FileUploadStep) Config() interface{}
- func (bs *FileUploadStep) Create(conf []byte) (types.Step, error)
- func (bs *FileUploadStep) Desc() string
- func (bs *FileUploadStep) Exec(session *transport.Session, sudo bool) ([]byte, error)
- func (bs *FileUploadStep) GetSchema() (interface{}, error)
- func (bs *FileUploadStep) Name() string
- type JsonYamlReplaceStep
- func (bs *JsonYamlReplaceStep) Config() interface{}
- func (bs *JsonYamlReplaceStep) Create(conf []byte) (types.Step, error)
- func (bs *JsonYamlReplaceStep) Desc() string
- func (bs *JsonYamlReplaceStep) Exec(session *transport.Session, sudo bool) ([]byte, error)
- func (bs *JsonYamlReplaceStep) GetSchema() (interface{}, error)
- func (bs *JsonYamlReplaceStep) Name() string
- type MultiFileUploadStep
- func (bs *MultiFileUploadStep) Config() interface{}
- func (bs *MultiFileUploadStep) Create(conf []byte) (types.Step, error)
- func (bs *MultiFileUploadStep) Desc() string
- func (bs *MultiFileUploadStep) Exec(session *transport.Session, sudo bool) ([]byte, error)
- func (bs *MultiFileUploadStep) GetSchema() (interface{}, error)
- func (bs *MultiFileUploadStep) Name() string
- type RunCmdStep
- func (bs *RunCmdStep) Config() interface{}
- func (bs *RunCmdStep) Create(conf []byte) (types.Step, error)
- func (bs *RunCmdStep) Desc() string
- func (bs *RunCmdStep) Exec(session *transport.Session, sudo bool) ([]byte, error)
- func (bs *RunCmdStep) GetSchema() (interface{}, error)
- func (bs *RunCmdStep) Name() string
- type RunShellStep
- func (bs *RunShellStep) Config() interface{}
- func (bs *RunShellStep) Create(conf []byte) (types.Step, error)
- func (bs *RunShellStep) Desc() string
- func (bs *RunShellStep) Exec(session *transport.Session, sudo bool) ([]byte, error)
- func (bs *RunShellStep) GetSchema() (interface{}, error)
- func (bs *RunShellStep) Name() string
- type ZipFileStep
- func (bs *ZipFileStep) Config() interface{}
- func (bs *ZipFileStep) Create(conf []byte) (types.Step, error)
- func (bs *ZipFileStep) Desc() string
- func (bs *ZipFileStep) Exec(session *transport.Session, sudo bool) ([]byte, error)
- func (bs *ZipFileStep) GetSchema() (interface{}, error)
- func (bs *ZipFileStep) Name() string
Constants ¶
View Source
const ( StepNameCMD = "cmd" StepNameShell = "shell" StepNameFile = "file" StepMultiNameFile = "multi_file" StepNameZipFile = "zip" StepNameYamlJson = "json_yaml" GUIDLength = 36 CMDName = "name" CMDDesc = "desc" CMDScheme = "schema" CMDCommand = "exec" ParamClient = "--client" ParamParams = "--params" // ShellTmpPath default in ~/.oms ShellTmpPath = ".oms" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileUploadStep ¶
FileUploadStep 上传文件
func (*FileUploadStep) Config ¶ added in v0.7.6
func (bs *FileUploadStep) Config() interface{}
func (*FileUploadStep) Desc ¶
func (bs *FileUploadStep) Desc() string
func (*FileUploadStep) GetSchema ¶ added in v0.7.6
func (bs *FileUploadStep) GetSchema() (interface{}, error)
func (*FileUploadStep) Name ¶
func (bs *FileUploadStep) Name() string
type JsonYamlReplaceStep ¶
JsonYamlReplaceStep 上传多个文件
func (*JsonYamlReplaceStep) Config ¶ added in v0.7.6
func (bs *JsonYamlReplaceStep) Config() interface{}
func (*JsonYamlReplaceStep) Create ¶
func (bs *JsonYamlReplaceStep) Create(conf []byte) (types.Step, error)
func (*JsonYamlReplaceStep) Desc ¶
func (bs *JsonYamlReplaceStep) Desc() string
func (*JsonYamlReplaceStep) GetSchema ¶
func (bs *JsonYamlReplaceStep) GetSchema() (interface{}, error)
func (*JsonYamlReplaceStep) Name ¶
func (bs *JsonYamlReplaceStep) Name() string
type MultiFileUploadStep ¶
MultiFileUploadStep 上传多个文件
func (*MultiFileUploadStep) Config ¶ added in v0.7.6
func (bs *MultiFileUploadStep) Config() interface{}
func (*MultiFileUploadStep) Create ¶
func (bs *MultiFileUploadStep) Create(conf []byte) (types.Step, error)
func (*MultiFileUploadStep) Desc ¶
func (bs *MultiFileUploadStep) Desc() string
func (*MultiFileUploadStep) GetSchema ¶ added in v0.7.6
func (bs *MultiFileUploadStep) GetSchema() (interface{}, error)
func (*MultiFileUploadStep) Name ¶
func (bs *MultiFileUploadStep) Name() string
type RunCmdStep ¶
RunCmdStep 执行cmd
func (*RunCmdStep) Config ¶ added in v0.7.6
func (bs *RunCmdStep) Config() interface{}
func (*RunCmdStep) Desc ¶
func (bs *RunCmdStep) Desc() string
func (*RunCmdStep) GetSchema ¶ added in v0.7.6
func (bs *RunCmdStep) GetSchema() (interface{}, error)
func (*RunCmdStep) Name ¶
func (bs *RunCmdStep) Name() string
type RunShellStep ¶
RunShellStep 执行shell
func (*RunShellStep) Config ¶ added in v0.7.6
func (bs *RunShellStep) Config() interface{}
func (*RunShellStep) Desc ¶
func (bs *RunShellStep) Desc() string
func (*RunShellStep) GetSchema ¶ added in v0.7.6
func (bs *RunShellStep) GetSchema() (interface{}, error)
func (*RunShellStep) Name ¶
func (bs *RunShellStep) Name() string
type ZipFileStep ¶
ZipFileStep 上传压缩文件
func (*ZipFileStep) Config ¶ added in v0.7.6
func (bs *ZipFileStep) Config() interface{}
func (*ZipFileStep) Desc ¶
func (bs *ZipFileStep) Desc() string
func (*ZipFileStep) GetSchema ¶ added in v0.7.6
func (bs *ZipFileStep) GetSchema() (interface{}, error)
func (*ZipFileStep) Name ¶
func (bs *ZipFileStep) Name() string
Click to show internal directories.
Click to hide internal directories.