Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpRunner ¶
type HttpRunner struct {
// contains filtered or unexported fields
}
func (HttpRunner) Run ¶
func (r HttpRunner) Run(ctx context.Context, script []byte) (*RunResponse, error)
func (HttpRunner) WithLogger ¶
func (r HttpRunner) WithLogger(logger *zerolog.Logger) Runner
type LocalRunner ¶
type LocalRunner struct {
// contains filtered or unexported fields
}
func (LocalRunner) Run ¶
func (r LocalRunner) Run(ctx context.Context, script []byte) (*RunResponse, error)
func (LocalRunner) WithLogger ¶
func (r LocalRunner) WithLogger(logger *zerolog.Logger) Runner
type RunRequest ¶
type RunResponse ¶
type Runner ¶
type Runner interface { WithLogger(logger *zerolog.Logger) Runner Run(ctx context.Context, script []byte) (*RunResponse, error) }
func New ¶
func New(opts RunnerOpts) Runner
type RunnerOpts ¶ added in v0.22.0
Click to show internal directories.
Click to hide internal directories.