Documentation ¶
Index ¶
- type BaseEndpoint
- func (e *BaseEndpoint) OnBidComplete(ctx context.Context, response compute.BidResult)
- func (e *BaseEndpoint) OnCancelComplete(ctx context.Context, result compute.CancelResult)
- func (e *BaseEndpoint) OnComputeFailure(ctx context.Context, result compute.ComputeError)
- func (e *BaseEndpoint) OnRunComplete(ctx context.Context, result compute.RunResult)
- type BaseEndpointParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseEndpoint ¶
type BaseEndpoint struct {
// contains filtered or unexported fields
}
BaseEndpoint base implementation of requester Endpoint
func NewBaseEndpoint ¶
func NewBaseEndpoint(params *BaseEndpointParams) *BaseEndpoint
func (*BaseEndpoint) OnBidComplete ¶ added in v1.0.4
func (e *BaseEndpoint) OnBidComplete(ctx context.Context, response compute.BidResult)
OnBidComplete implements compute.Callback
func (*BaseEndpoint) OnCancelComplete ¶ added in v1.0.4
func (e *BaseEndpoint) OnCancelComplete(ctx context.Context, result compute.CancelResult)
func (*BaseEndpoint) OnComputeFailure ¶ added in v1.0.4
func (e *BaseEndpoint) OnComputeFailure(ctx context.Context, result compute.ComputeError)
func (*BaseEndpoint) OnRunComplete ¶ added in v1.0.4
func (e *BaseEndpoint) OnRunComplete(ctx context.Context, result compute.RunResult)
type BaseEndpointParams ¶
type BaseEndpointParams struct { ID string Store jobstore.Store EventEmitter orchestrator.EventEmitter }
Click to show internal directories.
Click to hide internal directories.