Documentation ¶
Index ¶
- type Executor
- func (e *Executor) GetBidStrategy(ctx context.Context) (bidstrategy.BidStrategy, error)
- func (e *Executor) GetVolumeSize(context.Context, model.StorageSpec) (uint64, error)
- func (e *Executor) HasStorageLocally(context.Context, model.StorageSpec) (bool, error)
- func (e *Executor) IsInstalled(ctx context.Context) (bool, error)
- func (e *Executor) Run(ctx context.Context, job model.Job, resultsDir string) (*model.RunCommandResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Executor ¶
func NewExecutor ¶
func NewExecutor( executors executor.ExecutorProvider, ) (*Executor, error)
func (*Executor) GetBidStrategy ¶ added in v0.3.24
func (e *Executor) GetBidStrategy(ctx context.Context) (bidstrategy.BidStrategy, error)
func (*Executor) GetVolumeSize ¶
func (*Executor) HasStorageLocally ¶
Click to show internal directories.
Click to hide internal directories.