Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Worker ¶
type Worker struct {
// contains filtered or unexported fields
}
Worker is an executor worker handling many runtimes.
func New ¶
func New( commonWorker *workerCommon.Worker, registration *registration.Worker, ) (*Worker, error)
New creates a new executor worker.
func (*Worker) Cleanup ¶
func (w *Worker) Cleanup()
Cleanup performs the service specific post-termination cleanup.
func (*Worker) GetRuntime ¶
GetRuntime returns a registered runtime.
In case the runtime with the specified id was not registered it returns nil.
func (*Worker) Initialized ¶
func (w *Worker) Initialized() <-chan struct{}
Initialized returns a channel that will be closed when the executor worker is initialized and ready to service requests.
Click to show internal directories.
Click to hide internal directories.