Documentation ¶
Index ¶
- func ExecutorIsValid(name string) bool
- func Register(name string, register Creator)
- type CommandExecutor
- type Creator
- type DockerExecutor
- type Executor
- func CreateCommandExecutor(ctx context.Context, step *dag.Step) (Executor, error)
- func CreateDockerExecutor(ctx context.Context, step *dag.Step) (Executor, error)
- func CreateExecutor(ctx context.Context, step *dag.Step) (Executor, error)
- func CreateHTTPExecutor(ctx context.Context, step *dag.Step) (Executor, error)
- func CreateJqExecutor(ctx context.Context, step *dag.Step) (Executor, error)
- func CreateMailExecutor(ctx context.Context, step *dag.Step) (Executor, error)
- func CreateSSHExecutor(ctx context.Context, step *dag.Step) (Executor, error)
- type HTTPConfig
- type HTTPExecutor
- type JqConfig
- type JqExecutor
- type MailConfig
- type MailExecutor
- type SSHConfig
- type SSHExecutor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecutorIsValid ¶
Types ¶
type CommandExecutor ¶
type CommandExecutor struct {
// contains filtered or unexported fields
}
func (*CommandExecutor) Run ¶
func (e *CommandExecutor) Run() error
func (*CommandExecutor) SetStderr ¶
func (e *CommandExecutor) SetStderr(out io.Writer)
func (*CommandExecutor) SetStdout ¶
func (e *CommandExecutor) SetStdout(out io.Writer)
type DockerExecutor ¶
type DockerExecutor struct {
// contains filtered or unexported fields
}
func (*DockerExecutor) Run ¶
func (e *DockerExecutor) Run() error
func (*DockerExecutor) SetStderr ¶
func (e *DockerExecutor) SetStderr(out io.Writer)
func (*DockerExecutor) SetStdout ¶
func (e *DockerExecutor) SetStdout(out io.Writer)
type Executor ¶
type Executor interface { SetStdout(out io.Writer) SetStderr(out io.Writer) Kill(sig os.Signal) error Run() error }
func CreateCommandExecutor ¶
func CreateDockerExecutor ¶
func CreateHTTPExecutor ¶
func CreateJqExecutor ¶
func CreateMailExecutor ¶
type HTTPConfig ¶
type HTTPExecutor ¶
type HTTPExecutor struct {
// contains filtered or unexported fields
}
func (*HTTPExecutor) Run ¶
func (e *HTTPExecutor) Run() error
func (*HTTPExecutor) SetStderr ¶
func (e *HTTPExecutor) SetStderr(out io.Writer)
func (*HTTPExecutor) SetStdout ¶
func (e *HTTPExecutor) SetStdout(out io.Writer)
type JqExecutor ¶
type JqExecutor struct {
// contains filtered or unexported fields
}
func (*JqExecutor) Run ¶
func (e *JqExecutor) Run() error
func (*JqExecutor) SetStderr ¶
func (e *JqExecutor) SetStderr(out io.Writer)
func (*JqExecutor) SetStdout ¶
func (e *JqExecutor) SetStdout(out io.Writer)
type MailConfig ¶
type MailExecutor ¶
type MailExecutor struct {
// contains filtered or unexported fields
}
func (*MailExecutor) Run ¶
func (e *MailExecutor) Run() error
func (*MailExecutor) SetStderr ¶
func (e *MailExecutor) SetStderr(out io.Writer)
func (*MailExecutor) SetStdout ¶
func (e *MailExecutor) SetStdout(out io.Writer)
type SSHExecutor ¶
type SSHExecutor struct {
// contains filtered or unexported fields
}
func (*SSHExecutor) Run ¶
func (e *SSHExecutor) Run() error
func (*SSHExecutor) SetStderr ¶
func (e *SSHExecutor) SetStderr(out io.Writer)
func (*SSHExecutor) SetStdout ¶
func (e *SSHExecutor) SetStdout(out io.Writer)
Click to show internal directories.
Click to hide internal directories.