Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*Options)
Option is the functional option func.
func WithRestartInterval ¶
WithRestartInterval sets the interval between restarts of the failed task.
type Options ¶
type Options struct { // Type describes the service's restart policy. Type Type // RestartInterval is the interval between restarts for failed runs. RestartInterval time.Duration }
Options is the functional options struct.
func DefaultOptions ¶
func DefaultOptions() *Options
DefaultOptions describes the default options to a runner.
Click to show internal directories.
Click to hide internal directories.