Documentation
¶
Index ¶
- Constants
- Variables
- func CmdDelayedScheduleNextJob(triggerBy string) loop.Cmd
- func CmdScheduleNextJob(triggerBy string) loop.Cmd
- func NewRequest(ctx context.Context, req *reqctx.RequestDetails, stageIndex int, ...) *pbssinternal.ProcessRangeRequest
- type DelayedMsgScheduleNextJob
- type MsgJobFailed
- type MsgJobSucceeded
- type MsgPendingShutdown
- type MsgScheduleNextJob
- type RemoteWorker
- type Result
- type RetryableErr
- type SessionWorkerPool
- type SessionWorkerPoolFactory
- type TestWorkerPool
- type Worker
- type WorkerPool
- type WorkerPoolFactory
Constants ¶
View Source
const Tier2WorkerServiceName = "t2w"
Variables ¶
View Source
var ErrConnectionRefused = errors.New("connection refused")
View Source
var ErrorResourceExhausted = errors.New("resource exhausted")
View Source
var ErrorResourceExhaustedRampUp = errors.New("resource exhausted during ramp up")
Functions ¶
func CmdDelayedScheduleNextJob ¶ added in v1.13.0
func CmdScheduleNextJob ¶ added in v1.1.9
func NewRequest ¶ added in v1.1.9
func NewRequest(ctx context.Context, req *reqctx.RequestDetails, stageIndex int, startBlock uint64, streamOutput bool) *pbssinternal.ProcessRangeRequest
Types ¶
type DelayedMsgScheduleNextJob ¶ added in v1.13.0
type MsgJobFailed ¶ added in v1.1.9
type MsgJobSucceeded ¶ added in v1.1.9
type MsgPendingShutdown ¶ added in v1.14.3
type MsgScheduleNextJob ¶ added in v1.1.9
type RemoteWorker ¶
type RemoteWorker struct {
// contains filtered or unexported fields
}
func NewRemoteWorker ¶
func NewRemoteWorker(clientFactory client.InternalClientFactory, id string, logger *zap.Logger) *RemoteWorker
func (*RemoteWorker) ID ¶ added in v0.2.0
func (w *RemoteWorker) ID() string
type RetryableErr ¶
type RetryableErr struct {
// contains filtered or unexported fields
}
func NewRetryableErr ¶ added in v1.1.1
func NewRetryableErr(cause error) *RetryableErr
func (*RetryableErr) Error ¶
func (r *RetryableErr) Error() string
func (*RetryableErr) Unwrap ¶ added in v1.14.3
func (r *RetryableErr) Unwrap() error
type SessionWorkerPool ¶ added in v1.16.5
type SessionWorkerPool struct {
// contains filtered or unexported fields
}
func NewSessionWorkerPool ¶ added in v1.16.5
func NewSessionWorkerPool( ctx context.Context, sessionKey string, sessionPool dsession.SessionPool, clientFactory client.InternalClientFactory, ) *SessionWorkerPool
type SessionWorkerPoolFactory ¶ added in v1.16.5
type SessionWorkerPoolFactory struct {
// contains filtered or unexported fields
}
func NewSessionWorkerPoolFactory ¶ added in v1.16.5
func NewSessionWorkerPoolFactory(sessionPool dsession.SessionPool, clientFactory client.InternalClientFactory) *SessionWorkerPoolFactory
func (*SessionWorkerPoolFactory) WorkerPool ¶ added in v1.16.5
func (f *SessionWorkerPoolFactory) WorkerPool(ctx context.Context) WorkerPool
type TestWorkerPool ¶ added in v1.13.0
type TestWorkerPool struct {
// contains filtered or unexported fields
}
func NewTestWorkerPool ¶ added in v1.13.0
func (*TestWorkerPool) Borrow ¶ added in v1.13.0
func (t *TestWorkerPool) Borrow(ctx context.Context) (Worker, error)
func (*TestWorkerPool) RampingUp ¶ added in v1.13.0
func (t *TestWorkerPool) RampingUp() bool
type WorkerPool ¶
type WorkerPoolFactory ¶ added in v1.13.0
type WorkerPoolFactory func(ctx context.Context) WorkerPool
Click to show internal directories.
Click to hide internal directories.