Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Executor ¶
type Executor struct {
// contains filtered or unexported fields
}
func Execute ¶
func Execute(opts ...ExecutorOption) (executor *Executor, err error)
func ExecuteContext ¶
func ExecuteContext(ctx context.Context, opts ...ExecutorOption) (executor *Executor, err error)
func (*Executor) PrintExecutorInfo ¶
func (e *Executor) PrintExecutorInfo()
func (*Executor) PrintExecutorOptions ¶
func (e *Executor) PrintExecutorOptions()
type ExecutorOption ¶
type ExecutorOption interface {
// contains filtered or unexported methods
}
执行器配置接口
func WithAction ¶
func WithAction(a string) ExecutorOption
func WithTimeout ¶
func WithTimeout(t time.Duration) ExecutorOption
type Identifier ¶
Click to show internal directories.
Click to hide internal directories.